Tools

Home
Password GeneratorLorem IpsumCoin FlipperRandom StringToken GeneratorRandom Color

Generate Random Digit Pairs

Generate random two-digit number pairs (00-99). Useful for lottery, games, and testing.

Your files never leave your browser
Count:0
Range:0-99
Unique:No
Ready·100% client-side

Pick a count, set the range, hit Generate — random two-digit pairs from 00 to 99 land in the output box, zero-padded and ready to copy. Flip on unique mode when you need a lottery draw or a bingo card with no repeats. And everything runs in your browser. Nothing gets uploaded.

How It Works

Set Count & Range
➔
Generate Pairs
➔
Copy & Use

The tool grabs your count, min, and max values, then calls Math.random() for each pair. If unique mode is on, it keeps a set of already-used numbers and skips duplicates. Output gets zero-padded — so 3 becomes 03 — then joined by whichever separator you picked. Whole thing happens in JavaScript, right in the browser tab.

Examples

Quick Lottery Pick

Grab 6 unique numbers between 01 and 49 for a ticket.

INPUT
Count: 6 Range: 01–49 Unique: Yes Separator: Comma
OUTPUT
07, 34, 12, 41, 29, 03

Bingo Card Numbers

A teacher needs 25 unique pairs for a classroom bingo game. The full 00–99 range works here since bingo cards use two-digit callouts.

INPUT
Count: 25 Range: 00–99 Unique: Yes Separator: Newline
OUTPUT
58 04 73 91 36 ... (25 total)

Test Data for a Form Field

You’re writing automated tests and need 50 random two-digit codes. Duplicates are fine — you actually want to verify your app handles repeats correctly.

INPUT
Count: 50 Range: 10–99 Unique: No Separator: Space
OUTPUT
47 82 15 63 28 91 15 44 73 56 82 37 ... (50 total)

Who Uses This

🎲 Game Designers

Generate random callout numbers for board games, bingo, or raffle draws without writing any code.

👨‍💻 Developers

Create bulk two-digit test data for input validation, mock APIs, or database seeding.

👩‍🏫 Teachers

Build math worksheets, probability exercises, or pick random student numbers for classroom activities.

📊 Data Analysts

Quickly produce random sample codes to populate spreadsheets or test data pipelines.

Common Mistakes

Asking for more unique pairs than the range allows

If your range is 10–20 (only 11 possible values) and you request 50 unique pairs, there simply aren’t enough. Widen the range or lower the count.

Setting min higher than max

The tool auto-swaps these values, so it won’t break. But if your output looks off, double-check that you didn’t accidentally flip the fields.

Forgetting zero-padding expectations

This tool always outputs two digits — 03, not 3. If you need single-digit formatting, strip the leading zero after copying. Most lottery and bingo systems expect the padded format though.

Technical Details

Frequently Asked Questions

What is a digit pair?

A two-digit number from 00 to 99. Single digits get a leading zero, so 5 shows up as 05. You’ll see this format in lottery tickets, bingo cards, and test datasets where consistent width matters.

Is this random enough for security purposes?

No. The generator uses Math.random(), which is a pseudo-random number generator. It works great for games, simulations, and test data. For passwords or encryption keys, you’d want a cryptographically secure source like window.crypto.getRandomValues().

Can I generate more than 100 unique pairs?

Only if your range supports it. The default range of 00–99 gives you exactly 100 possible values. Want more unique pairs? You can’t — there are only 100 two-digit combinations. You’d need to switch to a three-digit generator at that point.

Does this tool store my generated numbers?

Nope. Everything happens in your browser’s memory. The moment you close the tab or refresh the page, it’s all gone. Nothing gets sent to a server.

How do I use this for a lottery draw?

Set your range to match the lottery — say 01 to 49. Turn on unique mode so no number repeats. Pick the count (usually 5 or 6 numbers). Hit generate, and you’ve got a fresh set of picks. Do it a few times if you want multiple tickets.

Share: