Unsupported input
The tool may reject input that does not match the expected content, structure, or file type.
Fix: Confirm the tool input requirements and paste the correct type of data.
header • up to 320x100 / 728x90
Generate random numbers
Set a minimum and maximum range and generate one value.
content bottom • up to 300x250
sidebar • 160x600
Last reviewed:
Random Number Generator produces random integers or floating-point numbers inside a closed range [min, max] using either the browser's Web Crypto API (crypto.getRandomValues) for cryptographically strong output or Math.random for quick classroom-grade output.
The tool supports single values, batch generation (e.g., 100 numbers at once), uniqueness enforcement (no repeats — equivalent to a draw without replacement), and seeded deterministic mode for reproducible simulations.
Choose the settings or values required to create random Number from the tool.
Get generated random Number output that is ready to copy into your project or workflow.
The tool may reject input that does not match the expected content, structure, or file type.
Fix: Confirm the tool input requirements and paste the correct type of data.
Missing fields or partial content can block processing or produce weak results.
Fix: Provide the full required input before running the tool.
Sample or placeholder values can lead to output that looks valid but is not ready for real use.
Fix: Replace placeholders with your actual values before relying on the result.
In crypto mode, yes — output comes from the browser's Web Crypto API (crypto.getRandomValues), which draws from the OS entropy pool. That's suitable for raffles, security tokens, and any context where bias or predictability would compromise fairness. The 'Fast' mode uses Math.random, which is NOT suitable for security-sensitive use.
Uniqueness enforcement runs a draw-without-replacement algorithm. The tool generates values one at a time, rejecting duplicates, and guarantees every number in the output appears exactly once. If the requested count exceeds the range size (e.g., 15 unique values from [1, 10]), the tool warns and caps the output at 10.
Yes — supply a seed in the optional seed field. The tool uses a deterministic xorshift PRNG seeded with your string. The same seed always produces the same sequence, regardless of which browser or device you run it on, which is essential for reproducible simulations and shared test fixtures.
The range supports any 64-bit integer (about ±9.2 × 10^18). The batch count is capped at 10,000 per request to keep the UI responsive; for larger volumes, use the CSV download and run multiple batches, or call the same algorithm from a script (the source is viewable).
Cryptographically strong random is by design non-reproducible — each call pulls fresh entropy from the OS, so two devices running the same inputs see different results. If you need reproducibility, switch to Fast mode with a seed; crypto mode deliberately cannot be seeded.
For informal giveaways and raffles, yes — crypto mode is bias-free and unpredictable. For regulated lotteries, gambling operations, or high-stakes draws, most jurisdictions require a certified RNG (NIST SP 800-22, eCOGRA, etc.) with third-party audit trails. This tool meets the entropy bar but does not provide certification.
Continue the workflow with related tools for random Number, adjacent input and output steps, or other utilities in the same category. You can also browse the full Number & Bitwise Tools category for more options.
Sort numbers in ascending or descending order
Check if a number is prime
Generate random binary (0/1) strings of any length — handy for logic simulations and tests
Generate random decimal numbers in a min/max range with configurable precision
Generate Fibonacci numbers
Perform arithmetic operations in binary
Convert binary to hexadecimal
Perform bitwise AND operation
Perform bitwise NOT operation
Perform bitwise OR operation
Perform bitwise XOR operation
Convert decimal to octal