Format converter

UUID Converter

Convert UUIDs between hyphenated, compact, uppercase, lowercase, GUID braces and URN formats in your browser.

Client-side format converter

UUID Converter

Ready to convert

Use the buttons below to switch between hyphenated, compact, uppercase, lowercase, GUID braces and URN formats.

8b9019fe-1225-4d12-9ba8-91f2fc9ffb6c
Client-side conversions
Not sure? Use UUID v4 for random IDs, UUID v7 for sortable database IDs, and GUID for Microsoft/.NET systems.
Generated locally in your browser.No backend used.Nothing is uploaded.
Advanced options
Format
Copy formats
ShortcutsEnter/Space: generateCmd/Ctrl + C: copyB: bulkV: validate
UUID v4 Random identifiers for APIs, files, sessions and records.

Convert valid UUID text without changing the underlying 128-bit identifier. Case, hyphens, braces and the urn:uuid prefix are representations of the same value, so this workflow is useful at API, database and copy-paste boundaries.

Key takeaways

  • Formatting a UUID does not generate a new identifier.
  • Validate before converting so malformed input is not silently normalized.
  • Use one canonical storage format even when clients accept several representations.

For implementation context, continue with No Hyphens, Uppercase, and Lowercase. These pages cover the closest generator, comparison, validation or storage decisions without repeating this guide.

What UUID conversion changes

A canonical UUID is usually shown as lowercase hexadecimal in an 8-4-4-4-12 pattern. Removing hyphens, changing letter case, adding GUID braces or adding a URN prefix changes the text representation, not the 128 bits it represents.

That distinction matters when a UUID is used as a key. A converter should preserve every hexadecimal digit and only alter the requested wrapper or separators.

Normalize at system boundaries

Accept common UUID representations at an input boundary, validate the version and variant, then store a canonical value or a native UUID type. Normalization prevents case-sensitive string comparisons and inconsistent joins from becoming application bugs.

Do not use text conversion as an authorization check. A valid identifier still needs ownership, existence and permission checks on the server.

Lossless compact formats

Removing hyphens produces 32 hexadecimal characters and remains lossless. Base58 and Base64url can encode the full 128 bits more compactly, while truncating the UUID discards entropy and raises collision risk.

FAQ

UUID Converter questions

How do I format a UUID with hyphens?

Paste the 32 hexadecimal digits in the converter and choose Add hyphens. The result uses groups of 8, 4, 4, 4 and 12 characters. The converter checks the UUID before returning a formatted value.

Can I format a GUID with braces or uppercase letters?

Yes. Choose Add braces or Uppercase and copy the result. These options change how the identifier is displayed while preserving the UUID value.

Does formatting turn UUID v4 into UUID v7?

No. Formatting preserves the version and the underlying bits. Creating a UUID v7 produces a new identifier; it cannot preserve the identity of an existing UUID v4.

Primary references

Standards and technical sources

The implementation and guidance on this page are checked against these standards and platform documentation sources.

UUID Formatter & Converter - Hyphens, Case, Braces and URN