Online toolTools

UUID v7 Generator

A free online UUID v7 (RFC 9562) generator: create time-ordered UUIDs in your browser, one at a time or up to 1000 in a batch. Paste any UUID to decode its embedded timestamp, version and random part instantly. Your last 10 decoded values stay in the browser and nothing is sent to a server.

1Generate a UUID v7

UUID v7
-

-

2Decode

It is decoded as soon as you paste it.

Embedded time (ISO 8601 · UTC)
-
Local time
-
Unix milliseconds
-
Version / Variant
-
Random part (rand_a / rand_b)
-

3Generate a batch

Recently decoded UUIDs

    No history yet. It fills up automatically when you decode a UUID.

    The last 10 entries are kept only in this browser (localStorage) and never sent to a server. Click one to decode it again.

    What is UUID v7?

    UUID v7 is the time-ordered UUID standardized in RFC 9562. Of its 128 bits, the first 48 hold the Unix time in milliseconds, 4 bits hold the version (7), 2 bits hold the variant, and the remaining 74 bits are random. As a result the values sort in creation order, both as strings and as raw bytes.

    A fully random UUID v4 used as a database primary key lands all over a B-tree index, causing page splits and cache misses. A UUID v7 is always appended near the end of the index, so inserts are faster, and the approximate creation time can be read without a separate created_at column.

    This generator increments the random part by one for values made within the same millisecond, so their order is preserved. Randomness comes from the browser's crypto.getRandomValues, and every calculation stays in your browser.

    Frequently asked questions

    What is the difference between UUID v4 and UUID v7?

    UUID v4 has 122 random bits and no order. UUID v7 starts with a 48-bit millisecond timestamp, so it sorts in creation order, followed by 74 random bits. Where sorting and index performance matter, such as database primary keys, v7 is the better fit.

    Can the creation time be extracted from a UUID v7?

    Yes. The first 48 bits are the Unix time in milliseconds and anyone can read them. Paste a UUID into the decoder above to see the time. If the creation time must stay hidden, UUID v4 is the better choice.

    Can UUID v7 values collide?

    Two values would need the same millisecond and the same 74 random bits, so the probability is negligible in practice. When generating several values in the same millisecond, this tool increments the random part by one to keep both order and uniqueness.

    Are the generated UUIDs sent to a server?

    No. Generating and decoding happen in JavaScript in your browser, and the decode history is kept only in this browser's localStorage.

    Type to search

    ↑↓ moveEnter openEsc close