UUID Validator & Inspector

Check whether a UUID is well formed and see what it contains — version, variant, and the creation timestamp where one is embedded.

Validation and inspection happen entirely in your browser. Nothing you paste is uploaded.

What It Does

Paste a UUID and this tells you whether it is genuinely well formed and, more usefully, what is inside it. A UUID is not an opaque blob — 128 bits with structure. Four bits identify the version, which is to say how the identifier was generated, and two or three more identify the variant. Depending on the version, the rest may contain a precise creation timestamp, a hardware address, a hash of some name, or nothing but randomness. Knowing which you have determines what you can rely on: whether the value sorts meaningfully by time, whether it reveals anything about the machine that made it, and whether the same input would produce it again. Validation catches the near-misses too, where a string is UUID-shaped but has the wrong variant bits.

When to Use It

  • A record arrived with an identifier that is being rejected downstream and you need to know whether the value or the receiving system is at fault.
  • You are auditing data for privacy and want to find version 1 UUIDs, which disclose a MAC address and a creation time.
  • An identifier needs converting between the braced GUID form your legacy system uses and the canonical form your API expects.
  • You want to confirm that your generator is producing the version you configured rather than defaulting to something else.
  • A migration produced suspicious identifiers and you want to spot nil UUIDs sitting where real ones should be.

Worked Examples

018f4b1c-8a2e-7c3d-9f1a-2b3c4d5e6f70

A version 7 UUID. The leading digits are a Unix millisecond timestamp, so the tool can report exactly when it was created — and these sort chronologically as plain strings, which is the whole point of v7.

00000000-0000-0000-0000-000000000000

The nil UUID. Structurally valid and defined by the specification, but finding one in a column that should hold real identifiers almost always means a field was never populated.

{6BA7B810-9DAD-11D1-80B4-00C04FD430C8}

A braced uppercase GUID, the form Windows tooling emits. Accepted and normalised — and being version 1, the tool extracts both its 1998 timestamp and the MAC address baked into it.

Features

Validation against the full RFC rules including variant bits
Version detection from 1 to 8
Embedded timestamp extraction for versions 1
6 and 7
MAC address extraction from version 1 identifiers
Nil and max UUID recognition
Accepts braces
uppercase and hyphen-free input
Canonical
compact
braced and URN forms shown
Clear explanation of which rule failed when invalid
Notes on what each version is suitable for
Runs entirely in your browser

How to Use

1. Paste a UUID in any common format — canonical, braced, uppercase or without hyphens. 2. The verdict appears immediately, with the reason if it is not valid. 3. Read the breakdown for version, variant and any embedded timestamp. 4. Copy whichever alternative format the receiving system expects. 5. Clear to check another.

Common Mistakes

  • Validating with a regex that only checks the shape. Thirty-two hex digits and four hyphens is not enough — the variant nibble has to be 8, 9, a or b, and a shape-only check passes strings that are not conforming UUIDs.
  • Assuming version 4 identifiers sort by creation time. They are random, so ordering by them scatters rows arbitrarily. Use version 7 if you want identifiers that sort chronologically.
  • Publishing version 1 UUIDs in user-facing data. They embed the generating machine's MAC address and a precise timestamp, which is more disclosure than most people intend.
  • Treating a nil UUID as a valid identifier. It is structurally legal but semantically means nothing is set, so it usually signals a bug upstream rather than real data.
  • Storing UUIDs as 36-character strings without thinking. The value is 128 bits; a native UUID column or a 16-byte binary field is less than half the storage and indexes far better.

Frequently Asked Questions

Explore related topics

#Validator