๐Ÿ’ป Developer Tools

UUID Generator

Generate up to 100 UUID v4, ULID and NanoID values at once. Uppercase and no-hyphen formats available. Handy for test data and unique keys. No sign-up needed โ€” everything runs in your browser.

Examples (click to try)

Generation happens entirely in your browser. UUIDs never leave your device.

How to Use the UUID Generator

New here? Start by clicking one of the "Examples (click to try)" chips ("1", "10", "Uppercase", "No hyphens"). The setting is applied and UUIDs are generated on the spot. Once you're comfortable, set a count between 1 and 100, then click "Generate". Each UUID appears on its own line โ€” hit "Copy all" to grab the whole list at once.

Worked example: with count 1, uppercase off, and hyphens on, generating produces one value like 3f2a9c84-1b6d-4e57-9a0f-2c8e7d4b1a90 โ€” the 8-4-4-4-12 shape (hexadecimal groups separated by hyphens). Paste it straight into a database primary key (e.g. the id column of a users table) to get a collision-free unique key without relying on auto-increment numbers.

  • Uppercase: When checked, the alphabetic characters in the UUID are output in uppercase (Aโ€“F).
  • No hyphens: When checked, hyphens are removed and the UUID is output as a 32-character hexadecimal string.
  • Copy all: Copies all generated UUIDs to your clipboard, separated by newlines.

Common Use Cases

  • Assigning unique IDs to database records
  • Quickly generating test data for APIs or front-end development
  • Creating collision-free identifiers for file names or entity keys

ULID and NanoID, too

Switch the "ID format" to generate ULID (IDs that sort in creation-time order) and NanoID (short, URL-safe IDs) as well as UUID. The count carries over, and NanoID lets you set the length (1โ€“64).

  • ULID โ†’ 01HZ8K3M9P0QFR7S5T2V4W6X8Y (first 10 chars are the timestamp, the rest is random; 26 chars, Crockford Base32)
  • NanoID (21 chars) โ†’ V1StGXR8_Z5jdHi6B-myT (collision resistance close to UUID v4)
  • NanoID (10 chars) โ†’ IRFa-VaY2b (for short URLs or display)
  • Several ULIDs in the same millisecond โ†’ sort in creation order (monotonic)

Frequently Asked Questions

Is my data or the generated IDs sent to a server?
No. All UUID, ULID and NanoID generation happens entirely within your browser. The results are never sent to or stored on any server. You can use this tool with complete confidence.
Are the generated UUIDs truly random?
Yes. The tool uses the browser's built-in cryptographic random API (crypto.randomUUID or crypto.getRandomValues), which produces high-quality, unpredictable randomness for UUID v4 generation. The results are safe to use as test data or unique keys.
What is the UUID v4 specification?
UUID v4 is a 128-bit random identifier defined by RFC 4122. It is formatted as five groups of hexadecimal digits separated by hyphens (e.g. xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx), where the version bits (4) and variant bits (8/9/a/b) are fixed. In practice it is widely used as a collision-resistant unique identifier.
ULID vs NanoID?
A ULID encodes a millisecond timestamp in its first 48 bits, so the strings sort in creation-time order on their own (26 chars, Crockford Base32). A NanoID carries no time information; it is a short random ID with a configurable length of 1-64, built from URL- and filename-safe characters (A-Za-z0-9_-).
Do ULIDs stay ordered within the same millisecond?
Yes. When several are created in the same millisecond, the random part is incremented by one (monotonic), so creation order matches ascending string order. The sequence holds even when the timestamp is identical.
How long should a NanoID be?
The default 21 characters gives collision resistance close to UUID v4 and is enough for most uses. Shorten to about 10-12 for short URLs or display, and go longer for large batches where collisions must be avoided. The shorter the ID, the higher the collision probability.