Skip to content

Random Number Generator

Generate cryptographically secure random numbers, roll dice, flip coins.

Install Random Number Generator

  1. 1Tap the Share button — in Safari's toolbar or its ⋯ menu.
  2. 2Scroll down and tap Add to Home Screen.
  3. 3Tap Add. Random Number Generator then opens from your Home Screen like an app and keeps working offline after your first visit.
  1. Done: Pick a tool
  2. 2 Set & go
  3. 3 Use result

Step 2 of 3: Set the range or options and press the button.

Numbers will appear here

🔒 Uses the Web Crypto API for cryptographically secure randomness. No data sent to any server.

All Calculators

Random Number Generator

Generate cryptographically secure random numbers using your browser's built-in Crypto API. Set any range, generate multiple numbers at once, and choose whether duplicates are allowed. Perfect for games, contests, giveaways, statistical sampling, and decision-making. Beyond basic number generation, our tool includes a virtual dice roller supporting standard tabletop RPG dice (d4, d6, d8, d10, d12, d20), a fair coin flipper, and a list randomizer that shuffles any list you paste in.

The distinction that matters is the source of randomness. Math.random, which most online generators use, is a fast pseudo-random algorithm whose output can be predicted from previous values — fine for shuffling a playlist, not fine for a giveaway with a prize attached. This generator uses crypto.getRandomValues, the browser's cryptographically secure source, seeded by the operating system. That makes results defensible when someone asks how the winner was chosen, and it costs nothing extra.

How to use Random Number Generator

  1. Set your minimum and maximum values and the quantity of numbers to generate.
  2. Toggle "No duplicates" if you need unique numbers only.
  3. Click "Generate" to create your random numbers.
  4. Use the Dice, Coin, List and Lottery tabs for other random tools — the Lottery tab picks lines for Powerball, Mega Millions, EuroMillions, Eurojackpot, UK Lotto or 6/49.

Features

  • Custom range — Set any min and max values for number generation.
  • No duplicates option — Ensure every generated number is unique.
  • Dice roller — Roll d4, d6, d8, d10, d12, and d20 dice.
  • Coin flip — Fair heads/tails result.
  • List randomizer — Paste any list and shuffle it randomly.
  • Cryptographically secure — Uses window.crypto.getRandomValues() for true randomness.

Frequently Asked Questions

Are these random numbers truly random?

Our generator uses the Web Crypto API (window.crypto.getRandomValues), which provides cryptographically secure pseudorandom numbers. This is significantly more random than standard Math.random() and suitable for contests, security applications, and fair drawings.

Can I generate random numbers without repeats?

Yes. Enable the "No duplicates" option to ensure every generated number is unique. This is perfect for lottery draws, random assignments, or creating unique identifiers. The quantity must not exceed the range size.

How does the dice roller work?

Select your dice type (d4 through d20), choose how many dice to roll, and click roll. Each die generates an independent random result using the Crypto API. The total sum is displayed alongside individual results.

Is this random enough for a giveaway or a prize draw?

Yes. Values come from crypto.getRandomValues, the same cryptographically secure source used for session tokens and key generation, rather than the predictable Math.random most sites use. If you need to show your working, record the entry list and the generated result — the randomness itself is not something an entrant can game.

How do I pick winners without picking the same person twice?

Turn duplicates off and generate as many numbers as you have prizes. The generator then draws without replacement, so each index comes out at most once. For a named list, the list randomiser shuffles the whole thing and you take the first N entries.

Search tools

  • Merge PDFPDF Tools
  • Sign PDFPDF Tools
  • Compress PDFPDF Tools
  • PDF to WordPDF Tools
  • PDF to TextPDF Tools
  • PDF to ImagePDF Tools
  • Image CompressorImage Tools
  • Background RemoverImage Tools
  • Image to Text (OCR)Image Tools
  • HEIC to JPG ConverterImage Tools