DevTools Hub

Search tools

Search for a developer tool

Generators

UUID Generator

Generate RFC 4122 v4, v1 or v7 UUIDs instantly in your browser.

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit identifier defined by RFC 4122 that is, for practical purposes, guaranteed to be unique across space and time without a central registration authority. UUIDs are widely used as primary keys in databases, request IDs in distributed systems, and identifiers for resources in REST APIs.

Which version should I use?

Is this safe to use for production data?

Yes. This generator runs entirely in your browser using the Web Crypto API (crypto.getRandomValues), the same cryptographically secure random number source used by security-sensitive applications. No UUID you generate here is ever sent to a server.

FAQ

Can two UUIDs ever collide?

In theory yes, in practice no. A v4 UUID has 122 random bits — you would need to generate around 2.71 quintillion UUIDs to have a 50% chance of a single collision.

Are UUIDs case-sensitive?

No. UUIDs are conventionally written in lowercase, but uppercase is equally valid per the spec — use the toggle above if your system expects uppercase.

Related tools