⚡
usefultools.dev
ID

UUID Generator (v4 & v7) and Validator

NEW

UUID generator for random v4 and time-ordered v7 UUIDs in bulk, plus a validator that detects version and variant and decodes v1, v6 and v7 timestamps.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Generate UUIDs

Validate & decode a UUID

✓ Valid UUID

Canonical
017f22e2-79b0-7cc3-98c4-dc0c0c07398f
Version
Version 7 — Unix epoch time + random
Variant
RFC 9562 / RFC 4122 (10xx)
Timestamp
2022-02-22T19:22:22.000Z1645557742000 ms since 1970-01-01 (Unix epoch)
rand_a (12 bits)
0xcc3
⚡

Quick Examples

Typical inputs and the results this tool produces.

Decode
017f22e2-79b0-7cc3-98c4-…
v7 · 2022-02-22T19:22:22Z
Decode
c232ab00-9414-11ec-b3c8-…
v1 · 2022-02-22T19:22:22Z
Validate
{00000000-0000-0000-…}
Nil UUID
Generate
v4 layout
xxxxxxxx-xxxx-4xxx-[89ab]xxx-…
Format
Uppercase, no hyphens
017F22E279B07CC398C4DC0C…
📖

Overview

A UUID (universally unique identifier, also called a GUID) is a 128-bit value written as 32 hex digits in an 8-4-4-4-12 pattern. This UUID generator creates version 4 UUIDs from 122 random bits and version 7 UUIDs that begin with a millisecond Unix timestamp, so they sort in creation order — a good fit for database primary keys.

Generate up to 1,000 at a time in lowercase or uppercase, with or without hyphens or braces. The validator accepts a pasted UUID, checks its layout, reports the version and variant bits, and decodes the embedded time of v1, v6 and v7 UUIDs, including clock sequence and node for v1.

Random bits come from the browser’s crypto.getRandomValues and nothing leaves your device. The v7 layout follows RFC 9562 and is monotonic within each batch.

Why use this tool?

  • Both random v4 and sortable v7 UUIDs
  • Bulk output up to 1,000 per click
  • Decode timestamps hidden in v1, v6 and v7
  • Cryptographically secure randomness
  • Works offline, nothing uploaded
⭐

Features

🎲

UUID v4

Random UUIDs with the version and variant bits set as RFC 9562 requires.

⏱️

UUID v7

Time-ordered UUIDs with a 48-bit millisecond timestamp and a monotonic counter.

0️⃣

Nil and Max

The special all-zero and all-F UUIDs for defaults and sentinels.

🔤

Format options

Uppercase, no hyphens and {braces} for Windows GUID style.

🔍

Validator

Detects version, variant, nil and max, and points out malformed input.

🕰️

Timestamp decoder

Turns v1, v6 and v7 UUIDs back into an ISO 8601 date and time.

🛠️

How to Use

1

Pick a version

Choose v4, v7, Nil or Max.

2

Set count and format

Enter how many and toggle Uppercase, Hyphens or Braces.

3

Copy or download

Press Generate for a new batch, then Copy all or Download .txt.

4

Inspect a UUID

Paste one under Validate & decode to see its version and time.

🤔

Frequently Asked Questions