Compact UUIDs

UUID Without Hyphens

Remove UUID hyphens or add hyphens back to compact UUID strings directly in the 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.

A UUID without hyphens contains the same 32 hexadecimal digits as the canonical 36-character form. Use the compact representation only when a protocol or storage boundary requires it, and reinsert separators predictably when displaying it.

Key takeaways

  • Removing four hyphens preserves all 128 UUID bits.
  • A compact UUID must still contain exactly 32 hexadecimal characters.
  • Prefer native UUID database types over manually compacted text where available.

For implementation context, continue with UUID Converter, UUID Regex, and UUID Validator. These pages cover the closest generator, comparison, validation or storage decisions without repeating this guide.

Canonical and compact UUID text

The standard display form has 36 characters: 32 hexadecimal digits and four separators. The compact form removes only those separators. Version and variant information remains in the same hexadecimal positions.

Compact UUIDs can be useful in fixed-width exports, legacy fields and systems that reject punctuation, but the canonical form is easier for people and tooling to recognize.

Add hyphens back safely

Validate that the input contains exactly 32 hexadecimal characters, then split it into groups of 8, 4, 4, 4 and 12. Avoid guessing where separators belong when extra characters or a truncated value are present.

Storage and API notes

A native UUID column stores the value as 16 bytes regardless of how it is displayed. For JSON APIs, canonical hyphenated strings are widely understood and usually worth the four extra characters.

FAQ

UUID Without Hyphens questions

Is UUID Without Hyphens private?

Yes. The tool is designed to run in your browser. Generated UUIDs are not uploaded to a backend server for generation.

Can I use it without an API?

Yes. This site intentionally avoids a backend API for UUID generation and focuses on private frontend generation, validation and conversion.

Can I bookmark my preferred settings?

Yes. Version, count, mode and formatting settings can be reflected in the URL query string for bookmarking or sharing.

UUID Without Hyphens - Remove or Add UUID Hyphens