Skip to content
Tools

UUID & ULID Generator

Generate random UUID v4 and sortable ULID identifiers in bulk.

Local

What this tool does

This tool generates unique identifiers in your browser: random UUID version 4 values, or sortable ULID values. Choose how many you need and copy or download the list. The randomness comes from the browser Web Crypto generator, the same source used for keys and tokens.

UUID v4

A UUID v4 is a 128-bit identifier with 122 random bits, written as 32 hexadecimal digits in five dash-separated groups. The odds of two colliding are negligible, so you can generate them independently in different services without coordinating. They do not encode any time or order.

ULID

A ULID packs a 48-bit millisecond timestamp followed by 80 random bits into 26 Crockford base32 characters. Because the timestamp comes first, ULIDs sort in creation order as plain strings. That makes them useful as database keys when you want rows to sort chronologically without a separate timestamp column.

Common use cases

  • Primary keys and correlation ids for records and requests.
  • Idempotency keys for API calls.
  • Unique names for test fixtures and uploaded files.

Frequently asked questions

Are the IDs cryptographically random?
Yes. They use the browser Web Crypto random generator, the same source used for keys and tokens.
When would I use a ULID over a UUID?
A ULID starts with a timestamp, so ULIDs sort in creation order as plain text. That is handy for keys you want to sort chronologically.

Learning resources

Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.

Feedback welcome

Found a bug in this tool, or want it to do something it does not? Tell us and we will take a look.