diceware
Passphrases you will remember
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
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 · maintenance · safety
copyleft license (copyleft) — 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.
last release 2024-12-24 (598 days) · last repo commit 2026-05-12 · 405 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,536,564 downloads/mo, #3,796 on PyPI
Alternatives
Verify before relying
$ pip install diceware
$ diceware
MyraPend93rdSixthEagleAid
$ diceware -n 2 -d "_"
Wavy_Baden- 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
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 on it.
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
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 | copyleft license 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 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: End Users/DesktopIntended Audience :: System AdministratorsLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Operating System :: OS IndependentOperating System :: POSIX :: LinuxProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Security :: CryptographyTopic :: Utilities |
Evidence: diceware-1.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “memorable password creation”
- dicewarediceware generates memorable passphrases by randomly selecting words…
- xkcdpassGenerates strong, memorable passphrases by randomly selecting words…
- unique-namerGenerates unique, human-readable names and identifiers by combining…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also flask-unsign · xkcdpass · mnemonic · randomname · wonderwords · codenamize · haikunator · password-strength · pyudorandom · pulumi-random