UUID Generator

Generate one UUID or up to 10,000 at once. Version 4 is fully random; version 7 starts with a millisecond timestamp so the values sort in the order they were created, which suits database keys. The values come from your browserโ€™s cryptographically secure random generator and are created on your device. Nothing is uploaded.

Processed locally in your browser. Your data is not uploaded to our servers.

UUID version

Best when you want identifiers that reveal nothing about when they were made.

A whole number from 1 to 10,000.

SettingsDefault settings

Style

Result

Generated UUIDs

Examples

What the two versions look like. These are examples only; use the generator above for real values.

VersionExampleStructure
Version 4f47ac10b-58cc-4372-a567-0e02b2c3d479122 random bits, plus 6 fixed bits that mark the version and variant.
Version 7018f3b4e-7c1a-7d3f-9a2b-5c6d7e8f9a0bA 48-bit Unix timestamp in milliseconds, then 74 bits of random data (partly a counter inside the same millisecond).

Formula & Methodology

A UUID is 128 bits written as 32 hexadecimal digits in five groups (8-4-4-4-12). Two digits are fixed by the standard (RFC 9562): the first digit of the third group is the version (4 or 7) and the first digit of the fourth group is the variant, always 8, 9, a or b.

xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx (v4)tttttttt-tttt-7xxx-yxxx-xxxxxxxxxxxx (v7)

For version 7 the first 12 hexadecimal digits are the timestamp, so sorting the text sorts by time. Within one batch, values created in the same millisecond are made to increase, so a batch is always in order.

Notes and limitations

  • Randomness comes only from the browserโ€™s secure generator (crypto.getRandomValues). If it is missing, the tool refuses to generate instead of using a weaker source.
  • A UUID is an identifier, not a secret. Do not use one as a password, API key or session token on its own; version 7 also reveals when it was created.
  • The chance of two random version 4 UUIDs colliding is negligible, but no tool can guarantee uniqueness across systems that you do not control.
  • Version 7 order is guaranteed within one batch from this page. Values made in different batches or on different devices are ordered by their timestamps, which depend on each deviceโ€™s clock.
  • Up to 10,000 values are generated at a time. UUID and GUID are the same format; some systems display GUIDs in uppercase or with braces, which the style options provide.

How to Use

  1. Choose version 4 for random identifiers or version 7 for time-ordered ones.
  2. Enter how many UUIDs you need, from 1 to 10,000.
  3. Choose the style: uppercase, with or without hyphens, with or without braces.
  4. Choose how the list is laid out: one per line, comma-separated, a JSON array or CSV.
  5. Copy the list or download it as a file. Use Generate new UUIDs for a fresh set.

Frequently Asked Questions

What is the difference between UUID v4 and v7?

Version 4 is made almost entirely of random bits. Version 7 begins with the current time in milliseconds followed by random bits, so newer values sort after older ones. That makes version 7 friendlier to database indexes, while version 4 reveals nothing about its creation time.

Are these UUIDs really random and unique?

The random bits come from your browserโ€™s cryptographically secure generator. With 122 random bits in a version 4 UUID, the chance of two matching values is vanishingly small in practice. Uniqueness is statistical, not guaranteed.

Can I use a UUID as a password or secret token?

No. A UUID is meant to identify something, not to keep it secret. For secrets use the Password Generator or a dedicated token function on your server. A version 7 UUID even contains its creation time.

Are the UUIDs generated on a server?

No. They are generated in your browser, on your device, and are never uploaded, stored or sent to analytics.

Is a GUID the same as a UUID?

Yes. GUID is the name Microsoft technologies use for the same 128-bit format. Some of them show it in uppercase or inside braces, which you can choose in the style options.

Last updated: