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.

Simple CLI

One command, a few flags, and easily composable.

Real Entropy

A lit of random words sequences can do better than decorative complexity.

Easy to Handle

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

Independent

Just a different option from what your password manager may impose on you.

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 gaining traction

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

Passkeys avoid a lot of what makes passwords painful, and adoption is accelerating. But there are still a lot of situations where people are stuck reading, typing, and handing off passwords.

  • Better for reading and communicating
  • 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.