UUID v4 Generator

Generate one or more universally unique identifiers (UUIDs) and choose the output format.

Generate UUIDs

Local generation

1 to 100 per batch.

Formatting

What is UUID v4?

A UUID is a 128-bit identifier used in database records, events, and APIs. Version 4 uses 122 random bits. The remaining 6 specify the version and variant.

The standard format uses 32 hexadecimal digits in five groups separated by hyphens. The 4 at the start of the third group identifies the version. 9a5e5341-cd29-45ec-b308-61af085d6f04

Differences between UUID v1, v4, and v7

  • UUID v1. Combines a timestamp, a clock sequence, and a node identifier that can contain a MAC address.
  • UUID v4. Uses cryptographic randomness to identify records without encoding their creation time.
  • UUID v7. Starts with a Unix timestamp in milliseconds, making identifiers easier to sort by time.

UUID specification (RFC 9562)

Frequently asked questions about UUIDs

How does the generator create UUIDs?

The generator uses crypto.randomUUID(), the browser’s own cryptographic API. It generates the values on your device.

Which format should I choose?

Use the standard hyphenated format for the widest compatibility. Uppercase represents the same UUID. Remove hyphens or add braces if the receiving system accepts that format.

Can two UUID v4 values be the same?

Yes. A collision is extremely unlikely with cryptographic randomness. When uniqueness is required, also enforce a unique constraint in your database.

How do I export UUIDs in bulk?

Choose 1 to 100 UUIDs, generate the batch, and click Copy list or Download .TXT. The text includes one UUID per line with the selected formatting.