Skip to content

UUID Generator

How to Generate a UUID

A UUID is a long, practically unique identifier used in software and databases. Generate one with the tool below, and here's what it is and when to use it.

Generate a UUID

Steps to generate a UUID

  • Click the button in the tool above to create a UUID.
  • Copy it with one click.
  • Generate as many as you need.

What a UUID is for

A UUID (universally unique identifier) is a 128-bit value, written as 32 hex digits in five groups, like 123e4567-e89b-12d3-a456-426614174000. Version 4 UUIDs are random.

They're used as primary keys, request IDs and file names where you need an identifier that won't collide, even across different systems, without a central counter.

Frequently asked questions

How do I generate a UUID?

Click generate in the tool above and copy the result. Each one is a random version-4 UUID.

Are UUIDs really unique?

Effectively yes. Random v4 UUIDs have so many possible values that a collision is astronomically unlikely.

What is a UUID used for?

As unique identifiers in databases, APIs and file names where two systems must not produce the same ID.

Related