UUID Generator

Generate a random RFC-4122 version 4 UUID with one click.

Create a universally unique identifier (UUID version 4) for database primary keys, API request IDs, test fixtures, file names, or anywhere you need a value that is practically guaranteed never to repeat. Each click generates a fresh 128-bit identifier from your browser’s cryptographically secure random source, so the values are safe to use as real keys, not just throwaway placeholders.

How to use the UUID Generator

  1. Click Generate UUID to produce a new identifier.
  2. Copy it with the Copy button.
  3. Click again as often as you need — each result is independent and unique.

Frequently asked questions

What is a version 4 UUID?

A UUID generated from random numbers. The chance of two ever colliding is astronomically small, which is why they are used as unique IDs.

What does a UUID look like?

Thirty-two hexadecimal digits in five hyphen-separated groups, for example 3f2504e0-4f89-41d3-9a0c-0305e82c3301.

Are version 4 UUIDs safe as database keys?

Yes, they are widely used for exactly that. Note they are not sortable by creation time — if you need that, a time-ordered format like UUID v7 is better.