Random Number Generator

Generate cryptographically strong random integers in any range. Unique values, sorted output, up to 100,000 numbers per click. Free, browser-based.

How to use

  1. Set Range — Enter min and max integers, inclusive on both ends.
  2. Choose Options — Pick the count, whether values must be unique, and whether to sort the output.
  3. Generate — Numbers appear instantly — copy to clipboard or paste into your tool.

The Random Number Generator produces cryptographically strong random integers inside a custom range. Use it for giveaways, lottery picks, sampling, A/B testing, or playful experiments.

Features

  • Web Crypto (crypto.getRandomValues) — unbiased modulo via rejection sampling.
  • Custom inclusive range, unlimited integers (up to 100k).
  • Optional uniqueness and ascending sort.
  • Pure client-side — no analytics on your numbers.
produces values 1 through 10. Always re-read the docs of any library you use; off-by-one errors in ranges are one of the most common sources of subtle bugs." }} />

Avoiding Modulo Bias

Frequently asked questions

Are these numbers truly random?

When 'secure' is on we use the browser's crypto.getRandomValues — a cryptographically strong pseudo-random source seeded by the OS. For draws and giveaways it is more than enough.

Can I generate lottery picks?

Yes. Turn on 'unique' to ensure no duplicates, set range to e.g. 1–49, and count to 6. Then optionally sort.

What's the max count?

Up to 100,000 numbers per click — plenty for most simulations and sampling.

Does anything leave my browser?

No. All randomness, deduplication, and sorting happens locally with the Web Crypto API.

Related free tools

  • Text to Speech — Read any text aloud with browser voices. Adjustable rate, pitch, volume; dozens of languages.
  • QR Code Generator — Generate QR codes from URLs or text with custom colors.
  • Pomodoro Timer — Focus timer with customizable work and break intervals.
  • Stopwatch — High-precision stopwatch with lap timing and history.
  • Countdown Timer — Set a countdown timer with alerts and custom durations.
  • Time Zone Converter — Convert any date and time between 400+ IANA time zones. DST-aware. Add unlimited targets.
  • WhatsApp Link Generator — Create wa.me click-to-chat links with optional pre-filled messages. No app or registration needed.
  • Coin Flipper — Cryptographically fair heads-or-tails. Flip one coin or up to 10,000 at once with live statistics.
  • Dice Roller — Roll d4, d6, d8, d10, d12, d20, d100 with cryptographic randomness. Up to 100 dice at once.
  • Morse Code Translator — Translate text to Morse code and back. Listen with audio playback using Web Audio API.
  • Typing Speed Test — Test your typing speed in WPM and CPM. Real-time accuracy tracking with instant feedback.
  • Tally Counter — Multi-channel click counter that persists across reloads.

Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools