Skip to content

UUID Validator & Version Detector

Paste one or many UUIDs to see which ones are valid, which version each is and, for time-based versions, when it was created.

Processed locally in your browser

Options
0 chars · 0 lines
The result will appear here.

What is UUID Validator & Version Detector?

A valid UUID has 32 hexadecimal digits in the 8-4-4-4-12 layout, a version digit (1 to 8) in the first position of the third group and variant bits 10xx in the fourth group. The special NIL (all zeros) and MAX (all ones) values are also accepted. This tool checks all of that for every line you paste.

For each value you get a valid/invalid verdict with the reason, the version and what it means, the variant, and the exact UTC time for version 1, 6 and 7 UUIDs. It also accepts values wrapped in braces, in urn:uuid: form or without hyphens, and reports which form was used.

How does it work?

  1. Paste the UUIDs, one per line (commas and spaces also work as separators).
  2. Read the status summary for the counts, then the table for the details of each value.
  3. Turn off “Accept {braces}, urn:uuid: and 32-hex forms” if only the canonical hyphenated form should count as valid.
  4. Copy or download the CSV of the results to keep a record.

Common use cases

  • Finding the one malformed ID in a long export before an import fails.
  • Working out whether an identifier from a legacy system is v1, v4 or v7.
  • Extracting the creation time from a v7 or v1 UUID found in logs.
  • Checking that generated test data uses the version your database expects.

Examples

Try this input in the tool above:

Input
550e8400-e29b-41d4-a716-446655440000
018f3f4e-0d3f-7cc2-8a1e-5b2d9c4a7e10
6ba7b810-9dad-11d1-80b4-00c04fd430c8
00000000-0000-0000-0000-000000000000
{123E4567-E89B-12D3-A456-426614174000}
not-a-uuid
Output
line,input,valid,version,variant,timestamp_utc,note
1,550e8400-e29b-41d4-a716-446655440000,true,4,rfc,,
2,018f3f4e-0d3f-7cc2-8a1e-5b2d9c4a7e10,true,7,rfc,2024-05-03T16:33:50.911Z,
3,6ba7b810-9dad-11d1-80b4-00c04fd430c8,true,1,rfc,1998-02-04T22:13:53.1511824Z,node 00c04fd430c8
4,00000000-0000-0000-0000-000000000000,true,nil,,,nil UUID (all zeros)
5,{123E4567-E89B-12D3-A456-426614174000},true,1,rfc,2228-06-25T20:01:28.5450087Z,in braces; node 426614174000
6,not-a-uuid,false,,,,contains non-hexadecimal characters

Privacy

UUID Validator & Version Detector runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

The tool checks the format, not whether a UUID exists or belongs to anything. Random node IDs in v1/v6 and the creation times in time-based UUIDs are as trustworthy as whoever generated them.

Frequently asked questions

How can I tell the version of a UUID?

Look at the first digit of the third group: in 550e8400-e29b-41d4-a716-446655440000 it is 4, so the UUID is version 4. This tool reads it for you and explains what it means.

Why is a UUID with a valid shape marked invalid?

The version digit must be 1 to 8 and the first digit of the fourth group must be 8, 9, a or b (the RFC variant). Values outside that are not standard UUIDs, apart from NIL and MAX.

How is the timestamp decoded?

v7 stores Unix milliseconds in its first 48 bits. v1 and v6 store 100-nanosecond ticks since 15 October 1582, which the tool converts to a UTC date.

More tools in Developer Tools →