Home›Developer Tools›Random Number Generator

Random Number Generator

Any range, any count, no repeats if you like — plus dice, coin and lucky draw.

Also searched as: lucky draw number generator · dice roller

Random number generator

Pick numbers in any range — one for a lucky draw, five for a lottery, or a hundred for a sample — with or without repeats. Quick buttons give you a dice roll, a coin toss, a lucky number from 1 to 100 or a 6-digit code. The numbers come from your browser's cryptographic random source, which is fairer than a seeded calculator formula.

Uses

Need letters instead? Try the random letter generator or a strong password.

Frequently asked questions

Is it truly random?

It uses the browser's crypto.getRandomValues, a cryptographically secure generator — far better than a formula and good enough for draws and samples.

Can I generate numbers without repeats?

Yes, keep 'No repeats' ticked; the count cannot exceed the size of the range.

Can I pick a random name from a list?

Number your list, generate one number in that range and take the matching name.

More free tools

JSON Formatter & ValidatorBeautify, minify and validate JSONDeveloper ToolsXML FormatterPretty-print and validate XMLDeveloper ToolsBase64 Encode / DecodeText ↔ Base64, UTF-8 safeDeveloper ToolsURL Encode / DecodePercent-encode or decode any URL or query stringDeveloper ToolsHEX to RGB ConverterHEX ↔ RGB ↔ HSL with a live colour previewDeveloper ToolsRegex TesterTest JavaScript regular expressions with live matchesDeveloper Tools