OnboxTools
Local processingNo uploadFree
Report bug

Random number generator online

RNG, dice roller, and number picker with crypto-grade randomness

Use this free random number generator to generate numbers in any range — integers or decimals, single picks or bulk lists. The built-in dice roller mode works like a google dice roller for tabletop games, raffles, and quick decisions.

Random String Generator
Generated numbers

Complete guide to generating random numbers online

What this random number generator does

A random number generator draws values by chance within limits you set. This number generator supports inclusive minimum and maximum bounds, batch output for spreadsheets, and a one-click picker that behaves like a dice roller when your range is 1–6.

Unlike toy scripts that rely on Math.random(), this rng generator uses crypto.getRandomValues — the same API browsers expose for security-sensitive work. That makes it a practical generator of random numbers for giveaways, QA fixtures, and classroom demos.

You can generate numbers as integers or decimals, request unique values without duplicates, and copy results instantly. Need alphanumeric tokens instead? Switch to the Random String Generator — numbers and strings are separate tools so each page stays focused.

How to generate numbers and use the dice roller

Set Min and Max to your range. For a standard die, use 1 and 6, open Dice roller / picker mode, and click Roll. For a list of random numbers, stay in Generate numbers mode, set Count, and press Generate.

Decimal mode lets you produce fractional values with a chosen number of decimal places — useful for simulations, pricing drafts, or science homework where integers are too coarse.

Unique mode samples without replacement: every value in the batch differs. You cannot draw more unique integers than exist in the range — widening Min/Max fixes that error.

Results appear in the output panel. Copy the comma-separated list or the single highlighted pick. Refreshing the page clears history; save anything you need for audit trails.

RNG generator vs basic randomizer numbers tools

Many sites label themselves a randomizer number or numbers generator but use predictable PRNGs. For informal games that is usually fine; for anything resembling a lottery or security token, prefer crypto-backed draws.

This rng generator is a random number generator website that never sends your range or results to a server. That privacy model matches how teams search for a random number generator online free and secure.

If you searched give me a random number or a random number between two values, the picker mode is the fastest path: two bounds, one click, one result on screen.

Dice roller and game-night use cases

Tabletop players often look for a dice roller or roller dice when they forgot physical dice. Map d6 to 1–6, d20 to 1–20, or percentile rolls to 1–100 with the same controls.

Board-game house rules sometimes need custom ranges — reroll on doubles, cap totals, or draw from a shrinking pool with unique mode enabled.

Teachers can project the picker for classroom activities: random student order, problem selection, or team assignment without bias accusations.

Batch random numbers for data and testing

QA engineers paste batches of random numbers into load tests, shuffle seeds, or synthetic datasets. Set Count up to 10,000 integers per run for volume without leaving the tab.

Analysts generating sample weights or lottery simulations can combine decimal mode with wide ranges. Export by copy — no CSV download required, though paste into Excel respects comma separation.

For reproducible unit tests in code, stub RNG in your test suite instead of this page — browsers do not expose deterministic seeds here.

Dice roll example

Set Min = 1, Max = 6, switch to Dice roller / picker, and roll. You might get 4 — the same fair distribution as a physical die over many rolls.

For five unique lottery balls from 1–49, use Generate numbers with Count = 5, enable Unique values, and copy the list into your spreadsheet.

Running a team raffle

Assign each entrant a number in a spreadsheet, set min/max to match entrant count, enable Unique values, draw one winner, and screen-share the picker result.

For multiple winners without replacement, either draw unique batches or reshuffle between rounds according to your published rules.

Simulating dice-heavy board games

Create presets mentally: 1–6 for d6, 1–20 for d20. Roll in picker mode between turns so everyone sees the same screen.

For 2d6, roll twice and add — or generate two numbers in batch mode and sum them in your head or sheet.

Random Number Generator FAQ

How do I get a random number between two values?

Set minimum and maximum, choose Integer or Decimal, and click Generate — or open Dice roller / picker and press Roll for a single result.

Is this random number generator truly random?

It uses crypto.getRandomValues, which is cryptographically strong for everyday use. It is not a hardware lottery machine, but it exceeds basic Math.random() quality.

Does this work as a dice roller?

Yes. Set Min = 1 and Max = 6 (or any die size), use picker mode, and roll. It works like a simple online dice roller for games and classrooms.

Can I generate unique numbers with no duplicates?

Yes for integers. Enable Unique values and ensure your range is large enough for the count you request.

Can I generate decimal random numbers?

Switch to Decimal type and choose decimal places. Min and max can be fractional.

Why did unique mode fail?

You asked for more unique integers than exist in the range. Widen the range or lower the count.

Does the Random Number Generator send my input to a server?

Yes. Everything runs in your browser. Your input is not uploaded, logged, or stored on our servers.

Do I need an account?

No account or sign-up is required. Open the page and start using the tool immediately.