Useful Hacks

Random Number Generator

Generate random numbers within a custom range.

Generated locally in your browser. Nothing is sent to a server or stored.
  • Draw a single number or a whole batch at once.
  • "No repeats" mode draws from a shrinking pool, so a batch has no duplicates.
  • Uses `crypto.getRandomValues` — a cryptographically secure random number generator (CSPRNG), not `Math.random()` — and runs entirely on your device.

Why this is private

  • Generated locally in your browser. Nothing is sent to a server or stored.
  • Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
  • Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.

Overview

Generates one or more random integers within a minimum and maximum range (both inclusive), with an option to draw without repeats.

How to use it

  1. 1Set the minimum and maximum values.
  2. 2Choose how many numbers to generate.
  3. 3Optionally disallow duplicates.
  4. 4Click Generate, then copy the results.

Frequently asked questions

What people use it for

Pick a raffle or giveaway winnerSet the range to the number of entries and draw one.
Draw several unique numbersTurn on "no repeats" to pick, say, 6 distinct numbers from 1–49.
Randomise an orderGenerate a shuffled set of positions for a running order or test cases.
Get a quick samplePick random row numbers to spot-check a spreadsheet.

Related tools

All developer tools

Ready to use Random Number Generator?

Random Number Generator

Search tools

Search for any tool by name, category or keyword