Skip to content

UUID Generator

Create version 4 (random) UUIDs for database keys, cache keys, testing or any unique identifier. Generate a single value or a batch, and copy them all at once.

What each field means

Every input below changes the result in a specific way. This is what each one expects, what it starts at, and the range it accepts.

How many

A plain number. Enter digits only, with no symbols or separators.

Starts at: A plain number. Enter digits only, with no symbols or separators.

Accepted range: 1 to 1000

Uppercase

Choose one of the following: Yes, No.

Starts at: No

How to read your result

The calculator reports the figures below. The headline figure answers the question in the title; the rows underneath break it down so you can see what drives it.

UUIDs
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Count
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Version
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
First UUID
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Characters each
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.

What this means

A UUID is a 128-bit identifier formatted as 32 hex digits with four hyphens. Version 4 uses random bytes, making collisions astronomically unlikely.

How we calculate it

Formula

16 random bytes with version (4) and variant bits set, formatted 8-4-4-4-12.

Worked example

Create a batch of 5 UUIDs for seeded data.

  1. 1Set count to 5.
  2. 2Generate — each UUID is unique.
  3. 3Copy the batch into your code.

Important assumptions

  • UUIDs are random, not sequential or derived from timestamps.

Frequently asked questions

What is a UUID v4?

A random 128-bit identifier with the version digit set to 4, per RFC 4122. It is used wherever a globally unique key is needed.

Are UUIDs always unique?

The random space is so large that the chance of two colliding is negligible — around one in 3.4 × 10^38.

Guide

Password Generator Guide: Length, Entropy and Security

The strongest passwords are long and random. Here is why length matters more than complexity.

Read next

Related tools