Yuzool

Dev Tools

UUID generator

Make one UUID or a thousand: random v4, time-ordered v7, ULID or NanoID, in upper or lower case, with or without hyphens. Paste a UUID to see its version and, for v1 and v7, when it was made.

Which kind to use

KindLooks likeGood for
UUID v43151cf9a-9957-4a83-9bc5-003ac0080e04the default: 122 random bits
UUID v7019b76da-a800-7657-9e02-912618f01a95database keys: they sort by time, which keeps indexes fast
ULID01KDVDNA00C2P7QJSF3ZT1EVMRlike v7, in 26 letters and digits
NanoIDfk1mQX3LmsA1G6igcj_2_short ids in URLs

The examples above were made when this page was built; the generator makes new ones every time. v7 and ULID start with the time in milliseconds, so ids made later sort after earlier ones.

Will two ever clash?

Not in practice. A v4 UUID has 2¹²² possible values: you would need to make about a billion a second for 85 years before a clash became as likely as not. They come from your browser’s cryptographic random generator.

How to use it

  1. Pick the kind and how many.
  2. Press Generate, then copy one or all, or download them.
  3. To read an existing one, paste it under Read a UUID or ULID.

Questions

What is the difference between a UUID and a GUID?

Nothing important: GUID is Microsoft’s name for a UUID. They have the same format.

Is UUID v7 better than v4?

For database primary keys, usually: v7 ids are made in time order, so new rows go to the end of the index. For tokens that shouldn’t reveal when they were made, use v4.

Are these really random?

Yes. They use crypto.getRandomValues, the browser’s cryptographic random source, and are made on your device.

Related tools

Open all 35 Dev Tools. Everything runs in your browser; nothing you paste is uploaded.

Settings

History

Snippet