All Tools Portfolio

UUID
Generator

Generate random (v4), time-ordered (v7), or deterministic name-based (v5) UUIDs in bulk. Pick a format, copy the list, or download it as a text file — everything runs locally using your browser's secure random number generator.

Start generating UUIDs

UUID version and format settings

Generate between 1 and 1000 UUIDs at once.

Tip: use v7 for database primary keys that should sort by creation time, and v5 when you need the same input to always produce the same UUID.

Generated UUIDs

Generated UUIDs will appear here.
Generated

Version

Format

Standard

About the UUID Generator

UUIDs are 128-bit identifiers used across databases, distributed systems, and APIs to uniquely identify records without a central coordinating authority. This generator creates cryptographically random v4 UUIDs, time-ordered v7 UUIDs for sortable database keys, and deterministic v5 UUIDs derived from a namespace and name, all using your browser's built-in Web Crypto API.

Features

Random v4 UUIDs

Generate cryptographically secure random UUIDs using crypto.getRandomValues.

Time-ordered v7 UUIDs

Embed a millisecond timestamp so generated IDs sort chronologically, ideal for database keys.

Deterministic v5 UUIDs

Derive a repeatable UUID from a namespace and name using SHA-1, so the same input always matches.

Bulk generation

Generate up to 1000 UUIDs at once, or one per name for name-based UUIDs.

Flexible formatting

Output as standard, no hyphens, braces, URN, or quoted, in upper or lower case.

100% client-side

Every UUID is generated locally in your browser. Nothing is sent to a server.

How It Works

  1. Choose a UUID version: v4 (random), v7 (time-ordered), or v5 (name-based).
  2. For v4 or v7, set how many UUIDs to generate. For v5, choose a namespace and enter one or more names.
  3. Pick a format and case, then click Generate.
  4. Copy the full list or download it as a plain text file.

Example Usage

Version Sample input Sample output
v4 (Random) Quantity: 1 3f9a1c2e-8b7d-4a6f-9c3e-1d2b3a4f5e6d
v7 (Time-ordered) Quantity: 1 018f2c3a-7b1e-7c4d-8a2f-9e1d2c3b4a5f
v5 (Name-based) Namespace: DNS, Name: example.com cfbff0d1-9375-5685-968c-48ce8b15ae17 every time

Where This Helps

Frequently Asked Questions

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit value, usually written as 32 hex digits in five groups, that is designed to be unique across systems without a central coordinating authority.

What is the difference between UUID v4, v7, and v5?

v4 is fully random, making it the most common choice for general-purpose unique IDs. v7 embeds a millisecond timestamp so IDs sort chronologically, which is useful for database primary keys. v5 is deterministic: the same namespace and name always produce the same UUID, which is useful when you need a repeatable ID derived from existing data.

Are these UUIDs generated securely?

Yes. Random UUIDs (v4 and the random portion of v7) use the Web Crypto API's cryptographically secure random number generator, not Math.random.

Is my data uploaded anywhere?

No. UUIDs are generated entirely in client-side JavaScript in your browser, including the SHA-1 hashing used for v5. Nothing is sent to a server.

Why do I get the same UUID every time with v5?

That is expected. UUID v5 is deterministic by design: the same namespace UUID and the same name always hash to the exact same UUID, so it can be recomputed independently instead of stored.

Can I generate multiple UUIDs at once?

Yes. Set a quantity for v4 or v7 to generate up to 1000 UUIDs at once, or enter one name per line for v5 to generate a deterministic UUID for each name.

Why is UUID v1 or v3 not available?

v1 traditionally embeds a device's MAC address, which browsers do not expose, and v3 relies on MD5, which is not available through the browser's standard Web Crypto API. v7 and v5 cover the same practical use cases with modern, secure alternatives.

Related Tools