UUID Generator

Generate version 4 (random) or version 7 (time-ordered) UUIDs in bulk, and inspect any UUID's version, variant, and embedded timestamp. Fast, free, and built for simple browser-based workflows.

Instant
Processing
Private
Browser First
Free
No Signup

UUID Generator

More options
or Ctrl+Enter

UUIDs are generated in this browser tab using the Web Crypto API. Nothing is sent to any server.

Choose your options and click Generate.


Inspect a UUID

Paste any UUID to see whether it's valid, its version and variant, and — for version 1 or 7 — the moment it was created.

Paste a UUID above to inspect it.
Advertisement

728 x 90 In-Content Ad

About This Tool

UUID Generator is a free online tool that creates version 4 (random) and version 7 (time-ordered) UUIDs in your browser, one at a time or up to 1,000 at once, and inspects any UUID to reveal its version, variant, and embedded timestamp.

It earns its keep whenever code needs a guaranteed-unique identifier: a primary key for a new database row, a request ID for tracing a bug through your logs, a session or API key placeholder, a filename that cannot collide with another upload, or test fixtures that need hundreds of distinct IDs at once. The quoted list option pastes a batch straight into a SQL script or a JSON array, and No hyphens gives the compact 32-character form some systems expect.

Both the generator and the inspector run entirely in your browser. No UUID you create or paste in is ever sent to a server, logged, or stored. That matters even though a UUID is not usually secret: a version 7 UUID's leading bytes are literally a timestamp, so keeping the whole exchange local means you are never trusting a third party with when a record was created.

Generates version 4 (random) or version 7 (time-ordered) UUIDs, one click or up to 1,000 at once
Version 7 UUIDs stay in generation order even when hundreds land in the same millisecond, using RFC 9562's monotonic counter method
Formats output as uppercase, without hyphens, wrapped in braces, or quoted and comma-separated for pasting into code
Inspects any UUID -- braces, a urn:uuid: prefix, or bare hex are all accepted -- and reports its version, variant, and Nil/Max status
Decodes the embedded timestamp of version 1 and version 7 UUIDs back to an exact date and time
Uses the Web Crypto API only, never Math.random, so generated UUIDs are unpredictable rather than just random-looking

How to Use UUID Generator

1

Choose a version

Pick Version 4 (random) or Version 7 (time-ordered) from the Version dropdown, and set how many to generate under How many (1-1,000).

2

Set formatting (optional)

Open More options to turn on Uppercase, No hyphens, Wrap in braces, or a quoted list style for pasting into code.

3

Generate

Click Generate, or press Ctrl+Enter from anywhere on the page, to fill the result box with your UUIDs.

4

Copy or download

Click Copy for the clipboard or Download to save them as uuids.txt.

5

Inspect a UUID

Paste any UUID into the UUID to inspect box to see its version, variant, and embedded timestamp instantly.

Frequently Asked Questions

Is this tool completely free?

Yes! All our tools are 100% free to use with no hidden costs, no registration required, and no credit card needed.

Is my data safe and private?

Absolutely. All tools run entirely in your browser (client-side). Your data never leaves your device and is not sent to our servers.

Can I use this tool offline?

Yes, once the page is loaded, the tool will continue to work even if you lose internet connection since it runs in your browser.

Can I use this for commercial projects?

Yes! All our tools are free for both personal and commercial use.

What's the difference between a UUID and a GUID?

None technically -- GUID is Microsoft's name for the same 128-bit identifier defined by the UUID standard (RFC 9562). The formats overlap completely; a value generated by this tool works anywhere a GUID is expected, and vice versa. The only real difference is which word a particular ecosystem or API happens to prefer.

Should I use UUID v4 or v7 for a database primary key?

For most new tables, v7. Its embedded timestamp keeps new rows sorted together, which avoids the index fragmentation that random v4 keys cause as a table grows. The trade-off: a v7 value reveals roughly when the row was created, which matters if that ID is ever shown to end users, but is irrelevant for an internal key.

Why do version 7 UUIDs sort into the order they were created, but version 4 UUIDs don't?

A v7 UUID starts with 48 bits of Unix millisecond timestamp, so comparing two v7 values as plain strings compares their creation time first. A v4 UUID is 122 random bits with no time component at all, so sorting a list of them sorts nothing meaningful.

Are the UUIDs this tool generates actually guaranteed to be unique?

Not mathematically guaranteed, but the collision odds are negligible: a version 4 UUID has 122 random bits, so you would need to generate around a billion a second for a century before a 50% chance of one repeat. This tool draws every random bit from the Web Crypto API, never a weaker source.

Is this a cryptographically secure UUID generator?

Yes. Every random byte comes from crypto.randomUUID() or crypto.getRandomValues() -- the Web Crypto API's cryptographically secure random number generator -- never Math.random(), which is fast but predictable. If your browser does not support the Web Crypto API, the tool refuses to generate rather than silently falling back to something weaker.

What does the UUID inspector tell me?

Paste any UUID -- with or without hyphens, braces, or a urn:uuid: prefix -- and it reports whether the format is valid, its version and variant (RFC 9562, Microsoft, or NCS), and, for version 1 or 7, the exact date and time encoded inside it. It also recognises the special Nil and Max UUIDs.

Can I generate UUIDs without hyphens, in uppercase, or wrapped in braces?

Yes, all three are independent options under More options, and they combine: turning on all three turns 550e8400-e29b-41d4-a716-446655440000 into {550E8400E29B41D4A716446655440000}. No hyphens suits compact storage; braces match the Microsoft GUID style some Windows APIs expect.

What's the quoted list option for?

It wraps each generated UUID in double or single quotes with a trailing comma, so a whole batch can be pasted straight into a SQL INSERT statement, a JSON array, or a source code list without retyping any punctuation by hand.

How many UUIDs can I generate at once?

Up to 1,000 per click. Type any number in How many; anything below 1 or above 1,000 is automatically adjusted to the nearest valid value, and the result message tells you when that happened. Click Generate again for a second batch if you need more.