UUID URN Prefix – Why urn:uuid: Fails Bare UUID Validation

Local only

Explain the difference between a UUID URN string and the bare canonical UUID text expected by the validator.

45 chars · 1 line

Needs attention

Invalid UUID format

UUID copy and paste validation

Why does a UUID with urn:uuid: fail validation?

A UUID can appear inside a URN such as urn:uuid:550e8400-e29b-41d4-a716-446655440000. VetaTool's UUID validator intentionally checks the bare canonical 8-4-4-4-12 identifier, so the URN prefix is treated as extra text and the input fails the format check. This tool is free to use. No account or payment is required.

Last updated

What you can do here

  • Canonical 8-4-4-4-12 UUID validation
  • UUID version inspection
  • RFC 4122 variant checking
  • Nil UUID recognition
  • Uppercase hexadecimal support
  • Browser-local validation

Steps

  1. Paste the identifier exactly as received.
  2. If it begins with urn:uuid:, recognize that prefix as a URI wrapper rather than part of canonical UUID text.
  3. Remove the wrapper before validating the underlying UUID when bare UUID validation is what you need.

A UUID URN and a bare UUID are different text forms

The UUID portion can be perfectly canonical while the full URN string still fails a validator that is scoped to bare UUID text.

VetaTool trims surrounding whitespace only. It does not remove prefixes, braces, quotes, or other wrappers before applying the UUID pattern.

UUID URN validation example

The UUID is wrapped in a urn:uuid: prefix.

UUID input

urn:uuid:550e8400-e29b-41d4-a716-446655440000

Validation result

Invalid UUID format

Common questions

Frequently asked questions

Does this mean UUID URNs are invalid?

No. It means this particular validator expects bare canonical UUID text and does not parse the urn:uuid: wrapper for you.

Does VetaTool automatically remove prefixes?

No. The UUID inspector trims surrounding whitespace but otherwise validates the supplied text as-is.

Debugging a specific UUID issue? Browse UUID troubleshooting.