UUID & Unique ID Generator

UUID & Unique ID Generator

Local Processing

Generate UUID v1, v3, v4, v5, v6 or v7, ULID, NanoID or KSUID.

How It Works & Processing Standards

Generate UUID v1, v3, v4, v5, v6 or v7, ULID, NanoID or KSUID.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Maximum input length: 100,000 characters

Choose an ID type under "Task" and IDs are made with cryptographic randomness (Web Crypto). Pick random IDs (v4, NanoID), time-sortable IDs (v7, ULID, KSUID) or name-based IDs that never change (v3, v5) in one place.

v4, v7, ULID, NanoID and KSUID change every time. Use v3 or v5 when you need the same value again.

What You Can Do

Random UUID v4
The most common UUID, for primary keys and request IDs.
Time-ordered IDs (v7, ULID, KSUID)
They start with the creation time, so sorting gives creation order — friendly to DB indexes.
Name-based UUID v3/v5
The same namespace UUID and name always give the same UUID.
NanoID
Short URL-safe IDs with a length you choose.

How to Use UUID & Unique ID Generator

  1. 1
    Choose a typePick UUID v4, v7, ULID and so on.
  2. 2
    Enter count or nameSet how many to create. For v3/v5 enter a namespace UUID and a name.
  3. 3
    CopyCopy the IDs, one per line.

Examples

UUID v5 (DNS namespace + example.com)
Input: Namespace 6ba7b810-9dad-11d1-80b4-00c04fd430c8, name example.com
Result: cfbff0d1-9375-5685-968c-48ce8b15ae17
UUID v3 (same input)
Input: Namespace 6ba7b810-9dad-11d1-80b4-00c04fd430c8, name example.com
Result: 9073926b-929f-31c2-abc9-fad77ae3e8eb

Common Use Cases

  • Primary keys, order numbers or request-tracing IDs
  • Bulk IDs for test data
  • A stable ID derived from a domain or URL (v5)

Frequently Asked Questions (FAQ)

Should I use v4 or v7?

Use v7 when sorting and indexing matter, as with primary keys; use v4 for tokens that must not reveal order. v7 stores the creation time in milliseconds in its first 48 bits.

How do v3 and v5 differ?

Both derive a UUID from a name, but v3 uses MD5 and v5 uses SHA-1. Prefer v5 for new work.

Have feedback or ideas for this tool? Suggest & Inquire →