
Beancount
Plain-text double-entry accounting for developers and power users.
Replaces —
Who it's for
Beancount fits engineers who already live in a terminal and want to treat personal finances the way they treat code: in version control, with formal verification, and with no vendor dependency. The plain-text format lets them write scripts against their own financial data.
Users who prefer a visual dashboard with automatic bank import and spending categories may find dedicated budgeting apps less friction for day-to-day tracking.
Double-entry bookkeeping is the standard for small-business accounting. Beancount applies it to self-employment finances: income, expenses, assets, and liabilities tracked in one auditable ledger. The result is a bookkeeping record usable for tax purposes.
If you need invoicing, payroll integration, or multi-user access, a dedicated small-business accounting tool is a better fit.
Because all data is stored in plain text files, Beancount records are readable indefinitely without depending on a vendor staying in business. Useful for anyone who wants a durable, human-readable financial archive going back years or decades.
If your primary need is current-year budgeting with real-time bank sync, purpose-built budgeting apps offer more automation out of the box.
The problem
Personal finance software and accounting tools typically store your financial history in proprietary formats on servers you do not control. When a vendor raises subscription prices, changes its terms, or discontinues the product, your records become difficult to export or migrate cleanly. Tools like Quicken and YNAB charge ongoing fees for access to data you generated yourself. A second problem is verification. Most GUI-based personal finance tools lack a formal mechanism for detecting entry errors. A misclassified transaction or an off-by-one import error sits silently until you find it manually. Double-entry bookkeeping, where every transaction must balance to zero, makes mathematical errors mechanically visible at read time. Most commercial personal finance tools do not apply this constraint.
How it works
All financial transactions are stored in .beancount text files you edit with any text editor. Files can be tracked with Git, shared, backed up, and archived in any format. There is no proprietary file format and no database schema standing between you and your data.
Every transaction must have two or more postings that sum to zero. Beancount checks this constraint every time it reads your files, so a misbalanced entry is an immediate, explicit error rather than a silent data quality issue discovered during a year-end reconciliation.
Beancount reads your plain-text files and generates a variety of financial reports. Because the data is recomputed on each run from the source files, reports always reflect the current state of your ledger with no sync step required.
Beancount provides a web interface for browsing your accounts and reports without an external application. It runs locally on your machine, so your financial records are never sent to an external service.
Features
- Plain-text ledger files
- Double-entry bookkeeping enforcement
- Report generation from your ledger
- Built-in local web interface
Recommended for this setup
Strengths
- Full data ownership in plain text: Your entire financial history lives in text files you control, with no vendor, no subscription required to access your records, and no proprietary export needed to leave. Plain text files are readable with any tool and remain accessible indefinitely.
- GPL-2.0 licensed and free to run: Beancount is licensed under GPL-2.0, which means you can run it on your own hardware at no cost. There are no seat limits, no cloud fees, and no licensing agreements tied to your financial data.
- Formal error detection via double-entry constraint: Unlike spreadsheet-based or most GUI-driven personal finance approaches, Beancount enforces that every transaction balances to zero at read time. This turns a silent data quality problem into an immediate, addressable error.
- Active development since 2007 with stable v3: Beancount was started by Martin Blais around 2007 and continues to receive updates, with the last commit in August 2026. Version 3, stable since June 2024, is the current release, and the project has accumulated 6,152 GitHub stars and 486 forks over nearly two decades of active use.
Trade-offs
- No graphical transaction entry interface: Beancount has no GUI for entering transactions. All data entry is done by editing plain text files in a text editor. Users who prefer clicking through a form-based interface will need to adjust their workflow and learn the .beancount syntax before seeing results.
- Version 3 removed many v2 companion tools: Version 3 is intentionally leaner than version 2. Many tools included in v2 have been moved to independent projects on GitHub. Users migrating from v2 may need to identify and install those separate packages to replicate the full v2 feature set.
- 210 open issues on GitHub: The GitHub tracker has 210 open issues. While this reflects active use and community engagement, users with specific platform requirements or edge cases should review the issue tracker before committing to a migration from an existing tool.
Tech stack
FAQ
Version 3 is the current stable release, available since June 2024. It is intentionally leaner than version 2: many tools that shipped with v2 have been moved to independent projects on GitHub. Version 2 entered maintenance mode in 2020, became frozen, and is now obsolete. New users should start with version 3.
Beancount is licensed under GPL-2.0. You can run it, study it, modify it, and distribute it, but any modified version you distribute must remain GPL-2.0 licensed. This means you cannot incorporate Beancount code into a proprietary product without also releasing that product under GPL-2.0.
No. Beancount runs entirely on your local machine. It is a Python command-line tool that reads plain text files and generates reports locally. There is no server, no database, and no cloud service required. Your financial data never leaves your machine unless you choose to store the files somewhere remote.
Yes. Beancount implements double-entry bookkeeping, which is the standard method used in professional accounting. It can track income, expenses, assets, liabilities, and equity. It does not include invoicing, payroll, or bank feed integration out of the box, so it is better suited to bookkeeping record-keeping than to full-service small-business finance tools with client-facing features.
The official documentation is at beancount.github.io/docs/, where the install guide covers the current steps for version 3. The source code is on GitHub at github.com/beancount/beancount. Version 3 is the branch to use; version 2 is frozen and version 1 was discontinued in 2013.