Set the range
Enter the minimum and maximum values. Negative bounds work fine.
Text utilities
Free online random number generator
The result will appear here after you run the tool.
Press Ctrl or Command and Enter to run the tool.
About this tool
Random Number Generator draws uniformly distributed integers between any two bounds using crypto.getRandomValues with rejection sampling, which avoids modulo bias. It supports counts up to 1000, a unique-values mode, and optional ascending sorting. Numbers are generated entirely in your browser and can be copied or downloaded.
Draw secure random integers for draws, testing, sampling, and game night. Set a minimum and maximum, choose how many numbers you need, and optionally require unique values or a sorted output. The generator uses the browser secure random source, so results are unbiased and never leave your device.
Built for daily work
How to use this tool
Enter the minimum and maximum values. Negative bounds work fine.
Pick how many numbers to draw, and enable unique or sorted output if your task needs them.
Press Generate, then copy the list or download it as a text file.
Key features
Rejection sampling over crypto.getRandomValues produces a uniform distribution without modulo bias.
The no-repeats mode suits draws and sampling where duplicates are not allowed.
Generate up to 1000 numbers at once for testing and data needs.
Sort the output ascending when order matters, or keep the raw draw order.
Practical use cases
For local tools, input is processed in your browser and is not sent to application analytics.
Data processing noticeTechnical details
Limitations and important notes
Frequently asked questions
They come from the browser cryptographic random generator, which is suitable for draws and sampling. They are not suitable as cryptographic keys by themselves.
Yes. Any integer bounds work, including negative minimums, for example -50 to 50.
The count is capped at the range size, so with bounds 1 to 5 you can get at most 5 unique numbers.
No. They are generated in your browser and only kept on screen until you copy or download them.
Related guides and solutions
A transparent explanation of local tool processing, temporary browser memory, local storage, downloads, analytics boundaries, and cases that require remote services.
Learn moreRelated tools
Text utilities
Generate strong, secure random passwords with selectable length and character sets, using browser cryptography.
Open toolDeveloper tools
Generate one or many cryptographically strong UUID version 4 values.
Open toolText utilities
Create up to 1,000 coherent synthetic records for development and testing.
Open tool