---
title: "Random Number Generator — Pick a Number Online | fbuff"
description: "Generate random numbers between any range, roll dice (D6 D20 D100), or pick random items from a list. Free, instant, no server."
url: https://fbuff.com/tools/random-number-generator/
---

Everyday

# Random Number Generator

Generate random numbers, roll dice, or pick random items from a list. 100% client-side.

Min

Max

Result42

All randomization runs locally in your browser.

![Two dice showing five and three below a display window repeating the roll, with a curved two-way arrow above](https://fbuff.com/content/random-number-generator.webp)

## How to use

1. Single: set Min and Max (from −999,999 to 999,999) and click Generate for one random whole number. Click Re-Roll for another.
2. Multiple: set Min, Max and Qty (up to 100). Turn off Allow duplicates to get all different numbers, like lottery picks.
3. Dice: choose the Dice Type (d4, d6, d8, d10, d12, d20 or d100) and the Count (up to 20), then Roll to see each die and the Total.
4. List: enter items one per line, set how many to pick, and click Pick. Use Copy or Copy All to share the result.

## Ways to use it

The four modes cover most everyday random choices:

| You need | Mode | Settings |
| --- | --- | --- |
| A number from 1 to 10 | Single | Min 1, Max 10 |
| Lottery-style numbers | Multiple | Min 1, Max 49, Qty 6, duplicates off |
| A giveaway winner by entry number | Single | Min 1, Max = number of entries |
| Tabletop game rolls | Dice | 2 × d6, or 1 × d20 |
| Who goes first, or a random team order | List | Names one per line, pick all, duplicates off |
| Random sample for a survey or test | Multiple | Min 1, Max = list size, Qty = sample size, duplicates off |

## How random is it?

Numbers come from crypto.getRandomValues(), the browser's cryptographic random number source, rather than Math.random(). Its output is designed to be unpredictable, which is what you want for draws and giveaways. Every number between Min and Max, including both ends, can come up.

With duplicates turned off, the tool shuffles the whole range and takes the first values, so no number repeats. If you ask for more unique numbers than the range holds, for example 10 different numbers between 1 and 5, it shows "Not enough unique values" instead of repeating.

## Fair draws and dice

For a public giveaway, number the entries first, write down the rules, then generate the winner while recording your screen or in front of witnesses. That way anyone can check that the number matches an entry.

Rolling several dice does not give every total the same chance. With 2 × d6, a total of 7 comes up in 6 of the 36 combinations, while 2 and 12 come up in only one each. That is the normal behavior of real dice, and the tool rolls each die separately in the same way.

## Frequently asked questions

### Can the same number appear twice?

Only when Allow duplicates is on. Turn it off in Multiple or List mode to get all different results.

### Are decimals or negative numbers supported?

Negative numbers yes, down to −999,999. Results are whole numbers only.

### Is this good enough for passwords?

The randomness source is cryptographic, but a number is not a strong password. Use the Password Generator for passwords.

### Is anything sent to a server?

No. Everything runs in your browser.

Found a problem or have an idea? [Report a problem](https://fbuff.com/contact/?tool=random-number-generator)

Share

## You might also like

- - [QR Code Generator Generate QR codes for URLs, text, or Wi-Fi credentials. Entirely in your browser.](https://fbuff.com/tools/qr-generator/)
- - [Random Username Generator Generate random usernames combining an English word, random characters, and a trailing number. 10-15 characters, 100% client-side.](https://fbuff.com/tools/random-username-generator/)
- - [Pomodoro Timer Run 5, 10, 25, or 50 minute focus timers with an MP3 alarm and browser notifications.](https://fbuff.com/tools/pomodoro-timer/)
- - [Age Calculator Find out how many days you've lived and countdown to your next birthday.](https://fbuff.com/tools/age-calculator/)
- - [Unit Converter Convert temperature, length, weight and cooking units instantly.](https://fbuff.com/tools/unit-converter/)
- - [Random Choice Spinner Spin a lucky wheel for giveaways, team picks, lunch choices, and indecisive moments.](https://fbuff.com/tools/random-choice-spinner/)
- - [Timezone Meeting Planner Compare a time across multiple cities to find a meeting slot that works for everyone.](https://fbuff.com/tools/timezone-planner/)
- - [QR Code Decoder Decode QR codes from images or your camera. Reads URLs, WiFi, email and text. 100% client-side.](https://fbuff.com/tools/qr-decoder/)
- - [Todo / Task List Simple todo list with priority levels and filters. Everything saved locally in your browser.](https://fbuff.com/tools/todo-tasks/)
- - [Text to Speech Text to speech online free with built-in browser voices. Paste long text and read aloud online instantly.](https://fbuff.com/tools/text-to-speech/)
