Random 6 Digit Number Generator
Get a random six-digit number from 100000 to 999999.
Loading the random 6 digit number generator… If nothing appears, please turn on JavaScript.
This random 6 digit number generator gives you a whole number from 100000 to 999999. There are 900,000 possible six-digit numbers and each one has the same chance. Generate a single number or a list of up to 100 at a time for testing, games and practice.
How to use the 6 digit number generator
- Press Pick a number (or the spacebar).
- Pick several at once by changing how many numbers you want under Options.
- Keep “No duplicates” on so each number appears only once per draw.
- Sort the results from lowest to highest if you are drawing several.
When to use it
- Test data: create sample account numbers, order IDs or reference codes.
- Classroom maths: practise reading, rounding and comparing large numbers.
- Games: pick a secret number for a guessing game.
- Raffles and draws: assign unique six-digit ticket numbers.
- Writing: invent a believable case number or serial number for a story.
Keep, copy and share your numbers
Every result has a lock button. Locked results stay put when you generate again, so you can keep the numbers you like and reroll the rest. The history panel keeps your earlier results, and the back arrow takes you to the previous set if you generated one time too many. Press Wheel to put the current results on a spinning wheel and pick one with a bit of drama.
Use Copy to copy the results as a plain list, CSV or JSON, or download them as a file. Share copies a link that shows exactly the same results to whoever opens it, which is handy for games, classes and group chats.
How likely are repeats?
With 900,000 possible numbers, repeats are rare but not impossible. If you collect about 1,100 numbers over several rounds without excluding repeats, there is roughly a 50% chance that at least two will match, a surprise known as the birthday problem. Keep “No duplicates” on whenever every number must be unique. If you need codes that can start with zero, set the lowest number to 0 and add leading zeros yourself.
Drawing without repeats
With “No duplicates” on, each number in a single draw is different, just like pulling slips from a hat. To keep going over several rounds without repeats, turn on “Exclude already shown”: the generator then works through every number before any comes up again. Need a different range? Change the lowest and highest numbers under Options, or use the main random number generator.
How the randomness works
Every result comes from your browser’s built-in cryptographic random number generator (crypto.getRandomValues). We use rejection sampling, so every item has exactly the same chance of being picked, with no bias toward the start or end of the list. Nothing is sent to a server, and share links store the exact results so the person you send them to sees the same thing.
Frequently asked questions
What range does it use?
From 100000 to 999999, every number with exactly six digits.
Can I generate a list?
Yes. Set how many numbers you want, up to 100 at a time.
Will the numbers be unique?
Yes, within one batch, when "No duplicates" is on.
Can the numbers start with 0?
Not by default. Set the lowest number to 0 if you need that.
Is anything sent to a server?
No. Numbers are generated in your browser.
Is the random 6 digit number generator free?
Yes. It is free, with no sign-up.