All tools

UUID Generator

Generate up to 100 random UUID v4 identifiers at once, choose the format, and validate existing UUIDs.

Browser onlyYour input is processed in this browser and is not sent to SpeedyTools servers.
Share:
Generate UUIDs
lowercase
With hyphens
Validate UUID
About UUIDs

A UUID (Universally Unique Identifier) is a 128-bit identifier defined by RFC 4122. Anyone can create one without asking a central authority, and the result is unique for practical purposes.

UUID v4 builds the identifier from cryptographically secure random numbers. With 122 random bits, there are about 5.3 x 10^36 possible values, so a collision is very unlikely.

Features
UUID v4 from a cryptographic random source
Up to 100 UUIDs at once
Upper or lower case, with or without hyphens
Validates a UUID and reports its version
Common use cases

Database IDs

Use UUIDs as primary keys for database records

API keys

Generate identifiers for API tokens and keys

Session tokens

Give each user session its own ID

Distributed systems

Create IDs on separate nodes without coordinating between them

Frequently asked questions

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit identifier defined by RFC 4122. Version 4 UUIDs are random, so two of them colliding is extremely unlikely, though not impossible. They are common as database primary keys, API tokens, and session identifiers.

What is UUID v4?

UUID v4 is a randomly generated UUID. It has 122 random bits, and the other 6 bits record the version and variant. The odds of a duplicate are low enough for most uses.

Are UUIDs the same as GUIDs?

Yes. GUID (Globally Unique Identifier) is Microsoft's name for its implementation of the UUID standard. Both use the same format: 8-4-4-4-12 hexadecimal characters separated by hyphens.

How random are UUID v4 identifiers?

This tool uses the browser's cryptographic random source (crypto.randomUUID, or crypto.getRandomValues where that is missing). With 122 random bits, there are about 5.3 x 10^36 possible UUIDs. You would need to generate 1 billion UUIDs per second for about 85 years to reach a 50% chance of a collision.

Can I use UUIDs as database primary keys?

Yes, and it is common. Any server can create a UUID without asking a central counter. The cost is size: a UUID takes 16 bytes against 4 to 8 for an auto-increment integer, and random keys can slow down indexes in some databases.

Private by default

Generation and validation run in your browser. Nothing is sent to a server.