Skip to content

Free tool

UUID generator (v4)

Generate random version 4 UUIDs with your browser’s cryptographic random generator, one or many at once, ready to copy.

 

Version 4 (random) UUIDs from your browser’s cryptographic random generator.

What a UUID is

A UUID (universally unique identifier, called GUID on Windows) is a 128-bit value written as 32 hex digits in five groups: 8-4-4-4-12. Version 4 UUIDs are random apart from a few bits that mark the version and variant, which leaves 122 random bits. The chance of two colliding is so small that systems create them independently without coordination.

Which version to use

  • v4 (random): the default for most IDs.
  • v7 (time-ordered): starts with a timestamp, so new IDs sort roughly by creation time, which keeps database indexes compact. Prefer it for primary keys in large tables.
  • v1 (time and MAC address): leaks the machine address; avoid.
  • v5 (name-based): the same input always gives the same UUID, useful for deterministic IDs.

UUIDs in monitoring

Request and trace IDs are close relatives: distributed tracing gives every request a random trace ID so logs and spans from many services can be joined. Logging a request ID with every line is the cheapest debugging improvement most teams can make.

Using it safely at work

Online developer tools are a common way secrets leak: people paste production tokens, customer records or private keys into a website that quietly logs them. This page does all its work in your browser with standard Web APIs, makes no network request with your input, and stores nothing, so it is safe to use with real data, and you can confirm that in your browser’s network panel. Even so, treat anything you paste as you would treat a screenshot: rotate a token that was exposed, never share links that contain it, and prefer command-line tools on the server itself for very sensitive material.

Frequently asked questions

Is my data sent to a server?

No. This tool runs entirely in your browser; nothing you paste is uploaded or stored.

Are these UUIDs truly random?

They come from crypto.randomUUID, the browser’s cryptographically secure generator.

Can two UUIDs be the same?

In practice no; the probability is negligible.

UUID or auto-increment ID?

UUIDs can be created anywhere without coordination and do not reveal counts; auto-increment IDs are smaller and ordered.

More free tools

All tools