DevToolCase
Sign in Sign in

Generate UUIDs

Generate random UUID v4s, one or a hundred at a time, and read the version and date of a UUID or a ULID.

UUID v4: 122 random bits, from your browser’s cryptographic generator.

Read an identifier

Runs entirely in your browser: nothing you type is sent or stored.

What is a UUID?

A UUID (a GUID, at Microsoft) is a 128-bit identifier written as 32 hexadecimal digits in five groups, 8-4-4-4-12. It can be created anywhere, without a central counter, with no realistic risk of two being equal.

UUID v4: random

A version 4 UUID holds 122 random bits: even with billions of identifiers, the chance of a collision is negligible. The version is the first digit of the third group, xxxxxxxx-xxxx-4xxx-….

Identifiers are drawn from your browser's cryptographic generator, crypto.getRandomValues, never on a server.

v4 or v7 for a database?

As a primary key, a random v4 scatters new rows all over the index. A UUID v7 starts with its creation time, so new rows go to the end: faster inserts, and identifiers sorted by date.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.