Skip to content
OddsockLocal
Local
Source text
Length6
How many1
ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Set the number of digits the keypad allows.
  2. Generate one, or a list if you are provisioning several locks.
  3. Store it as text so a leading zero survives.
  4. Do not reuse a PIN across doors and websites.

What is PIN generator?

A keypad that only accepts digits cannot use a passphrase, and a birthday is the first PIN an attacker tries. This page draws digits from a cryptographic random source. The opening length is 6, which is one million possibilities, about 20 bits. That is reasonable for a door code or a SIM that locks after a few misses. It is a poor secret for anything that allows unlimited tries online.

Read more

Length runs from 1 to 128 digits, and you can draw up to 1000 PINs. Leading zeros are real digits, so a PIN can start with 0 and a spreadsheet will eat it if you do not store it as text. One test draw is 738059. Do not use that one. The page does not remember it.

If the system accepts letters, use the password or passphrase page. A PIN is what you generate when letters are impossible.

Use cases

  • A new alarm panel gets a 6-digit code that is not a birthday.
  • A phone hotspot that only allows digits gets a fresh PIN.
  • A stack of test accounts needs numeric codes a QA script can type.
  • A teacher shows a class how small one million really is.
  • A locker bank replaces sequential codes 1001, 1002, 1003.

A six-digit door code

Length 6, one PIN.

738059 in one test draw. Yours will differ. Six digits is about 20 bits, suitable where the device locks you out, not where guesses are free.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

No. Ten thousand possibilities is a short afternoon if the site does not rate-limit. Keep 4-digit codes on devices that stop accepting guesses.