Generate a UUID Without Hyphens

Get a UUID as 32 hex characters with no hyphens. Useful for filenames, tokens and systems that reject the dashed format.

Part of the free UUID Generator. Runs in your browser — nothing is uploaded.

Generate a UUID Without Hyphens

The canonical UUID string has four hyphens. Some APIs, object keys and filenames want the same 32 hex digits with the hyphens stripped. Generate a normal UUID and remove the dashes, or copy the compact form below.

Worked example: Dashed and compact forms of the same ID

UUID

550e8400-e29b-41d4-a716-446655440000
550e8400e29b41d4a716446655440000

Validator result

✓ Valid UUID
Version: 4 — random
Variant: RFC 9562 (10xx)

compact: 550e8400e29b41d4a716446655440000

Practical tip

Re-insert hyphens at 8-4-4-4-12 before validating. Most UUID libraries reject the compact form until you restore the dashes.

How to use this UUID Generator

  1. 1Use the live tool above — it runs entirely in your browser and never uploads your data.
  2. 2Paste the sample from the worked example, or use your own input.
  3. 3Copy the result, then adapt the same steps in your editor, script, or pipeline.

Generate a UUID Without Hyphens FAQs

Is a 32-character hex string still a UUID?

Yes, if it is the same 128 bits. The hyphens are presentation only.

How do I add hyphens back in JavaScript?

Use a replace such as s.replace(/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/, "$1-$2-$3-$4-$5").