Generators
UUID / GUID Generator
Generate UUID v4 (random) and v7 (time-ordered) IDs, ULIDs and NanoIDs in bulk — uppercase, without hyphens or in braces.
How to use
- 1Choose the ID type and how many you need.
- 2Press Generate and copy them all at once.
Frequently asked questions
UUID v4 or v7?
v4 is fully random. v7 (RFC 9562) starts with a timestamp, so IDs sort by creation time — much better for database primary keys and indexes.
Can two UUIDs ever collide?
In theory, but v4 has 122 random bits: you'd need to generate about a billion per second for 85 years for a 50% chance of one duplicate.
What are ULID and NanoID?
ULID is a 26-character, time-sortable ID in Crockford Base32. NanoID is a compact 21-character URL-safe random ID with similar collision resistance to UUID v4.
v4 vs v7: random bits vs a timestamp prefix
UUID v4 fills all 16 bytes with random data except for 6 fixed version/variant bits, giving 122 bits of randomness — that's the classic, fully unpredictable UUID. UUID v7 instead writes the current Unix millisecond timestamp into the first 6 bytes before randomizing the rest, so IDs generated later always sort after IDs generated earlier when compared as plain strings. That ordering property is why v7 (standardized as part of RFC 9562) is increasingly preferred for database primary keys: inserting time-ordered IDs keeps a B-tree index from fragmenting the way random v4 keys do, which matters for write-heavy tables.
ULID and NanoID solve the same problem differently
ULID encodes the same idea as UUID v7 — a sortable timestamp prefix plus randomness — but in Crockford Base32 instead of hex, producing a 26-character string with no hyphens and no ambiguous characters (no I, L, O, U), which makes it easier to read aloud or transcribe by hand than a UUID. NanoID drops the timestamp idea entirely and instead optimizes for a short, URL-safe, random string — 21 characters from a 64-character alphabet by default — intended as a compact alternative to UUID v4 for things like short links, where every character counts.
How real is the collision risk
For UUID v4's 122 random bits, the generator itself notes the birthday-paradox math: you'd need roughly a billion generations per second for 85 years to reach a 50% chance of one collision — in practice, not a real concern for a single application's ID space. NanoID's 21-character default alphabet has a comparable collision resistance to UUID v4 for most practical generation volumes, per the NanoID project's own published collision calculations.
Worked example: UUID / GUID Generator
Generating a UUID v7 at this exact moment produces something like `0199d4a2-5e10-73f4-8a21-6c0b4e9f21ab` — the first 12 hex characters (`0199d4a25e10`) are literally the millisecond timestamp, so two v7 IDs generated a second apart will differ predictably in that prefix and sort correctly if you just string-sort them. Compare that to a v4 UUID like `3f29a9c4-7b61-4a3d-9c2e-88f1d6a0b7e3`, where every character after the fixed version digit ('4') and variant digit ('9', 'a', 'b', or '8') is unrelated to when it was created.
Uppercase, hyphens, and braces do not apply to every type
How many starts at 5 and is kept between 1 and 1,000. Uppercase, remove hyphens, and wrap in braces only change UUID version 4 and version 7. A ULID ignores all three: it stays a 26-character string in its own alphabet, already without hyphens. A NanoID is 21 characters and can be uppercased, but removing hyphens or adding braces does nothing to it because it never had hyphens or a braced form. Version 7 ids made in one click are time-ordered, so they sort in the order they were created, each one a millisecond apart. Version 4 ids from the same click do not sort by time. The type menu starts on version 4, with the three formatting switches off.
Related tools
- Story & Writing Prompt Generator
Get random story prompts with a character, setting and conflict — plus matching book title ideas — for fantasy, sci-fi, mystery or romance.
- Character & Fantasy Name Generator
Generate character names for stories and games — modern first and last names, or invented fantasy names built from syllables.
- Greeting Card Message Ideas
Find the right words for a card — birthday, sympathy, wedding, thank-you, congratulations or get-well messages — and personalise them with a name.
- Letter Template Generator (Resignation, Thank-You…)
Fill in a few details to get a polished resignation letter, interview thank-you note, leave request, complaint letter or reference request.
- Speech & Eulogy Outline Helper
Build a structured outline for a eulogy, wedding toast, retirement speech or best-man speech from a few details, with suggested timings.
- Password Generator
Generate strong, random passwords with your choice of length, letters, numbers and symbols — created securely in your browser.