UUID Version

UUID v6 Generator

Create version-6 UUIDs — a reordering of the v1 timestamp so the most significant bits come first. v6 sorts naturally by time while remaining compatible with v1's structure.

Time-ordered v6 (RFC 9562)Same epoch as v1Database-friendly

Generated locally with the Web Crypto API — nothing leaves your browser.

What Is UUID v6 Generator?

How to generate

  1. Set how many UUIDs you need (1–1000).
  2. Toggle uppercase, hyphens and braces.
  3. Press Generate to compute time-ordered v6 values.

Use Cases

How UUID v6 Generator Compares

UUID v6v1 timestamp reordered; sorts by time
UUID v7Millisecond time + random; modern default
UUID v1Original layout; timestamp in middle fields

Code Examples

JavaScript
import { v6 } from 'uuid';
const id = v6();  // time-ordered, v1-compatible
Python
# PyUUID / uuid6 library
from uuid6 import uuid6
id = uuid6()

Frequently Asked Questions

How is v6 different from v1?
They share the same timestamp and node, but v6 puts the timestamp in the leading bytes so IDs sort chronologically as strings. v1 scatters the time across fields, breaking string sort.
Is v6 better than v7?
v7 is generally preferred for new projects because its millisecond precision and random tail are simpler and well-supported. v6 exists for compatibility with v1-era sorting needs.
Does v6 leak the MAC address?
No — like v1 on this site, the node field is random, not your real MAC.

Related tools