DFK Studio

Generate UUIDs

Generate v4 random or v7 time-ordered UUIDs in bulk, from your browser's cryptographic random source. Nothing is sent anywhere.

  • Free, no account
  • Nothing is uploaded
  • Runs in your browser

How it works

  1. 1 What goes in How many, and which version
  2. 2 It runs in your browser On your own device. Nothing is uploaded, there is no queue and no account, and it keeps working with the network switched off.
  3. 3 What comes back UUIDs from real randomness

What it does

Up to 250 at a time, v4 or v7, from the browser's own cryptographic random source. Nothing is requested from a server, which also means no two visitors can be handed the same list.

This page does the work itself. Your data is handled by the browser and never sent anywhere — there is no server here to send it to.

Questions

v4 or v7?

v4 is 122 random bits and the right default. v7 puts a millisecond timestamp in its high bits so the values sort chronologically, which matters when they are database primary keys: random v4s scatter inserts across a B-tree index and fragment it, while v7s append in order. The cost is that a v7 reveals roughly when it was created.

Can two UUIDs collide?

In practice, no. With 122 random bits you would need to generate about a billion a second for 85 years to reach a 50% chance of a single collision. The realistic risk is not the mathematics but a weak random source — which is why these come from crypto.getRandomValues and the page refuses to generate any if that is unavailable.

Is it safe to generate them in a browser?

For identifiers, yes: crypto.getRandomValues is the same cryptographic source the platform uses for keys. Generating them here also means the list was never transmitted, unlike an API that hands you identifiers it has seen.

Every shelf