Random Number Generator
Pick random integers within any inclusive Minimum (From) and Maximum (To) range using the browser Web Crypto API (crypto.getRandomValues). Supports drawing 1 to 500 numbers, toggling Allow Duplicate Numbers on or off, and sorting results in Original Random, Ascending, or Descending order.
How to Use Random Number Generator
Enter your inclusive **Minimum (From)** (default `1`) and **Maximum (To)** (default `100`) integer bounds—if Minimum is greater than Maximum, the tool automatically swaps the bounds into `[minVal, maxVal]`—and set **Quantity to Pick** between `1` and `500`. By default, **Allow Duplicate Numbers** is unchecked so every drawn integer is unique (capped automatically at the total available integers in the range `maxVal − minVal + 1`); check **Allow Duplicate Numbers** when sampling with replacement. Choose **Sort Output** (`Original Random`, `Ascending (Low to High)`, or `Descending (High to Low)`), click **Generate Again** to draw fresh 32-bit values via `window.crypto.getRandomValues(new Uint32Array(1))`, and click **Copy** to copy the comma-separated results. For cryptographic strings or UUIDs, visit our Random String Generator and UUID Generator.
- 1
Set Minimum (From) & Maximum (To)
Enter the inclusive lower and upper integer limits for your draw (e.g., 1 to 100).
- 2
Enter Quantity to Pick (1–500)
Choose how many numbers to generate in a single batch (capped at range size when duplicates are off).
- 3
Set Duplicates & Sort Order
Leave Allow Duplicate Numbers unchecked for unique draws, and pick Original Random, Ascending, or Descending sort.
- 4
Click Generate Again & Copy
Click Generate Again to draw new Web Crypto random integers and click Copy to export the comma-separated list.
Drawing 6 Unique Non-Repeating Random Numbers Between 1 and 49
When Allow Duplicate Numbers is unchecked, the generator tracks drawn integers in a Set until the requested quantity is filled.
Allow Duplicate Numbers: Unchecked (Unique) · Sort Output: Ascending (Low to High).
crypto.getRandomValues(Uint32Array(1)) draws integers in [1, 49] without duplicates, then sorts ascending.
6 unique integers in [1, 49] copied as a comma-separated string.
Related Free Tools
Explore more browser-based tools in Student & Academic Tools or browse the complete All Tools Directory.
Generate RFC 4122 Version 4 UUIDs (GUIDs) in batches of 1, 5, 10, or 25 with uppercase and hyphen formatting toggles.
Generate 1 to 25 random strings from 4 to 128 characters using uppercase, lowercase, number, and symbol character sets.
Calculate Arithmetic Mean, Median, Mode, Range, Min/Max, Sum, and Count from any list of numbers.
Online study timer with 25-minute Pomodoro, 5-minute Short Break, 15-minute Long Break, and Custom work/break intervals (1–180 min) plus Web Audio chime.