Skip to content

TechnologyPublished About 1 min read

Standing tool on this site. The date is the catalog publish date. This page has no byline and no claimed reviewer. How this site is written.

UUID generator

Create a version 4 UUID in your browser. A reproducible seed is optional and is not a secret.

The answer

Each identifier uses the 8-4-4-4-12 hexadecimal shape of a version 4 UUID. By default the browser randomUUID function supplies it. The value is not written into the page address.

Generating a uuid in this browser…

What do you want to do next?

How this works

Generate calls the browser randomUUID function. The result has the version 4 nibble and the variant bits from the UUID rules. You can ask for up to 20 identifiers at once. They are created locally.

Reproducible mode is a separate choice and stays off until you check it. It hashes a seed into the same identifier shape. Anyone who can see the seed can rebuild those identifiers, so do not treat them as unguessable.

Practical steps

  1. 1

    Choose how many identifiers you need.

  2. 2

    Press Generate. They are created in this browser and are not added to the address.

  3. 3

    Check reproducible mode only when a fixture must stay the same across reloads.

Examples

  • One identifier

    The value uses the version 4 shape. A later visit creates a different identifier unless you opted into a seed.

Common mistakes

  • ×

    Publishing a reproducible page address and then treating the identifier as unguessable.

Frequently asked questions

Will a refresh change the identifiers?

Yes, unless reproducible mode is on. A normal refresh asks the browser for new identifiers.

Is a reproducible identifier a secret?

No. Anyone with the seed can rebuild it. Use the default generator when the value must stay unguessable.