Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Passphrase Generator API

Random diceware-style passphrases from the EFF large word list (7,776 words), chosen with a cryptographic random source, with their entropy in bits.

POST /api/v1/tools/passphrase-generatorMCP passphrase_generatorSecurity & PrivacyRandom output

Generate memorable diceware-style passphrases from the 7,776-word EFF list using secure randomness. Pick words, separator and extras. Runs in your browser.

Input

Send these as a JSON object. Unknown fields are rejected.

words
Words per passphrase (3 to 12); each adds about 12.9 bits. 6 is a good default. (integer, 3 to 12, default 6)
separator
Character between words. (string, one of space, hyphen, dot, underscore, none, default "hyphen")
capitalise
Capitalise the first letter of every word. (boolean, default false)
addDigit
Append one random digit to one random word (for sites that demand a number). (boolean, default false)
count
How many passphrases (1 to 50). (integer, 1 to 50, default 1)
curl https://pithlab.com/api/v1/tools/passphrase-generator \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"words":5,"separator":"hyphen","count":2}'