QQuickToolz
All tools
Random integer
–
Dice
Coin & list

How it works

UUID / Random generates UUID v4 and v7, random integers, dice rolls, coin flips and picks from a list. It's handy for developers who need test identifiers, and for anyone who needs a quick, fair decision.

Quick start

  1. Choose a generator.
  2. Set the options, such as a number range or a list of items.
  3. Generate and copy the result.

Frequently asked questions

What's the difference between UUID v4 and v7?

v4 is fully random, while v7 includes a timestamp, so identifiers sort naturally by creation time, which suits databases.

Is the pick really random?

It uses your browser's secure random number generator.

Can I use it to draw a winner?

Yes. Add the names to the list and generate a pick.

UUID versions and when each one fits

v4, v7 and the surprisingly deep rabbit hole of unique identifiers. · 5 min read

What a UUID guarantees (and what it doesn't)

A UUID is a 128-bit identifier designed to be generated without coordination — no central registry, no counter to synchronize. With random (v4) UUIDs you get 122 random bits; the chance of a collision is so small that the universe ends first. What a UUID does NOT give you is meaning: it carries no ordering, no locality, no information about its owner — just uniqueness.

v4 vs v7: the ordering problem

v4's pure randomness is also its weakness in databases: B-tree indexes insert randomly, so every new row lands somewhere in the middle of the index, thrashing the cache on large tables. UUIDv7 fixes this by putting a millisecond timestamp in the top bits — identifiers created later sort after earlier ones, inserts stay append-mostly, and the identifier itself records when it was born. For anything time-sensitive (logs, event streams, test fixtures), v7 is the modern default; for opaque secrets, v4's entropy is what you want.

Randomness beyond identifiers

The same generator powers the rest of the tool: integers in a range, dice rolls, coin flips and random picks from a list. All of it uses the browser's cryptographic random source (crypto.getRandomValues), which is a real CSPRNG — unlike Math.random, which is fast but predictable and unsuitable for anything an adversary could predict. For game mechanics and lotteries, CSPRNG quality is the difference between 'random' and 'random-looking'.