Visual RFC.
ALL RFCs / RFC 9562
Read the RFC ↗
RFC 9562 / MECHANISM GUIDE

Time-ordered UUID version 7

03

UUIDv7 begins with a 48-bit Unix-epoch millisecond timestamp.

RFC 9562 · § 5.7EXAMPLE
3 / 3
03
Compare ordered prefixes

Different millisecond prefixes sort by time; same-millisecond order depends on generation choices.

Time-ordered UUID version 7UUIDv7 begins with a 48-bit Unix-epoch millisecond timestamp.Time-ordered UUID version 7high 48 bitsUnix millisecondsother 80 bitslayout + 74 bitsversion 7 · variant · random/counter policyearlier mslater ms

Key idea: The remaining 74 non-layout bits hold randomness and optionally supported monotonicity subfields.

Terms

Look up a term in the glossary ↗

Rules & examples
  • The remaining 74 non-layout bits hold randomness and optionally supported monotonicity subfields.
  • Multiple identifiers in one millisecond need careful generation state.
  • A sortable timestamp is not a globally guaranteed creation order.

Examples are illustrative. Consult the linked RFC and its errata for implementation details.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

First, agree how to read the message.

An encoding tells a reader how to interpret bytes. A format tells it how values fit together. Correctly reading a value does not make that value trustworthy.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 9562

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗