Skip to main content
R

Random 6-digit number generator

PIN, lottery, or ID-style codes · 1,000,000 standard combinations · free, no signup

379462

Mode

1,000,000 values in the standard pool (with leading zeros) · any single draw is 1 in 1,000,000

About 6-digit numbers

This page generates random 6-digit numbers across 1,000,000 possible values (000000–999999). Common for OTP-shaped codes, lottery-adjacent practice, and larger raffle IDs.

Split intent on this page: PIN / code use (try PIN-safe mode), lottery-style digit draws (standard mode matches tools like Pick-N games), and ID / raffle tickets. Modes change the pool—not just the label.

Common uses

  • OTP / verification-code shaped test numbers
  • Larger raffle and giveaway ticket IDs
  • Lottery-style six-digit practice codes

How many 6-digit combinations exist?

ModeCount
Standard (leading zeros on)1,000,000
Standard (leading zeros off)900,000
No-repeat digits (leading zeros on)151,200
PIN-safeFilters sequences, repeats from the no-repeat pool

FAQ

Q: Does a 6-digit result include leading zeros?

By default yes—so a 6-digit value stays fixed width (for example 000042). Turn off "Allow leading zeros" to force the range 100,000–999,999 instead (900,000 values).

Q: How many 6-digit combinations exist?

With leading zeros: 1,000,000 (106). Without: 900,000. No-repeat mode (each digit at most once, leading zeros on) has 151,200 values. PIN-safe mode further filters sequences, all-same digits, and birth-year-like 4-digit patterns.

Q: What does PIN-safe mode do for 6-digit numbers?

PIN-safe keeps digits unique and drops obvious weak patterns: all digits the same (like 111111), straight sequences (like 012345), and—for 4-digit only—year-like values from 1900–2099. This is a convenience filter for practice codes, not a security product.

For fair giveaways that use numbered entries, see how to run a fair online raffle.

Did you know

6-digit numbers in the wild

Quick, trustworthy snippets you can actually use—math, odds, and real-world places these lengths show up.

Math

One million outcomes

6-digit codes cover 1,000,000 values from 000000 to 999999—the same order of magnitude as many national lotteries.

Security

OTP length

Banks and apps often send 6-digit one-time passwords: short enough to type, wide enough that brute force is impractical before the code expires.

Scale

Writing them all down

At one number per second, listing every 6-digit combo takes about 11.5 days nonstop.

Games

Lottery balls

Many draw games publish six main numbers; the headline jackpot is usually “match all six,” which maps cleanly to this digit length in people’s heads.

Screens

Hex colors

Web colors like #FF5733 pack red, green, and blue into six hex digits—24 bits, millions of shades, one compact string.

Logistics

Tracking snippets

Carriers often surface the last six digits of a long tracking ID so you can confirm a parcel without reading a 20-character barcode.

Random 6 digit combinations

Random 6 digit Number combinations starting with 0

070248
084126
046467
070032
055143
080457
063921
033829
077815
032718

Random 6 digit Number combinations starting with 1

168267
152238
100707
110169
170010
173441
127830
186930
188090
150494

Random 6 digit Number combinations starting with 2

243182
221006
221247
251041
259638
214696
293992
259717
217465
217499

Random 6 digit Number combinations starting with 3

306098
351567
376176
339862
385070
376630
394904
357645
374372
343630

Random 6 digit Number combinations starting with 4

467034
404844
480944
424835
423179
425516
406339
426744
497581
427158

Random 6 digit Number combinations starting with 5

501578
513801
551604
507386
519120
577674
583856
575520
524694
538632

Random 6 digit Number combinations starting with 6

683404
673567
663408
618162
612836
616223
688970
604858
662148
640660

Random 6 digit Number combinations starting with 7

799780
775772
764774
773786
704387
701325
712787
773919
782625
740783

Random 6 digit Number combinations starting with 8

817494
866221
866473
804346
809312
817183
894194
820536
825808
895243

Random 6 digit Number combinations starting with 9

953078
918943
998801
979744
931580
916550
946675
979895
914631
942013