Backup code generator

Create a set of random one-time recovery codes for an app, a shared account or your own records. Generated on your device; nothing is stored.

Runs in your browser. Your files are never uploaded.

Frequently asked questions

How random are the codes?

They use your browser's cryptographically secure random generator with rejection sampling, so every character is equally likely. A 10-character code has about 50 bits of randomness.

Where should I keep backup codes?

Somewhere offline and safe: printed, or in a password manager. Not in your e-mail or as a photo, because those are the accounts the codes are meant to rescue.