NathanTools

GUID Validator

Paste one or many GUIDs to check they are valid and see each one's version, variant and, for time-based UUIDs, when it was created.

100% free No sign-up Works on any device

Report a bug

GUID Validator

GUIDs to check · one per line

0Valid
0Invalid
0Checked
InputResultVersionVariantCreatedNormalised
Paste GUIDs above to validate them

Updated November 2026 · Follows RFC 9562 · Checked in your browser

How to validate a GUID

  1. Paste one GUID, or a whole list with one per line (up to 1,000). Press Sample to see examples.
  2. Each line shows Valid or Invalid with the reason, such as a wrong length or a letter that isn't hex.
  3. Valid GUIDs also show their version, variant and, for time-based versions 1, 6 and 7, the date and time they were created.
  4. Press Copy valid, normalised to get every valid GUID in standard lowercase 8-4-4-4-12 form, ready to paste into code or a database.

What makes a GUID valid?

A GUID (or UUID) is 128 bits written as 32 hexadecimal digits (0–9 and a–f) in the pattern 8-4-4-4-12, for example 3f2504e0-4f89-11d3-9a0c-0305e82c3301. This validator accepts:

  • Upper or lower case: GUIDs are case-insensitive.
  • The 32-digit form without hyphens.
  • The wrappers {…} and (…) used by Windows and .NET, and the urn:uuid: prefix.
  • The special nil UUID (all zeros) and max UUID (all F), which RFC 9562 defines as valid.

The regular expression most code uses for a standard hyphenated GUID is:

^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

That checks the shape only. A stricter check for RFC-compliant IDs also requires the version digit to be 1–8 and the variant digit to be 8, 9, a or b, which is what the Version and Variant columns report.

Reading the version and variant

PositionExampleMeaning
1st digit of group 3xxxxxxxx-xxxx-4xxx-…Version: 1 time + MAC, 3 MD5 name, 4 random, 5 SHA-1 name, 6 reordered time, 7 Unix time + random, 8 custom
1st digit of group 4…-axxx-xxxxxxxxxxxxVariant: 8, 9, a, b = standard (RFC 4122/9562); c, d = legacy Microsoft; 0–7 = legacy NCS

Old Microsoft COM GUIDs and some hand-made test IDs use other variant digits. They're still well-formed 128-bit values, so they show as valid, but the variant tells you they weren't made by a standard UUID generator.

Finding when a GUID was created

Version 7 UUIDs start with the number of milliseconds since 1 January 1970 (UTC), and versions 1 and 6 contain a count of 100-nanosecond intervals since 15 October 1582, the start of the Gregorian calendar. The validator decodes these into a readable date and time in the Created column. Random v4 and name-based v3 and v5 GUIDs contain no time information. Treat the decoded time as a hint: the system that made the GUID could have had its clock set wrong.

Frequently asked questions

Paste it above. A valid GUID has exactly 32 hexadecimal digits (0–9, a–f), usually written 8-4-4-4-12 with hyphens. In code, use your language's parser, such as Guid.TryParse in C#, uuid.UUID() in Python or a regular expression in JavaScript.

No. 3F2504E0-4F89-11D3-9A0C-0305E82C3301 and 3f2504e0-4f89-11d3-9a0c-0305e82c3301 are the same GUID. RFC 9562 recommends lowercase output, and the validator normalises to lowercase.

Yes, as long as it has 32 hex digits. Most parsers accept it, and many databases store GUIDs without hyphens. The hyphens are only there to make it easier to read.

The digits in the version and variant positions don't match an RFC 9562 layout. That's common for hand-typed test values, very old Microsoft GUIDs and IDs from custom generators. The value is still a well-formed 128-bit ID.

Only for time-based versions. Version 7 stores Unix time in milliseconds and versions 1 and 6 store a 60-bit timestamp, which the Created column decodes. Version 4 is random and version 5 is a hash, so they hold no date.

Yes. 00000000-0000-0000-0000-000000000000 is defined by the standard as a special value, often used to mean "no ID". It shouldn't be used to identify a real record.

Comments

No comments yet.

Share this tool

GUID Validator

Favorites

Drag to reorder, or use the arrows. Categories and the tools inside them can both be moved.

Saved in this browser. Sign in to keep them on every device.

Esc
↑ ↓ to moveEnter to open