UUID Generator

Generate UUIDs — universally unique identifiers — one at a time or in bulk.

Unique IDs without a central authority

A UUID is a 128-bit identifier designed to be unique across space and time without any coordination — two systems can each generate one and be confident they will never collide. That makes them ideal for database keys, distributed systems, file names and anywhere you need an ID that no one else will accidentally reuse. This generates valid UUIDs singly or in batches.

Generate one or many, ready to copy into your code or data.

Which version to use

The common choice today is version 4, which is random, and it is the right default for most needs — unpredictable and simple. Version 1 is time-based and includes a timestamp, which sorts nicely but can leak when and roughly where it was generated. There is also a newer generation of time-ordered UUIDs designed to be database-friendly. For general use, random version 4 is almost always what you want; reach for the others only when ordering or embedded time genuinely matters.

Common questions

Which UUID version should I use?

Version 4, the random one, is the right default for most needs. Use time-based versions only when you specifically need ordering or an embedded timestamp.

Can two UUIDs ever collide?

In practice, no — the space is so vast that a collision is astronomically unlikely, which is the whole point.

Is anything uploaded?

No. The UUIDs are generated in your browser.

More Developer tools