Free tool
One-Time Pad
Print matched pads of random digits for two people, with the instructions to use them. A message written with one sheet can only be read by whoever holds the other copy.
Pads are made in your browser and wiped after printing. Nothing is sent to us.
The generator opens on a page of its own with nothing else running on it: no analytics, no chat, no sign-up forms. The offline copy runs with no internet connection.
How a one-time pad works
A one-time pad is a sheet of random digits that exists in exactly two copies. You turn your message into numbers, combine them with the digits on your sheet, and send the result. Only the person holding the matching sheet can turn it back into words. Used correctly, it’s the one cipher that can’t be broken, and all it takes is a pencil.
- Choose who it’s for. Two people, with initials or call signs printed on every sheet. Two-way pads let both of you send; one-way pads let one person send to the other.
- Pick the size. Up to 50 sheets per pad, one message per sheet, short or long.
- Add extra randomness if you want it. Mix in your own dice rolls, digits from random.org, or both, on top of your device’s secure random generator.
- Print and hand over. You get two packets, one for each person. Give the other packet to your partner in person.
What’s in each packet
- A cover sheet listing the packet’s pads and the rules.
- Two pages of instructions: the rules, a conversion table, step-by-step sending and reading, a worked example and a code word list to fill in.
- Your pad sheets, each with its own indicator group so the reader can find the right sheet, and a Used box to tick.
- A worksheet for working out messages by hand.
Want to read the instructions first? Open the generator and use Print instructions only.
Questions people ask
Is the generator free?
Yes. There’s no account and no sign-up needed.
Is a one-time pad really unbreakable?
The math is: without the key, every message of the same length is equally likely, so there’s nothing to work from. That only holds if the digits are random, only two copies exist and no sheet is ever used twice. The pad also can’t protect the paper. Anyone who finds a pad or a worksheet can read the messages it was used for, so keep pads hidden and burn sheets after use.
Where are my pads stored?
Nowhere. Your browser makes the pads, and they’re cleared from the page as soon as the print dialog closes, even if you cancel. Pads that aren’t printed are cleared after 10 minutes or when you close the tab. Nothing is sent to us or saved on your device.
Why does the generator open on its own page?
So nothing else runs beside it. Most websites, this one included, load analytics and other outside scripts that can see what’s on the page. The generator page loads none of them, and it’s locked so it can only run its own code and can’t send anything anywhere.
Can I use it without the internet?
Yes. Download the offline copy, save it to your computer or a USB stick, disconnect, and open it in your browser. It works the same as the online version. Only the random.org option needs a connection.
Where do the random digits come from?
From your device’s secure random generator, the same one browsers use to make encryption keys. You can also mix in dice rolls or digits from random.org, which makes its numbers from atmospheric noise. Each extra source is added digit by digit, so it can only add randomness, never remove it, and random.org never sees the finished pads.
Do I need dice?
No. Dice are there for people who’d rather not rely on a computer alone. Ten-sided dice give one digit per roll. Six-sided dice work too: rolls are used in pairs, and the few pairs that would make some digits more likely than others are thrown away.
What printer should I use?
One connected to your computer by USB, if you can. Office and network printers can keep copies of what they print. Don’t save to PDF either, because a PDF is a copy of the pad.
How many sheets do I need?
One for every message you expect to send before you can meet and swap new pads. Each sheet is used once. Twenty short sheets per pad is a good start.
