Command-line passphrase generator with EFF wordlists, BIP39, entropy output, and dice mode
- Stars144
- Forks11
- Open Issues5
ISC
- Rust

About Pgen
Pgen generates passphrases from the EFF wordlists or BIP39 English words. It is aimed at creating passphrases with selectable word counts, including a default of twelve words from the autocomplete-optimized EFF list, and it can also print the entropy for the chosen settings.
It supports four wordlists - eff-autocomplete, eff-long, eff-short, and bip39 - plus a dice mode that uses physical six-sided dice instead of computer-generated randomness. Word counts can be set with -n, multiple passphrases with -k, and BIP39 lengths can be 12, 15, 18, 21, or 24 words.
Pgen is an ISC-licensed command-line tool written in Rust and installed with cargo. It runs entirely as a local CLI with no hosted service or account layer, so passphrase generation stays on your own machine. Because the wordlists are publicly known, its strength comes from the number of words drawn rather than any secret list.
Key features
- Generates passphrases from EFF wordlists or BIP39
- Supports physical dice input with --dice
- Prints entropy for the chosen settings
- Lets you set word count with -n and quantity with -k
- BIP39 word counts: 12, 15, 18, 21, or 24
Details
- First released
- 2018
- Platforms
- CLI
- Deployment
- offline-first
- Wordlists
- EFF (3 lists) · BIP39
- Entropy
- Printable for chosen settings
- License
- ISC