Random Number Generator
Generate random numbers between any two values, such as 1 to 10 or 1 to 100. Whole numbers or decimals. Free and private.
Set a minimum and a maximum, choose whole numbers or decimals, and click Generate number. Pick up to 50 numbers at a time, make every number different, and sort them from low to high. Star the numbers you like, then copy them or download them as a .txt file. Free, no sign-up.
No Sign-Up, Nothing to Install
From 1-6 to 1-1,000,000
Numbers Made in Your Browser
Plus Decimals and Sorting
Choose your settings, then press the main button. Your results will appear here.
Tap the star beside a result to keep it here. Saved results stay in this browser only.
Private by design: every number is made in your browser using its secure random number generator (crypto.getRandomValues), and nothing is uploaded. Saved results stay on this device.
How Do You Generate a Random Number?
To generate a random number, type the lowest number in Minimum and the highest number in Maximum, then click Generate number. A random number between the two appears instantly. Both the minimum and the maximum can be picked, so a range of 1 to 10 can give you 1, 10 or any number in between.
Random numbers are useful every day. Pick a number from 1 to 6 instead of rolling a die, choose a raffle ticket from 1 to 500, draw lottery-style numbers with All different, or create decimal values for testing and maths practice. Choose How many to get up to 50 numbers in one click.
Numbers are created on your own device. The generator uses your browser’s secure random number generator (crypto.getRandomValues), so every number in the range has an equal chance and nothing is sent to Teasoft.
Popular ranges and what they are used for:
| Range | Settings | Used for |
|---|---|---|
| 1 to 6 | Minimum 1, Maximum 6 | Rolling a dice |
| 1 to 10 | Minimum 1, Maximum 10 | Guessing games and quick picks |
| 1 to 100 | Minimum 1, Maximum 100 | Games, raffles and percentages |
| 1 to 1,000 | Minimum 1, Maximum 1000 | Large raffles and ticket draws |
| 0 to 1 decimal | Type Decimals, 2 decimal places | Probability and maths practice |
| 6 from 1 to 49 | How many 6, All different, Low to high | Lottery-style number picks |
Common reasons to use a random number generator
- Drawing a raffle ticket or prize winner by number
- Rolling a virtual dice or picking a number for a board game
- Choosing a student, question or seat number in class
- Making lottery-style picks with no repeated numbers
- Creating random test data, samples or maths problems
- Settling a guess-the-number game with friends
What each control does:
| Control | What it does | When to use it |
|---|---|---|
| Minimum | The lowest number that can be picked | Set the start of your range |
| Maximum | The highest number that can be picked | Set the end of your range |
| Type | Whole numbers or Decimals | Choose decimals for maths or test data |
| Decimal places | Rounds decimals to 1, 2, 3 or 4 places | Only used when Type is Decimals |
| How many | Picks 1, 5, 10, 20 or 50 numbers | Get several numbers at once |
| Repeats | Allow repeats, or All different | Choose All different for raffles and lotteries |
| Order | As generated, Low to high or High to low | Sort a set of numbers |
| Generate number | Creates a new set of numbers | Start a fresh draw |
| Add more | Adds more numbers to your list | Keep drawing without losing earlier numbers |
| Copy all / Download .txt | Copies or saves every number | Share or keep your numbers |
Good to know
- Both ends are included. A range of 1 to 10 can give you 1 and 10.
- All different has a limit. You cannot pick more unique numbers than the range holds.
- Negative numbers work. Use a negative minimum, such as -50 to 50.
- Your numbers stay private. Everything is created in your browser.
- Not for real lotteries. Random picks cannot improve your odds of winning.
What You Can Do With This Tool
- Generate numbers for free. No sign-up, no limits and nothing to install.
- Pick any range. Set any minimum and maximum, including negative numbers.
- Get up to 50 numbers. Choose 1, 5, 10, 20 or 50 per click.
- Make every number different. Choose All different for raffles and lotteries.
- Use decimals. Generate numbers with 1 to 4 decimal places.
- Sort your numbers. Show them low to high or high to low.
- Add more. Keep adding numbers without losing your list.
- Fair and secure. Uses your browser’s secure random generator.
- Copy one number. Copy any single number with one click.
- Star your favourites. Save numbers to a list on this device.
- Copy or download. Copy all numbers or download them as a .txt file.
- Use it anywhere. Works on phones, tablets and desktops in any modern browser.
What Should I Do After Generating a Number?
Once you have your number, use these free Teasoft tools for your next draw or game.
How to Generate a Random Number
Set your range
Type the lowest number in Minimum and the highest number in Maximum, such as 1 and 100.
Choose your settings
Pick whole numbers or decimals, how many numbers you want, repeats and sort order.
Generate and save
Click Generate number. Star the numbers you want to keep, then copy them or download them as a .txt file.
Tip: for a raffle, set the minimum to your first ticket number and the maximum to your last, choose All different, and set How many to the number of prizes. Every winning ticket is different and the draw takes one click.
Which Settings Should I Choose?
| Your goal | Settings | Why |
|---|---|---|
| Roll a dice | 1 to 6, 1 number | Same odds as a six-sided dice |
| Draw raffle tickets | First to last ticket, All different | No ticket wins twice |
| Lottery-style picks | How many 6, All different, Low to high | Unique numbers in order |
| Coin flip | 1 to 2, 1 number | 1 is heads, 2 is tails |
| Test data or maths | Decimals, 2 decimal places | Realistic decimal values |
| Pick a percentage | 1 to 100, 1 number | A random value out of 100 |
Tips for using random numbers
- Check your range. Make sure the minimum and maximum cover every ticket or option.
- Use All different for prizes. It stops the same number winning twice.
- Sort long lists. Low to high makes numbers easier to read out.
- Keep a record. Download the numbers as proof of a fair draw.
- Draw in public. Share your screen so everyone can see the result.
After you generate your numbers
- Announce the result. Copy the numbers and share them in your group chat.
- Match numbers to names. Use the Random Name Picker when you have a list of names instead.
- Make it a show. Spin the entries on the Spin the Wheel for more suspense.
- Need a code? Create a strong password or PIN with the Secure Password Generator.
Frequently Asked Questions
How do I generate a random number?
Type a minimum and a maximum, then click Generate number. A random number in that range appears instantly.
Is the Random Number Generator free?
Yes. It is completely free, with no sign-up, no limits and nothing to install.
Are my numbers uploaded to a server?
No. Numbers are created inside your browser on your own device and are never sent to Teasoft.
Are the numbers truly random?
They come from your browser’s secure random number generator, crypto.getRandomValues, so every number in the range has an equal chance.
Are the minimum and maximum included?
Yes. Both ends of the range can be picked. A range of 1 to 10 can give you 1 or 10.
How do I pick a number from 1 to 10?
Set Minimum to 1 and Maximum to 10, then click Generate number.
How do I pick a number from 1 to 100?
Set Minimum to 1 and Maximum to 100, then click Generate number.
Can I generate numbers with no repeats?
Yes. Choose All different under Repeats and every number in the set will be unique.
How many numbers can I generate at once?
Up to 50 per click. Click Add more to keep adding numbers to the same list.
Can I generate decimal numbers?
Yes. Choose Decimals under Type and pick 1, 2, 3 or 4 decimal places.
Can I use negative numbers?
Yes. Type a negative minimum or maximum, such as -100 to 100.
Can I sort the numbers?
Yes. Choose Low to high or High to low under Order.
Can I use it for a raffle?
Yes. Set the range to your ticket numbers, choose All different, and set How many to the number of prizes.
Can it predict lottery numbers?
No. Lottery draws are random, so no tool can predict them or improve your odds. Use it for fun picks only.
How do I save the numbers I like?
Tap the star beside a number. It is added to your Saved results list on this device.
Can I download my numbers?
Yes. Click Download .txt to save every number in the list as a plain text file.
Does the Random Number Generator work on mobile?
Yes. It works in Chrome and Safari on Android phones, iPhones and tablets.
Which browsers are supported?
It works in Chrome, Edge, Firefox, Safari and other modern browsers. Nothing needs to be installed.
About Teasoft’s Random Number Generator
Teasoft’s Random Number Generator is a free online tool that picks random numbers between any two values. Choose whole numbers or decimals, make every number different, sort the results and generate up to 50 numbers at a time.
It is made for teachers, raffle organisers, gamers, students and developers who need fair random numbers in seconds.
Your numbers are generated on your device using a secure random generator and are never uploaded to Teasoft. Saved results stay in this browser.