Random number generator
Generate a random integer within a minimum and maximum range that you choose.
Processed on your device. Nothing is sent to any server.
Generate a random integer within the minimum and maximum range you choose, using the browser's cryptographic API for an unbiased result.
Uses rejection sampling over crypto.getRandomValues() to guarantee every number in the range has exactly the same probability of appearing.
Use cases
- Drawing a winner from a range of entry numbers.
- Picking a random page for a quality review.
- Generating test data.
How it works
- 1
Set the range
Type the minimum and maximum value.
- 2
Generate
Click Generate to get a random number within the range.
Frequently asked questions
- Can it repeat the same number across generations?
- Yes, each generation is independent; previously drawn numbers are not excluded.
Related tools
- Border Radius GeneratorCreates CSS border-radius with preview.
- Box Shadow GeneratorCreates CSS shadows with a live preview.
- Code 128 GeneratorGenerates a Code 128 barcode.
- Code 39 GeneratorGenerates a Code 39 barcode.
- Coin FlipFlips a virtual coin: heads or tails.
- CSS Gradient GeneratorCreates CSS gradients with preview.