UUID Format

UUID With Braces

Braces around a UUID are a Microsoft convention — the style you see in Windows registry paths, COM type identifiers and .NET tooling.

{…} wrappedMicrosoft GUID styleAny version

Generated locally with the Web Crypto API — nothing leaves your browser.

What Is UUID With Braces?

How to generate

  1. Turn the Braces toggle on.
  2. Choose a version and generate.
  3. Copy the braced value — 38 characters including the braces.

Use Cases

How UUID With Braces Compares

Braced{9a8b7c6d-5e4f-4a3b-8c1d-2e3f4a5b6c7d} — 38 chars
Canonical9a8b7c6d-5e4f-4a3b-8c1d-2e3f4a5b6c7d — 36 chars
Raw9a8b7c6d5e4f4a3b8c1d2e3f4a5b6c7d — 32 chars

Code Examples

JavaScript
const id = '{' + crypto.randomUUID() + '}';
C#
var s = Guid.NewGuid().ToString("B"); // braces
PowerShell
[guid]::NewGuid().ToString("B")

Frequently Asked Questions

Are braces part of the UUID?
No — they are presentation only. Strip them before validating or storing.
Why does .NET use braces?
It is a legacy of COM and the Windows registry. The 'B' format specifier has kept the convention alive.
Will a database accept the braced form?
PostgreSQL's uuid type accepts it on input and strips the braces. Others may reject it, so normalise first.

Related tools