Skip to main content
TestrHub home
Menu

UUID Generator

Generate UUIDs (v4 and v7) one at a time or by the thousand, formatted as you need, and read any UUID: version and creation date. In your browser.

Runs in your browser. Nothing is uploaded.

Entirely random: the usual choice.

Your new UUID

Made in your browser with its cryptographic random generator: nothing is sent or saved.

Read a UUID

Paste a UUID to see its version and, when it has one, the date it was made.

What a UUID is

A UUID (universally unique identifier) is a 128-bit number used to name things, such as database rows, files or orders, without asking a central register. Microsoft calls it a GUID: it is the same thing.

Can two UUIDs be the same?

Version 4 has 122 random bits. To have a one-in-a-billion chance of a single duplicate, you would need to make about 100 trillion UUIDs: a billion every second for more than a day. Even then, the chance is far smaller than winning a lottery jackpot.

Results

What a UUID is

A UUID, for universally unique identifier, is a 128-bit number written as 32 hexadecimal digits, such as 3f2b8c1e-9d4a-4f6b-8e2c-7a1d5b9c0e3f. Programs use UUIDs to name things, such as database rows, files, orders or devices, without a central register: anyone can make one, and it will not clash with anyone else’s. Microsoft calls them GUIDs; they are the same thing.

This generator makes UUIDs in your browser, one or a thousand at a time, and reads any UUID you paste. Nothing is sent or kept.

The UUID generator making five version 7 UUIDs, listed in order, with the New, Copy all and Download buttons and the format options, and below it the reader showing that the first one is a valid version 7 UUID made on 7 November 2026.

On the screenshot, with UUIDs made just for it:

  1. The version: here 7, which sorts by time.
  2. The new UUIDs, here five at once.
  3. The formats: uppercase, hyphens, braces, quotes for code.
  4. The reader: version, variant and the date the UUID was made.

Version 4 or version 7?

  • Version 4 is entirely random, apart from a few bits that mark the version. It reveals nothing and is the usual choice.
  • Version 7 starts with the date and time it was made, in milliseconds, followed by random bits. UUIDs made later sort after earlier ones, which keeps database indexes compact and fast. It is the version now recommended for database keys. Its creation time can be read back, so do not use it where that time should stay private.
  • The nil UUID, all zeros, stands for “no value” in tests and defaults.

Formats

  • Uppercase: some systems, such as older Microsoft tools, show GUIDs in capitals. UUIDs are not case-sensitive.
  • Without hyphens: 32 digits in a row, as some databases store them.
  • Braces: {...}, the way Windows and .NET often write GUIDs.
  • Quotes and commas: a list ready to paste into code or a SQL query.

Reading a UUID

Paste any UUID or GUID in the reader. It tells whether it is valid, its version and its variant, and, for versions 1, 6 and 7, the date and time it was made. Version 1 UUIDs also once contained the network card address of the computer that made them, which is why version 4 replaced them for most uses.

Can two UUIDs be the same?

In theory, yes; in practice, no. A version 4 UUID has 122 random bits. To reach a one-in-a-billion chance of a single duplicate, you would need about 100 trillion UUIDs, which is a billion every second for more than a day. The randomness comes from your browser’s cryptographic generator, the one that protects secure connections, so the UUIDs cannot be predicted either.

Frequently asked questions

Are these UUIDs safe to use as secrets?

A version 4 UUID is unpredictable, but it is not designed as a password or a key: use a password generator or a proper token for secrets. Never use version 7 as a secret, since part of it is the time.

What is the difference between UUID and GUID?

None in practice: GUID is Microsoft’s name for the same 128-bit identifier.

Is anything sent or stored?

No. The UUIDs are made in your browser and forgotten when you close the page.

Last updated: November 7, 2026

Guides about this test