Generate UUIDs

Random v4 UUIDs, one or a thousand, generated locally.

UUID v4

Random version 4 UUIDs, generated by your browser’s crypto module.

 

Generated on your device with the browser’s cryptographic random source, and never sent anywhere.

A UUID is a 128-bit identifier you can create anywhere without asking a central authority, which is why they end up as database keys, request IDs and file names.

These are version 4: random, apart from a few bits that mark the version. With 122 random bits, the chance of two colliding is small enough to ignore in any system you are likely to build.

Generate one, or a batch of up to 200 to seed a table, and copy them in one go.

How to use it

  1. Choose how many you need.
  2. Generate.
  3. Copy them, or download them as a text file.

Frequently asked questions

What version are these?

Version 4 — random. They come from your browser’s crypto.randomUUID(), which is the same generator used for cryptographic keys.

Could two of them collide?

In theory. In practice you would need to generate billions per second for decades before it became likely; database keys are not where your risk lives.

Should I use UUIDs as database primary keys?

They are convenient for distributed systems, but random ones scatter inserts across an index. If that matters, look at UUID v7 or ULIDs, which are time-ordered.

Are they generated on a server?

No, in your browser, so they never travel anywhere before you use them.

More free tools

All generators →