UUID / GUID Generator

The generated UUIDs will appear here...

How to use the UUID / GUID Generator

Generate random version 4 UUIDs (also called GUIDs) for database keys, test data and identifiers. They are created in your browser with the secure Web Crypto API, and nothing is sent to a server.

Step by step

  1. Enter the quantity, which is how many UUIDs you want.
  2. Choose the format: tick Uppercase for capital letters, keep Hyphens (-) ticked for the standard 8-4-4-4-12 layout (untick it to remove the dashes), and tick Braces ({}) to wrap each UUID in curly braces.
  3. Click Generate. The UUIDs appear in a list.
  4. Click Copy next to a single UUID, or Copy All to copy the whole list. Click Clear to start over.

Tips

  • You can generate up to 1,000 UUIDs at a time.
  • Version 4 UUIDs are random, so the chance of getting the same value twice is extremely small.
  • Different systems expect different formats. For example, some Microsoft tools use uppercase UUIDs wrapped in braces, while most databases use lowercase with hyphens.

Good to know

A UUID is a 128-bit identifier written as 32 hexadecimal digits in the pattern 8-4-4-4-12. Version 4 UUIDs are random apart from six bits that mark the version and variant, which leaves 122 random bits.

Because of those random bits, you can create UUIDs on many machines at the same time with no central coordination and still be practically certain that they will not collide.

When to use it

  • Creating test data and sample records.
  • Generating identifiers for database rows, files or requests.
  • Producing GUIDs in the format a Microsoft tool expects (uppercase, in braces).

Example: A version 4 UUID in the common lowercase format

Input

Quantity: 1

Result

3f2504e0-4f89-41d3-9a0c-0305e82c3301
(the "4" at the start of the third group marks version 4)

Common mistakes

  • Using a UUID as a password or secret. It is an identifier, not a secret.
  • Storing a UUID primary key as a 36-character string when your database has a compact UUID or 16-byte binary type.
  • Assuming that random UUIDs sort by creation time. They do not. Version 7 does.

Frequently asked questions

Which UUID version does it create?
Version 4 (random) UUIDs, generated with the browser built-in crypto.randomUUID() function.
Can two generated UUIDs be the same?
In practice no. A version 4 UUID has 122 random bits, so the chance of two matching values is extremely small.
How many UUIDs can I generate at once?
Up to 1,000. You can show them in uppercase, without hyphens, or wrapped in curly braces.
What is the difference between a UUID and a GUID?
They are the same 128-bit identifier. GUID is the name used by Microsoft. Only the way it is written differs, for example uppercase letters or curly braces.
Can I use a UUID as a password or secret?
No. A UUID is an identifier, not a secret. Use the Password Generator for passwords.

Related searches: generate multiple uuids at once online · uuid generator without hyphens · bulk uuid generator · uuid with braces

Tìm kiếm liên quan: tạo nhiều uuid cùng lúc online · tạo uuid không có dấu gạch ngang · công cụ tạo guid ngẫu nhiên · tạo uuid viết hoa