Random 6-Digit Number Generator

A fair random 6-digit number in one tap. Optionally allow leading zeros, or ask for a whole list.

  • Free
  • No sign-in
  • Nothing leaves your device
  • Works offline
Range

100000 – 999999

Press Generate for your random number
Leading zeros
More options
Engine

Secure uses your device’s cryptographic random engine. Nothing can predict or repeat it.

Nothing you generate is sent anywhere. How we know

In 3 steps

How to use it

  1. Choose your style

    Leave leading zeros off for a normal number, or switch them on for PIN-style codes.

  2. Press Generate

    Ask for one number or many.

  3. Copy the result

    Copy it in one tap. Nothing is stored.

Fast facts

Good to know

  • 900,000 possible numbers

    From 100,000 to 999,999, every one equally likely.

  • 1,000,000 possibilities

    A 6-digit code has a million possibilities, about 20 bits of entropy. Good for demos and drawings, not for guarding anything on its own.

  • Repeats happen

    Pick 5 numbers and there is a 0.0011% chance that at least two match.

  • Good for

    test verification codes, sample order numbers, raffle tickets, demo data.

Ideas

What people use 6-digit numbers for

  • test verification codes
  • sample order numbers
  • raffle tickets
  • demo data

FAQ

Random 6-Digit Number Generator: your questions answered

How do I generate a random 6-digit number?

Press Generate. The tool picks a whole number from 100,000 to 999,999, so it always has exactly 6 digits, with every one of those 900,000 numbers equally likely.

Is this safe for one-time passcodes (OTP)?

The numbers are generated securely, but real one-time codes should be created and checked on your own server, where they can expire and be rate-limited. Use this page for testing and demos.

How many 6-digit numbers are there?

There are 900,000 numbers with exactly 6 digits when the first digit cannot be zero, or 1,000,000 if leading zeros are allowed (from 000000 to 999999).

Can I get several 6-digit numbers at once without repeats?

Yes. Set “How many”, and switch on “No repeats” in the full generator on the home page if you need every number to be different.

Are the digits really random, and are they stored?

They come from your browser’s cryptographically secure random generator and are created on your device. They are never sent to us and never stored.

Private by design. No accounts, no cookies, no tracking. Everything you generate stays on your device.

How we keep it that way

Ready? Press the button.

Free, fast and private. No sign-in, ever.

Generate now