1. Vahty
  2. Free tools
  3. PIN generator

PIN generator

A random PIN in one tap. It is made in your browser and sent nowhere.

••••••

  

Digits

Runs in your browser. Nothing is uploaded or stored.

PIN or pattern: the numbers

This is how many possibilities each lock has when it is picked at random.

LockPossible combinations
4-digit PIN10,000
Pattern, 3 × 3 grid, four dots or more389,112
6-digit PIN1,000,000
8-digit PIN100,000,000
Pattern, 4 × 4 grid, six dots or moreabout 4.35 trillion

Pattern vs PIN vs Face ID: the full comparison

What “Skip easy ones” leaves out

Every PIN that is left is equally likely. For 4 and 6 digits your browser counts them itself. For 8 digits we counted once ahead of time, going through all 100,000,000 with the same rule. The page cannot know your own numbers, such as your house number or the end of your phone number. If the PIN looks like one of those, tap “New PIN”.

Using your PIN

A pattern in place of a PIN

Vahty, the vault app for iPhone, opens with a pattern you draw on a 4 × 4 grid, six dots or more. After 5 wrong patterns you wait, from 30 seconds up to 1 hour per try.

More about the pattern lock

Questions

Is the PIN really random?

Yes. Each digit comes from your device’s own random source (crypto.getRandomValues) and is equally likely. The PIN is made in your browser. The page does not send it anywhere and does not store it.

Is a 6-digit PIN safer than a 4-digit PIN?

A 6-digit PIN has 1,000,000 possibilities and a 4-digit PIN has 10,000, so 100 times as many. That holds only when the PIN is random. And it helps most when the lock makes you wait after wrong tries.

Is a pattern lock safer than a PIN?

It depends on the grid. A 3 × 3 pattern of four dots or more has 389,112 possibilities, fewer than a 6-digit PIN with 1,000,000. A 4 × 4 pattern of six dots or more has about 4.35 trillion.

Which PINs should I avoid?

All the same digit, runs like 1234, repeats like 1212, years and dates. This generator skips them when “Skip easy ones” is on. It cannot know your own numbers, such as a house number or a phone number. Those you have to avoid yourself.

More free tools

Coming soon. One email on launch day.