diceware
Passphrases you will remember
What it is and what it does
diceware is a command-line tool that generates passphrases by randomly selecting words from built-in or custom wordlists and concatenating them. It implements the diceware method proposed by Arnold G. Reinhold, which produces passphrases that are both memorable and have high entropy. The tool supports multiple randomness sources (system random or real physical dice), includes wordlists in multiple languages, and allows customization of word count, capitalization, delimiters, and special character insertion.
The package has no runtime dependencies and installs as a pure Python wheel. It works as both a command-line utility and can be configured via a configuration file in your home directory. It supports Python 2.7 and modern Python 3 versions, and is actively maintained with recent releases.
Use it for:
- Generate secure passphrases for personal accounts when you need something memorable but cryptographically strong
- Create password lists for system administrators managing multiple accounts across infrastructure
- Build custom passphrases using your own wordlists or language-specific word sets for international users
- Integrate passphrase generation into security workflows that require high-entropy, human-memorable credentials
- Use physical dice as an entropy source for air-gapped or offline passphrase generation
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
diceware generates memorable passphrases by randomly selecting words from wordlists and concatenating them, following the diceware method for creating cryptographically sound passwords.
Yes. diceware is a lightweight, actively maintained tool with no dependencies, a permissive install profile, and clear security focus. The GPLv3+ copyleft license is straightforward for personal or open-source use. Install it if you need memorable, high-entropy passphrases for personal accounts or system administration; review the license if you plan to integrate it into proprietary software.
Install
diceware on PyPI
pip
pip install dicewareuv
uv add dicewarepoetry
poetry add dicewareInstalling diceware
Before you install
Low install friction with no runtime dependencies. Actively maintained with a recent release on 2024-12-24 and an active repository showing 405 stars.
License in practice
Licensed under GPLv3+, a copyleft license requiring that any distributed modifications or derivative works also be released under GPLv3+. Suitable for personal use and open-source projects; review required if integrating into proprietary software.
Quickstart
$ pip install diceware
$ diceware
MyraPend93rdSixthEagleAid
$ diceware -n 2 -d "_"
Wavy_Baden
Verify before relying
- Whether the included wordlists are cryptographically validated or signed as claimed in the description
- Real-world entropy guarantees when using system randomness versus physical dice input
- Performance characteristics with very large custom wordlists
Package facts
| License | GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license… (full text in the JSON record) (copyleft) |
| Python support | supports the current Python release (>=2.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 598 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,536,564/month — #3,796 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: diceware-1.0.1-py3-none-any.whl
Keywords: diceware, password, passphrase
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
flask-unsignCommand-line tool to decode, brute-force, and…
permissive · top 15,000 on PyPI
xkcdpassGenerates strong, memorable passphrases by…
permissive · top 15,000 on PyPI
mnemonicGenerates mnemonic word sequences and converts…
permissive · top 5,000 on PyPI
randomnameGenerates random memorable identifiers by…
permissive · top 5,000 on PyPI
wonderwordsGenerates random English words and sentences…
permissive · top 15,000 on PyPI
codenamizeGenerates consistent, human-readable codenames…
permissive · top 15,000 on PyPI
haikunatorGenerates random Heroku-style names composed of…
permissive · top 15,000 on PyPI
password-strengthEvaluates password strength and validates…
permissive · top 15,000 on PyPI
pyudorandomGenerates pseudorandom numbers using algebraic…
unclear · top 15,000 on PyPI
pulumi-randomProvides safe, deterministic randomness for…
permissive · top 5,000 on PyPI