UUID Tool

UUID Formatter

Different systems expect UUIDs in different shapes — upper vs lower case, with or without hyphens, sometimes braced. Normalise them in one step.

Upper / lower caseHyphens on or offOptional { } braces

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

What Is UUID Formatter?

How to generate

  1. Paste a UUID (any of the supported shapes) into the input.
  2. Toggle Uppercase, Hyphens, and Braces.
  3. Copy the reformatted result.

Use Cases

How UUID Formatter Compares

FormatterReshapes an existing UUID's text
GeneratorCreates a new UUID
ValidatorChecks an existing UUID

Code Examples

JavaScript
const norm = (s) => s.replace(/{|}/g,'').replace(/-/g,'').toLowerCase();
const pretty = `${norm.slice(0,8)}-${norm.slice(8,12)}-${norm.slice(12,16)}-${norm.slice(16,20)}-${norm.slice(20)}`;
Python
import uuid
pretty = str(uuid.UUID(raw))

Frequently Asked Questions

Does formatting change the value?
No. Only the text representation changes; the 128 bits are identical.
Can it handle braces and missing hyphens?
Yes — it first strips braces and hyphens, then re-applies your chosen style.
Should I store UUIDs with or without hyphens?
Either is fine; databases like PostgreSQL store them as 128-bit values regardless of text form.

Related tools