Development

UUID v4 Generator

Generate random, cryptographically secure UUIDs (also known as GUIDs) version 4. Use them in databases, APIs, tokens and anywhere you need a unique identifier.

624b8e51-c760-4d68-a2e3-5005f6b6a86c

UUID v4 per RFC 4122. Cryptographically secure generation via crypto.randomUUID().

What is UUID Generator?

Generates universally unique identifiers (UUID/GUID) version 4, based on cryptographically secure random numbers. UUIDs are used as identifiers in databases, APIs and distributed systems when you need unique IDs without central coordination.

How to use

  1. Click generate to create a new UUID v4.
  2. Generate several at once if needed.
  3. Pick the format: standard (with hyphens) or compact.
  4. Use the copy button on any item in the list.

When to use UUIDs

  • 🗄️ Primary keys in distributed databases
  • 🔑 API tokens and session identifiers
  • 📁 File names to avoid collisions
  • 🔗 Message IDs in queues and event streams
  • 🧪 Test identifiers kept isolated

Frequently asked questions

What is a UUID?

A UUID (Universally Unique Identifier), also called a GUID, is a 128-bit identifier designed to be unique across the world. Version 4 is generated randomly.

Is the chance of collision zero?

It is essentially zero. To generate a v4 UUID collision, you would need to produce 1 billion per second for 85 years for a 50% probability.

Are the UUIDs cryptographically secure?

Yes. We use the browser's crypto.randomUUID(), which uses a secure entropy source. They are appropriate for database IDs, tokens and API keys.

What is the difference between UUID and GUID?

None technically. GUID (Globally Unique Identifier) is Microsoft's name; UUID is the RFC 4122 name. Same 128-bit format.

Related tools