UUID · GUID is a UUID

GUID vs UUID

Microsoft's GUID is a UUID with platform-specific formatting and byte order.

Key facts

RelationshipGUID is a UUID
Text formOften {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
BracesPresentation only
Byte orderMixed-endian in some Windows APIs
Collision behaviorSame as the underlying version
Common confusionCopying raw bytes between platforms

Formatting differences

Windows tools often wrap GUIDs in braces and uppercase the hex. Neither changes the value. The real trap is binary interchange: some Microsoft APIs store the first three fields little-endian, so copying 16 raw bytes between a Windows structure and an RFC-compliant parser can produce a different UUID string.

Safe interchange

Exchange GUIDs as canonical text, not raw bytes, unless both sides document the byte order. When you must use binary, state the layout explicitly and test round-trips across platforms.

Frequently asked questions

Is a GUID always a valid UUID?

The 128 bits are a UUID. Formatting and byte order may differ, so parse it as text when in doubt.

Why does the same value look different in two tools?

One may show braces or uppercase, or one may be interpreting raw bytes with a different endianness.

Can I use braces in a URL?

They must be percent-encoded. Prefer the canonical hyphenated form without braces.

New tools, straight to your inbox

One short email when we add tools worth using. No spam, unsubscribe anytime.