Random number generator. Generate cryptographically secure random numbers with custom ranges, decimal/integer control, and bulk generation up to
100% browser-based — your data never leaves your device
Generate cryptographically secure random numbers with custom ranges and count.
Enter minimum and maximum values for the random numbers.
Set how many random numbers to generate (up to 1000).
Toggle decimals, unique-only mode, sort order, and separator format.
Click Generate or press Ctrl+Enter to generate random numbers.
Convert length, weight, temperature, area, and volume units.
Number Base ConverterConvert between binary, octal, decimal, and hexadecimal number systems.
Percentage CalculatorCalculate percentages easily with three common modes.
Chmod CalculatorConvert Unix file permissions between numeric and symbolic formats.
Random Number GeneratorGenerate cryptographically secure random numbers with custom ranges and count.
Scientific CalculatorPerform scientific calculations with trigonometric, logarithmic, and exponential functions.
Set a range, pick your number type, and generate as many values as you need in one click. Generation happens locally with the browser's Web Crypto API, so the process is fast and nothing you generate is transmitted anywhere.
Random numbers show up in more workflows than people expect. Developers and QA engineers need realistic test data — order IDs, ages, quantities, sensor readings — and generating it by hand or from a weak source produces boring, pattern-heavy data that hides bugs. This generator lets you produce up to 1000 values at once in any custom range, which is ideal for seeding test suites and filling databases with plausible numbers. Contest organizers use it to pick winners fairly, and statisticians use it to draw randomized samples for analysis and simulation.
What sets this generator apart is where the randomness comes from. It uses crypto.getRandomValues(), the same cryptographic source browsers use for security purposes, rather than the weak Math.random() function. If your numbers feed into something that should be unpredictable — a draw, a token, a security test — the source of randomness matters, and this tool uses the strong one. The decimal option with configurable precision covers floats in a specific range.
When randomness is part of a security decision, the generation process itself is sensitive. If you are producing numbers for a contest draw, a test account batch, or any unpredictable-value use case, an external service could log the values it hands back — or, worse, correlate them across requests. The entire point of randomness is that no one can predict it, and a third party in the middle undermines that.
This Random Number Generator produces every value locally in your browser using cryptographically secure methods. Your ranges, quantities, and results never leave your device, so the numbers are as unpredictable to outside observers as they are to you.
Enter the minimum and maximum values for the random numbers you want to generate.
Select integer or decimal, set decimal precision if applicable, and choose how many numbers to generate (1-1000).
Click Generate to produce random numbers, then copy them as comma-separated or newline-separated.
Practical examples to help you get the most out of Random Number Generator:
Range: 1 to 100 Type: Integer Count: 5 Output: 42, 17, 89, 3, 65 (varies each time)
Range: 0 to 1 Type: Decimal (2 places) Count: 3 Output: 0.47, 0.83, 0.12 (varies each time)
Math.random() is not cryptographically secure. This tool uses crypto.getRandomValues() for true randomness. Use the Copy button to get your secure random numbers.
If the minimum value is greater than the maximum, the generator returns an error. Always ensure min <= max.
Yes. The generator uses the Web Crypto API's crypto.getRandomValues() for cryptographically secure random number generation.
Yes. Toggle the decimal option to generate random numbers with a configurable number of decimal places.
You can set any minimum and maximum values within JavaScript's safe integer range (up to 9 quadrillion).
Yes. You can generate up to 1000 random numbers at once and copy them all with a single click.
Set minimum and maximum values for your random numbers.
Generate 1 to 1000 random numbers at once.
Toggle between integers and decimals with configurable precision.
Copy all generated numbers as comma-separated or newline-separated.
Random Number Generator is useful in a variety of scenarios across different workflows:
Generating random test data for software development and QA
Picking random winners or selections for contests and giveaways
Creating randomized samples for statistical analysis and simulations
Use the bulk generation feature to create up to 1000 random numbers at once. Copy them as comma-separated or newline-separated lists.
This tool uses crypto.getRandomValues() for true randomness suitable for security-sensitive applications.
Explore more tools in the Math workspace:
Unit Converter
Convert length, weight, temperature, area, and volume units.
Number Base Converter
Convert between binary, octal, decimal, and hexadecimal number systems.
Percentage Calculator
Calculate percentages easily with three common modes.
Chmod Calculator
Convert Unix file permissions between numeric and symbolic formats.
Scientific Calculator
Perform scientific calculations with trigonometric, logarithmic, and exponential functions.