UUID Generator
Generate UUID v4, v7, or v1 — bulk up to 1000, GUID braces, compact or hyphenated.
UUID version
v4 = random, v7 = time-ordered for DB keys
Case
Hyphens
Braces (GUID)
Microsoft GUID form: {xxxxxxxx-...}
1–1000 at once
Generated UUIDs
Click Generate to create UUIDs. Nothing is saved or logged — copy what you need now.
More than 25 UUIDs — text view only.
Recent generations
How to use the UUID Generator
From a single v4 UUID to a bulk seed list — four steps.
- 1
Pick a version
v4 (random) is the default. Choose v7 for time-ordered database keys, v1 for legacy compatibility, or Nil for the all-zeros sentinel UUID.
- 2
Set format options
Lowercase is default. Toggle hyphens off for 32-char compact form, braces on for GUID syntax, and case for uppercase hex.
- 3
Set quantity
Quantity 1 for a single ID. Raise it to bulk-generate UUIDs for seeding databases, test fixtures, or batch provisioning — up to 1000 per click.
- 4
Generate & copy
Click Generate, copy individual rows or switch to Text view for Copy all. Use Rows/Text toggle for small batches; large batches lock to text view.
Generate UUIDs and GUIDs — v4, v7, bulk, and format options
Developers need identifiers that are unique, copy-safe, and fast to produce in volume. A UUID generator (also called a GUID generator on Windows and .NET) outputs 128-bit values in standard string forms — hyphenated, compact, or wrapped in braces. HitRandom covers the cases single-ID bookmarklets skip: bulk UUID generation up to 1000 per click, UUID v7 for time-ordered database keys, and format toggles for lowercase, uppercase, hyphens, and Microsoft GUID braces.
UUID v4 — random (default): The common choice for primary keys, correlation IDs, and file names. v4 sets version nibble 4 and RFC 4122 variant bits on cryptographically random bytes. HitRandom calls crypto.randomUUID() when the browser supports it, otherwise builds v4 from crypto.getRandomValues() with correct version and variant masking — never Math.random().
UUID v7 — time-ordered: RFC 9562 v7 embeds a 48-bit Unix millisecond timestamp in the leading bytes and fills the remainder with random data. The result sorts chronologically in B-tree indexes — useful in PostgreSQL, event stores, and anywhere insert locality beats pure randomness. Few online generators expose v7; it is a practical differentiator when you need ordered IDs without a central allocator.
UUID v1 and Nil: v1 combines a timestamp with a random node ID (multicast bit set per spec) for legacy systems that still expect time-based UUIDs. Nil UUID (00000000-0000-0000-0000-000000000000) is the all-zeros sentinel used in APIs and schemas to mean “no identifier.” Namespace-hashed v3/v5 are intentionally omitted — they require namespace UUID plus name inputs and are rarely needed in quick dev workflows.
Bulk generation for seeding: Set quantity above 1 to generate multiple UUIDs at once — seed a test database, fill a CSV column, or provision batch resources without looping a one-at-a-time tool. Small batches display as copy-able rows; larger batches open in text view with the same copy formats as our other tools (comma-separated, one per line, JSON, tab-separated). Nothing is written to disk or stored in history.
Format options: Lowercase hex is the default. Switch to uppercase for systems that expect it. Disable hyphens for a 32-character compact string. Enable braces for GUID syntax. All formatting is applied to the same underlying bytes — toggling case or hyphens after generation reformats the current batch without regenerating new random values.
Who uses this: Backend developers assigning primary keys, QA engineers building test fixtures, data engineers preparing seed files, and anyone who needs a trustworthy generate uuid workflow without installing CLI tools or signing into a service. Pair with HitRandom’s Password Generator and Random Number Generator in Generators & Security.
Frequently asked questions
What is the difference between a UUID and a GUID?
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.How do I generate multiple UUIDs at once?
When should I use UUID v7 instead of v4?
Can I get a compact UUID without hyphens?
Are UUIDs generated in the browser or on a server?
crypto.randomUUID() when available, with a crypto.getRandomValues() fallback that sets version and variant bits correctly. v7 and v1 are built from the same crypto byte source. Nothing is uploaded, logged, or stored — refresh the page and the batch is gone.Related tools
More free tools — all run in your browser.
Password Generator
Generate one password or a bulk list — custom length, symbol exclusions, crypto-secure, no history.
Random Number
Pick random numbers in any range — set limits, count, unique mode, and sort. Crypto-secure, instant, private.
Dice Roller
Roll D4, D6, D8, D10, D12, D20, or D100 online — crypto-secure, with sum and stats, in your browser.
Random Letter
Pick a random letter A–Z — vowel or consonant filter, bulk lists, crypto-secure.
Random Name
Generate random names by origin — first, last, or full name, gender filter, crypto-secure.
Random Word
Pick a random common English word — noun, verb, adjective filters, crypto-secure.