UUID Generator
Generate UUID version 4 (UUIDv4) strings instantly in your browser.
Each generated UUID is displayed immediately and can be copied with a single click.
The tool keeps a short local history of generated UUIDs, allowing you to review and reuse recent values without regenerating them.
Up to 20 entries are stored for convenience, and the history can be cleared at any time.
This generator is useful for creating temporary identifiers, testing APIs, preparing sample data, or local development tasks.
All UUID generation and history storage are handled locally in your browser.
No generated values are sent to any server, ensuring fast and privacy-safe usage.
Inspect a UUID
Paste a UUID to see its version, variant and, for v1 / v6 / v7, when it was created.
This does not look like a UUID.
UUID v5 (name-based)
The same namespace and name always give the same UUID (SHA-1). Useful for stable IDs derived from a name or URL.
The namespace must be a valid UUID.
ULID
A sortable 26-character ID: a millisecond timestamp followed by random bits. Also decodes a ULID to its time.
This does not look like a ULID.
NanoID, KSUID and UUID v1 / v6
NanoID is a short random ID with a character set and length you choose. KSUID is a 27-character ID that sorts by time. UUID v1 and v6 are time-based; v6 sorts by time as a string. v1 and v6 use a random node, never your MAC address. Everything is generated in your browser.
This does not look like a KSUID (27 letters and digits).
Other ways to write a UUID
Shows the same 128-bit value as a 22-character URL-safe string, Base58, Base32, a decimal integer, and as ready-to-use SQL for MySQL BINARY(16) and PostgreSQL. You can also turn a short id back into a UUID.
GuideHow to use & features
- Enter the number of UUIDs you want and click Generate to see the list.
- Use the copy icon on each row or the bulk copy button to send them to the clipboard.
- Generating a large batch may take a few seconds—please wait until it finishes.
- All generation happens locally and nothing is stored after you leave the page.
SamplesSample input & output
Generate UUID v4 values
Generate 2 UUID v4 values
c4f8c3f6-5f2b-4a1a-a4a8-03d52f1bb2f7 1f9a0a33-8dd9-4c4f-9c42-c8b9d4e21d45
FAQFAQ
Which UUID version is generated?
Random-based UUID v4, in the standard lowercase hyphenated form `xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.Can I assume UUID v4 values never collide?
The chance is not zero in theory, but with 122 bits of randomness it is negligible in practice. Even billions of values will almost never collide. It is not a guarantee of absolute uniqueness, though.Is it safe to use for passwords or tokens?
Not recommended. It uses the browser's cryptographic randomness, but a UUID is designed as an identifier, not a secret. Use a proper token design for session tokens and reset keys.Where is the history of generated UUIDs stored?
The latest 20 are stored inside your browser (localStorage). Nothing is sent to a server, and "Clear history" removes them at any time.Can I get uppercase or no hyphens?
No. Output is only the standard lowercase hyphenated form. If you need uppercase or no hyphens, convert it where you paste it.Can it create UUID v7 or v1?
Yes. Besides v4 and v7 (the menu above), the cards lower on the page generate v1, v6, v5, ULID, NanoID and KSUID.
Use casesCommon use cases
Using as a database primary key or test data ID
Quickly get IDs that will not collide even when created in several places, without relying on sequence numbers.Creating an API idempotency key (`Idempotency-Key`)
Make, by hand, the key that prevents a payment or similar API from executing the same request twice.Preparing request IDs and correlation IDs for logs
Make as many IDs as you need to trace logs in tests or manual checks.Building sample data and fixtures
Copy plausible IDs into JSON or SQL samples.
NotesNotes & limitations
For database primary keys, v7 suits better than v4
v4 is fully random, so as a primary key it can affect insert performance in large systems. A time-sortable v7 (or v6, ULID, KSUID) avoids that. The node in v1 and v6 is random and never contains a MAC address.History stays in your browser
On a shared computer, press "Clear history" when you are done. Clearing the browser's site data also removes it.Do not use it for secrets
A UUID is not suited to values that must stay secret, such as passwords, session tokens or password-reset keys.The output format is fixed
Only lowercase with hyphens. If you need uppercase, no hyphens or braces, adjust it where you paste it.
AboutAbout this tool
UUID Generator
UUIDs are widely used as unique identifiers for records, test data, request IDs, correlation IDs, and temporary objects. This UUID generator creates browser-side UUID values that can be copied into code, fixtures, database seeds, or debugging notes.
When it helps
- Create test data: Generate IDs for mock records, API requests, and fixture files.
- Trace requests: Use unique correlation IDs while debugging distributed systems.
- Avoid manual collisions: Create identifiers that are more reliable than hand-written names or incremental test values.
Practical note
UUIDs are identifiers, not secrets. They are useful for uniqueness, but they should not be used as passwords, tokens, or access-control values unless combined with proper security design.
