Free tool · Runs in your browser

Random
PIN generator.

Make a random 4 to 12 digit PIN for a phone, bank card, door lock, alarm, or voicemail. It skips the PINs people guess first, like 1234, 1111, 2580, birth years, and dates. No account, and nothing is stored or sent.

Ver en español

generating…
—

Preset
Length 16 characters
l 1 I O 0
Bulk generate

Uses the settings above, up to 500. With usernames, you get one row per user and no password contains its username. Usernames stay on this page.

Every password is generated locally, right in your browser, using its built-in cryptographic random generator. Nothing you generate here is ever stored, logged, or transmitted — not to Veteran Solutions, not to anyone. The only outside request is the optional breach check in Check mode, which sends 5 characters of a hash, never the password.

Last updated

How it works

Random, minus the obvious ones.

Most people pick PINs from a short list. This generator draws every digit at random and throws out any PIN on that list.

01

Skips the usual suspects

Repeats (1111, 1212), runs (1234, 2468), keypad lines (2580), doubled digits (1122), years (1985), and dates (0704, 071589) are skipped.

02

Still fully random

Skipped PINs are redrawn, so every PIN that is left is equally likely: 9,027 of the 10,000 four-digit PINs and 913,817 of the 1,000,000 six-digit PINs.

03

Local only

The PIN is made by code running in this page with your browser's cryptographic random generator. It isn't sent, logged, or saved.

When to use a PIN

When a PIN is enough, and when it isn't.

A PIN is short, so it only protects you when the device stops guessing after a few wrong tries.

  • Good fit: phones and tablets, bank and debit cards, door locks, alarm panels, voicemail, and apps that lock after failed attempts.
  • Use 6 digits or more when the device allows it. Six digits gives about a hundred times more choices than four.
  • Don't reuse your bank card PIN for your phone or a door code.
  • Never use a PIN as an online password. Use the password generator or passphrase generator instead.
  • Need codes for a team? Open Bulk generate to make up to 500 PINs at once, for example door codes for each employee.
FAQ

Common questions.

How random are these PINs?

Each digit comes from your browser's cryptographic random generator (crypto.getRandomValues), with no bias toward any digit. If a PIN is on the easy-to-guess list, the tool throws it out and draws a new one, so every PIN that remains is equally likely.

Why does it skip some PINs?

Attackers try the most common PINs first: repeats like 1111, runs like 1234, keypad lines like 2580, doubled digits like 1122, and years or dates like 1985 or 0704. Skipping them costs very little: 9,027 four-digit PINs remain. You can turn this off under “Skip easy-to-guess PINs.”

How long should my PIN be?

Use 6 digits or more when the device allows it. A 6-digit PIN has about 900,000 possible values after the easy ones are skipped, compared with about 9,000 for 4 digits. Either one is only safe where the device locks or wipes after a few wrong tries.

Can I make many PINs at once?

Yes. Open Bulk generate and pick how many, up to 500. You can also paste a list of names to get a CSV with one PIN per person, which is handy for door or alarm codes. Everything stays on this page.

Veteran Solutions, LLC

Need help with your network?

Monitoring assessments, NOC runbooks, network administration, and hands-on hardware deployment from a service-disabled veteran-owned small business in Waco, Texas.