Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
UUID Generator

UUID Generator

Generate UUID v1, v4, and v7 in your browser with bulk output, format options, export, and a decoder that inspects version and timestamp.

UUID Generator for v1, v4, and v7

This UUID generator creates 128-bit universally unique identifiers (UUIDs, also called GUIDs) right in your browser. Pick a version, click Generate, and copy a ready-to-use ID for database primary keys, API resources, session tokens, or any value that has to be unique.

It is built for developers who need more than a single random ID. Switch between v1, v4, and v7, shape the output with format options, generate up to 1,000 at once, and paste any UUID into the decoder to inspect its version, variant, and embedded timestamp.

Private by design: every UUID is generated locally with the browser's Web Crypto API (crypto.randomUUID() and crypto.getRandomValues()). Nothing is sent to a server, stored, or uploaded.

How to Generate a UUID

1

Pick a version

Click a version tab — v1 (Timestamp), v4 (Random), or v7 (Sortable). A UUID is generated automatically as soon as you open the tool.

2

Set format options

Toggle Uppercase, No hyphens, Braces {}, or Quotes "" to match your code. Changes apply to single and bulk output in real time.

3

Generate and copy

Click Generate for a fresh UUID and Copy to send it to your clipboard. For many IDs, set the Quantity (1–1,000) and separator, then use Copy All or Download.

4

Decode any UUID

Open the UUID Decoder, paste a UUID, and press Decode or Enter to read its version, variant, hex value, and timestamp (for v1 and v7).

Features

UUID v1 (Timestamp)

Encodes the current time and a random node, giving time-ordered identifiers useful for audit trails.

UUID v4 (Random)

Built from 122 bits of cryptographically secure randomness — the default choice for most applications.

UUID v7 (Sortable)

Combines a millisecond Unix timestamp with random bits (RFC 9562), ideal for ordered database primary keys.

Flexible Formatting

One-click uppercase, no hyphens, curly braces, or double quotes — applied to single and bulk output instantly.

Bulk Generation

Generate from 1 to 1,000 UUIDs in one go, separated by newline, comma, or semicolon.

Copy & Export

Copy a single UUID or all at once, or download the batch as a TXT, JSON, or CSV file.

UUID Decoder

Inspect any UUID's version, variant, hex value, and creation timestamp (v1 and v7), even with braces or quotes.

Client-Side & Private

All generation and decoding run in your browser with the Web Crypto API — no requests, no data collection.

Frequently Asked Questions

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit value used to identify resources without a central authority. Written as 32 hexadecimal digits in five hyphen-separated groups (8-4-4-4-12), it is widely used for database keys, API IDs, session tokens, and tracking.

Which UUID version should I use — v4 or v7?

For general-purpose IDs, v4 is the standard random choice. For database primary keys, prefer v7: it embeds a millisecond timestamp so values sort by creation time, which improves B-tree index performance and reduces page splits. Use v1 when you specifically want a timestamp you can extract from the ID.

Are UUIDs unique — can they collide?

UUID v4 has 122 random bits, about 5.3 × 1036 possible values. The chance of a collision is negligible: you would need roughly 2.7 × 1018 UUIDs before there is even a 50% chance of a single duplicate. The randomness here comes from the browser's cryptographically secure generator.

How do I generate many UUIDs at once?

Use the Bulk Generation section: set the Quantity (1 to 1,000), pick a separator (newline, comma, or semicolon), and click Generate. Then Copy All or Download the batch as TXT, JSON, or CSV.

What is the difference between a UUID and a GUID?

They refer to the same thing. UUID is the standard term from RFC 4122 / RFC 9562, while GUID (Globally Unique Identifier) is the name used across Microsoft technologies. The 128-bit format is identical, so this generator works for both.

Is this UUID generator secure and private?

Yes. Every UUID is generated entirely in your browser using the Web Crypto API (crypto.randomUUID() and crypto.getRandomValues()). Nothing you generate or decode is ever sent to a server, stored, or shared.

Bulk Generation
Click Generate to create a new UUID instantly
Use format options to customize output (uppercase, no hyphens, braces, quotes)
Generate up to 1,000 UUIDs at once with bulk generation
Download bulk UUIDs as TXT, JSON, or CSV files
Use the UUID Decoder to inspect any UUID's version and timestamp
Choose UUID v7 for database primary keys — sortable by creation time
All UUIDs are generated in your browser — no data sent to any server
Want to learn more? Read documentation →
1/8
Start typing to search...
Searching...
No results found
Try searching with different keywords