UUID Generator

Create random version 4 UUIDs or time-ordered version 7 UUIDs, one at a time or up to 1,000 at once. Pick uppercase, remove hyphens or wrap each ID in braces, then copy or download the list. Paste any UUID below to check its version, variant and, for v7, the time it was made. Everything is generated in your browser with its secure random number generator.

UUID version
Between 1 and 1,000.
Your UUIDs

  
Hyphens, braces, uppercase and a urn:uuid: prefix are all accepted.

Runs entirely in your browser. Nothing you enter is uploaded or stored.

Rate this tool

Be the first to rate this tool

How to use the UUID Generator

  1. Choose version 4 for fully random IDs or version 7 for IDs that sort by creation time.
  2. Enter how many UUIDs you need, from 1 to 1,000.
  3. Tick uppercase, no hyphens or braces if your system expects that format, then press Generate.
  4. Copy all the IDs or download them as a .txt file, one per line.
  5. To check an existing ID, paste it into Inspect a UUID to see its version, variant and timestamp.

What a UUID is

A UUID, or universally unique identifier, is a 128-bit value written as 32 hexadecimal digits in five groups, like 3f2b8c1e-9d4a-4f6b-a1c2-7e5d9b0a8f13. Microsoft calls the same thing a GUID. The point of a UUID is that anyone can create one without asking a central server, and the chance of two people ever producing the same value is so small that it can be ignored in practice. That makes UUIDs popular as database keys, file names, request IDs and anything else that needs a label that will not collide.

The format is defined in RFC 9562, which replaced the older RFC 4122 in 2024. One hex digit in the third group tells you the version, and the first digit of the fourth group holds the variant. In a standard UUID that variant digit is always 8, 9, a or b.

Version 4 or version 7?

Version 4 is 122 bits of randomness plus the fixed version and variant bits. It reveals nothing about when or where it was made, which is ideal for tokens, public IDs and anything where guessability matters. This tool uses your browser's crypto.randomUUID() when it is available and falls back to crypto.getRandomValues(), both of which are cryptographically secure.

Version 7 starts with a 48-bit Unix timestamp in milliseconds, followed by random bits. Because the time comes first, v7 IDs sort in the order they were created. Databases love that: new rows land at the end of an index instead of at random spots, which keeps inserts fast. When you generate many v7 IDs within the same millisecond, this tool increments a counter inside the random section so the list still sorts correctly. The trade-off is that anyone holding a v7 ID can read the moment it was created, so avoid it where that would leak information.

Formatting options

  • Uppercase: some Windows tools and older systems display GUIDs in capitals. UUIDs are case-insensitive, so both forms are the same value.
  • No hyphens: a compact 32-character form used in URLs, file names and some databases.
  • Braces: the registry and .NET style, such as {3F2B8C1E-9D4A-4F6B-A1C2-7E5D9B0A8F13}.

The download contains one UUID per line, ready to paste into a spreadsheet, a seed script or a test fixture.

Inspecting a UUID

Paste any UUID into the inspector to confirm it is well formed and see what kind it is. It reports the version, the variant, and for time-based versions (1, 6 and 7) the date and time embedded in the ID. It also recognizes the special nil UUID of all zeros and the max UUID of all f's. If something is wrong, such as a missing digit or a letter outside 0–9 and a–f, it tells you exactly what to fix.

Need other random values? The password generator creates strong passwords, and the Base64 encoder is handy when an ID has to travel inside a URL or token. Turning a v7 timestamp into a full date breakdown is easy with the Unix timestamp converter.

Examples

  • Version 4: 9b2e4f71-3c8d-4a5e-b6f0-12d4c7e8a9b3 (the 4 in the third group marks the version)
  • Version 7: 0192e3a4-7b1c-7cde-8f12-3456789abcde (the first 12 digits are a millisecond timestamp)
  • No hyphens: 9b2e4f713c8d4a5eb6f012d4c7e8a9b3
  • Braces, uppercase: {9B2E4F71-3C8D-4A5E-B6F0-12D4C7E8A9B3}

UUID Generator FAQ

Can two UUIDs ever be the same?

In theory yes, in practice no. A version 4 UUID has 122 random bits, so you would need to generate billions of IDs per second for many years before a duplicate became likely.

Is a GUID the same as a UUID?

Yes. GUID is Microsoft’s name for the same 128-bit format. GUIDs are often shown in uppercase with braces, which you can switch on here.

Should I use v4 or v7 for database keys?

Version 7 is usually the better choice for primary keys because it sorts by creation time and keeps indexes compact. Use v4 when the ID is public and should not reveal when it was created.

Are these UUIDs secure enough for tokens?

Version 4 IDs come from your browser’s cryptographically secure random generator. For secrets such as password reset links, a long random token is still the safer pattern, but v4 UUIDs are not predictable.

Are the UUIDs sent or stored anywhere?

No. They are generated in your browser and never leave your device.

Related tools

All Generators
Password GeneratorCreate strong random passwords with custom length and symbols.QR Code GeneratorMake free QR codes for links, text and Wi-Fi that never expire.Barcode GeneratorCreate Code 39 and EAN-13 barcodes with correct check digits and download a PNG.Dice RollerRoll 1 to 10 virtual dice (d4 to d100) with a modifier, fair random results and a history of your last rolls.Invoice GeneratorFill in your details and items, preview the invoice live and download a clean PDF.Lorem Ipsum GeneratorGenerate lorem ipsum placeholder text by paragraphs, sentences or words, as plain text or HTML.Meme GeneratorAdd top and bottom text to any photo and download your meme as a PNG.Random Letter GeneratorGenerate 1 to 100 random letters from A to Z, in uppercase, lowercase or both, with vowel, consonant, exclude and no-repeat options.Random Name PickerPaste a list of names and pick one or more random winners, shuffle the list or split it into teams.Resume BuilderBuild a clean, professional resume from a simple form and download it as a PDF.Text to Handwriting ConverterTurn typed text into a natural-looking handwritten page on lined or plain paper and download it as PNG.UTM Link BuilderCreate clean, properly encoded UTM campaign tracking URLs for analytics.YouTube Timestamp Link GeneratorCreate YouTube links that start at an exact second and format video chapters.Fancy Text GeneratorCreate stylish Unicode fonts to copy and paste anywhere.LCM CalculatorFind the least common multiple of two or more whole numbers, with prime factorization, listing multiples and the GCF formula.