RandomNr

Codes and Test Data

Random Lock Combination Generator

Generate combinations for dial and digit locks, in the length and range your lock uses.

Random Lock Combination Generator

24-8-31

Dial combination 0 to 39

How many combinations

Lock type

Generate a lock combination

This tool sets a random combination for a padlock or a locker. Choose a three number dial in the 0 to 39 style of a rotary padlock, or a three or four digit code for a keypad lock, and generate one combination or several.

Dial and digit locks

Rotary combination locks use three numbers on a dial that runs from 0 to 39, and the tool never repeats the same number twice in a row so the sequence turns cleanly. Digit locks use a straight run of three or four numbers, the kind a keypad or a cable lock takes.

Set it and remember it

Pick a combination, set it on your lock, and keep a note somewhere safe. Every combination is drawn from the browser cryptographic random source, so it is hard to guess, and nothing leaves your device.

Popular generators

Frequently asked questions

What lock types are covered

A three number dial in the 0 to 39 range of a rotary padlock, and three or four digit codes for keypad and cable locks.

Why avoid repeats on the dial

On a dial, turning to the same number twice in a row can be missed, so the tool never repeats a number back to back.

Can I generate several

Yes, up to 500 at once, handy when setting many lockers, ready to copy or export.

Are the combinations random

Yes. Every number is drawn from the browser cryptographic random source, so combinations are hard to guess.

Is it free

Yes, free and with no sign up.

Related generators

For a card or phone code see the PIN code generator.