Random Number Generator

Pick random numbers between any min and max. Integer or decimal output, with or without duplicates. Browser-only, uses cryptographically-strong randomness.

Example: min=1, max=10047

Generates random numbers between a minimum and maximum value, using the browser's crypto.getRandomValues for cryptographically-strong randomness — not predictable like Math.random.

Default behaviour returns 10 integers between 1 and 100. Useful for rolls, draws, sampling, and anywhere you need a defensible "truly random" pick.

Use cases

Lottery / raffle / giveaway draws

Pick a winner number from your participant list (1 to N). Cryptographically random; defensible if anyone questions the pick.

Dice rolls

Roll one or many dice of any face count. 1–6 for d6, 1–20 for d20, 1–100 for percentile.

Random sampling

Pick N random rows from a list of M for a quick-look spot check or QA pass.

Game mechanics

Random-event triggers, damage rolls, loot drops — any game logic that needs a roll.

Test data generation

Generate random IDs, prices, or quantities for QA test data — much faster than typing fake numbers by hand.

Frequently asked questions

Is the randomness really random?

It uses crypto.getRandomValues — the browser's cryptographically-secure source. Suitable for raffles and other high-stakes draws.

Can I generate numbers with duplicates?

By default, yes — each draw is independent, so duplicates are possible. To pick unique numbers from a range, generate more than you need and dedupe with Remove Duplicate Lines.

Can I get decimal numbers?

The default is integer-only. For decimals, multiply your bounds and divide the output (e.g. min=0, max=10000, then divide by 100 in your head).

How does this compare to a physical die?

Indistinguishable for any practical purpose. The cryptographic randomness is at least as fair as any physical die or coin you could roll.

Embed our tools on your website

Free for any site. No signup. Iframe loads from our servers and stays up-to-date automatically.

📋 Embed the Word Counter

Copy this snippet:

Live preview:

📋 Embed this Random Number Generator

Copy this snippet:

Live preview:

Want more options? All embeddable tools →