Skip to content
gohacks.dev
Databases

UUID Validator and Decoder

Validate a UUID, normalise it to canonical form, and read its version, variant and, for versions 1, 6 and 7, the time it was created.

Free · No sign-up · Your inputs stay in your browser

Input

Validate and decode a UUID

Output

Version 7: Unix time and random

Canonical01936f8a-6b1c-7d2e-9f3a-4b5c6d7e8f90
Version7
VariantRFC 9562
Hex (no hyphens)01936f8a6b1c7d2e9f3a4b5c6d7e8f90
Created (UTC)2024-11-27T21:32:42.652Z

Versions 1, 6 and 7 carry their creation time, which is worth knowing before using one as a public identifier. Version 1 also carries a node ID that was historically the machine's MAC address. Versions are defined in RFC 9562, which replaced RFC 4122 in 2024.

Runs in this browser. Nothing you paste is sent to a server.

Reading the version

The first digit of the third group is the version: 4 in 919108f7-52d1-4320-... means random, 7 means time-ordered. The first digit of the fourth group holds the variant; 8, 9, a or b mean the standard layout of RFC 9562, which replaced RFC 4122 in 2024.

What a UUID can give away

Versions 1, 6 and 7 contain their creation time, and version 1 historically embedded the generating machine's MAC address. That matters when an ID is public: a v7 ID in a URL tells anyone when the record was made. Use v4 where that should stay private.

Share

Frequently asked questions

How can I tell which version a UUID is?
Look at the 13th hex digit, the first of the third group. 4 is random, 1 and 6 are time-based with a node ID, 7 is Unix-time ordered.
Is a UUID with uppercase letters valid?
Yes. RFC 9562 says to output lowercase but accept either case on input.
Is what I paste sent anywhere?
No. The tool runs entirely in your browser with JavaScript. Nothing you type or paste is sent to our server or stored.

Keep planning

Similar tools