A tiny CLI inspired by a classic comic.

Simple passwords, hard to crack.

xkcdpass turns the lesson from xkcd #936 into a real tool: long passphrases that are easier to read, type, compare, and say out loud without giving up real security.

Why xkcdpass?

Mostly a joke. Also genuinely useful.

Easy to Handle

Better for typing, checking, and reading back without the usual password drama.

Real Entropy

Long random word sequences do real security better than decorative complexity.

Simple CLI

One command, a few flags, and output you can actually use.

Independent

A standalone option when your password manager's built-in generator is not the shape you want.

See it in action

Simple to generate. Easy to use.

Useful for Wi-Fi passwords, account handoffs, temporary access, and any other moment when someone has to read, type, compare, or say the password correctly.

$ xkcdpass

kitchenrocketpebblelantern

$ xkcdpass --words 6 --separator -

gravity-machine-north-elephant-salad-television

Passwordless is here

And that is good news. But passwords aren't gone yet.

Passkeys avoid a lot of what makes passwords painful, and adoption is accelerating. But until every awkward corner catches up, people still get stuck reading, typing, and handing off passwords.

  • Better for reading back and comparing
  • Easier to type without mistakes
  • Useful for handoffs, temporary access, and Wi-Fi

Install

Homebrew builds are available via the tap for macOS Apple Silicon and Linux x86_64. For anything else, grab the source on GitHub and build for whatever architecture you want.

brew tap tvanreenen/tap && brew install xkcdpass

FAQ

Some additional context.