Skip to main content

Home Tools UUID & Sample ID Generator

UUID Generator

Generate UUID v4 values and other sample identifier styles for test fixtures. Copy five IDs as separate lines or a JavaScript array.

UUID / ID generator
Click generate

Identifier Generator: Choosing a Format

How to use this tool

Select an identifier style and generate values for local fixtures or interface previews. Use UUID v4 when your test specifically expects the standard UUID v4 layout.

Limits and safe use

The tool also includes compact and numeric identifier styles that are not UUIDs. Random identifiers are not a substitute for your application’s database uniqueness guarantees or security tokens.

Example: recognize the UUID v4 layout

UUID v4 creates five values shaped like f47ac10b-58cc-4372-a567-0e02b2c3d479: 32 hexadecimal digits in five hyphenated groups. The third group starts with 4; the fourth starts with 8, 9, a, or b. Your values will differ.

The other modes create 21-character NanoID-style, CUID-style, 10-digit numeric, or 8-character samples. They are local implementations, not the Nano ID or CUID packages. All modes here use Math.random(), so do not treat them as security tokens. RFC 9562 defines standard UUID formats.

Tool notes by DummyDetails. Reviewed . Report a correction.

More Free Tools

Most tool inputs are processed in this page. The site also uses analytics and third-party assets; see the Privacy Policy.