plaintextaccounting.org

Plain Text Accounting (PTA)

Welcome! Plain text accounting is a way of doing bookkeeping and accounting with plain text files and scriptable, command-line-friendly software, such as Ledger, hledger, or Beancount. This site collects the PTA community's tools, docs and practices. It is maintained by Simon Michael (hledger project leader, PTA fan) and contributors like you. See also our discussion forum and chat rooms.

Site map
What is Plain Text Accounting ?
News & discussion
Videos
Slides
Docs: Accounting basics , app docs , comparisons , intros , cheatsheets , cookbooks , FAQs
FAQ
Cookbook
Software: Apps , Distros/setups , Features , Editor plugins , Data import/conversion , Price fetching , Data generation , Workflows , Formatting , Reporting , Time logging , UI, console , UI, curses , UI, GUI , UI, web , UI, mobile , Library , Utilities , API

This is a community-supported site; if you find it useful, why not contribute to the github repo or help with finance. Thank you sponsors, including:

News & discussion

Chat - matrix room - matrix space - IRC channel - project chats
Blogs & articles - See the PTA forum's News category and RSS feed - Older blogs & articles, 2006-2024
PTA forum - forum.plaintextaccounting.org
Reddit - /r/plaintextaccounting
Lemmy - lemmy.world/c/plaintextaccounting
Hacker News - stories - comments
Mastodon - #plaintextaccounting - #ledgercli - #hledger - #beancount
Twitter - #plaintextaccounting - #ledgercli - #hledger - #beancount - LedgerTips 2014-2018
Stack Exchange - ledger-cli tag - ledger-cli search - hledger tag - hledger search
Project specific - Project mail lists - This Week In Hledger
plaintextaccounting.org site - commits - contributors - issues - email the site admin

Videos

https://www.youtube.com/results?search_query=plaintextaccounting

Slides

Docs

Accounting basics , PTA app docs , Comparisons , Intros , Cheatsheets , Cookbooks , FAQs

Accounting basics

PTA app docs

Comparisons

Intros

Cheatsheets

Cookbooks

FAQs

Software

Apps , Distros/setups , Features , Editor plugins , Data import/conversion , Price fetching , Data generation , Workflows , Formatting , Reporting , Time logging , UI, console , UI, curses , UI, GUI , UI, web , UI, mobile , Library , Utilities , API

Apps

To do Plain Text Accounting, try one (or more) of the PTA apps below. Generally it's possible to migrate data between them.

Project Code Start Last release ~Stars ~Committers Discussion, ~size

Popular
Ledger C++ 2003 2025 5.8k 226 mail list 900, IRC 70
hledger haskell 2007 2026 3.8k 178 mail list 250, matrix 250, IRC 70
Beancount python 2008 2023 5.2k 84 mail list 700, matrix 30, matrix (fava) 240, IRC 30

Small userbase
Ledger (Go) go 2013 2025 470 12
Abandon scala 2013 2024 180 11 matrix
Transity purescript 2018 2020 650 8 matrix
zhang rust/ts 2023 2024 180 5
Tackler rust 2017 2026 120 3 matrix, github
knut go 2020 2024 60 3
ledg typescript 2021 2025 45 1
coin go 2019 2025 13 1
rustledger rust 2025 2026 66 1 github
limabean clojure/rust 2025 2026 9 1 github

Past/inactive
placc nim (closed source) 2024 2024 1
budget-cli typescript 2023 12 3
mynt rust 2023 1
awk-pta awk 2022 20 1
ubal uxntal 2022 1
bankroll rust 2020 2020 1 1
pta perl 2020 2020 1
blossom F# 2020 30 1
ledger.bash bash/awk 2020 7 1
acc rust 2020 1 1
rust_ledger rust 2019 2021 90 4
Goledger (mescanne) go 2019 2020 30 1
beans haskell 2019 2019 24 2
Prudent js, addons 2018 1 @PrudentLedger
.Net Ledger C# 2017 2023 164 1 matrix
monescript javascript 2017 2018 12 1
Go Ledger (abourget go ) 2016 40 3
uledger python 2015 17 1
pacioli python 2013 31 1
ledger.pl perl 2013 6 1
Penny haskell 2012 2014
UMM haskell 2009 2010
sm-Ledger squeak 2007
cl-ledger lisp 2007 66 4

Distros/setups

Documented/reproducible setups, integrated docker images etc, based on the above.

Name Uses Start Last update ~Stars
Full-fledged hledger hledger 2019 2025 500
hledger-flow hledger 2019 2026 200
Lazy Beancount beancount 2024 2026 100
rtrLEDGER hledger 2020 2020 20
docker-finance hledger, hledger-flow 2024 2026 2

Features

Here's a comparison of the big three PTA apps' main features, plus some relevant third-party tools in italics, and some geeky technical specs that you may not care about. Corrections and suggestions are appreciated (chat).

Ledger hledger Beancount

User interfaces
CLI: ledger hledger beanquery
TUI: regdel hledger add, hledger-ui, hledger-iadd, puffin bean-add
GUI: Prudent, ledgerble, addtrans fruit-credits
WUI: ledgeraccounting, paisa, cashier, ledgible, ledger (howeyc), ledger-web (vifon), ledger-web (peterkeen), ledger-pyreport, ledger-analytics, node-ledger-web hledger-web, ledgeraccounting, paisa, cashier fava, paisa, BeanHub
Android: cashier, NanoLedger cashier, MoLe, NanoLedger Beancount Mobile CE, beancount-mobile (xuhcc)
IOS: Beancount Mobile CE

Getting-started
Easy install and setup: yes yes no
CLI help: general --help, also available as man page general and command-specific --help, commands summary, built-in asciinema demos command-specific --help
TLDR short help: ledger hledger and commands, also built-in
User manual formats: web web, info, man, also built-in info/man/text with jump to topic web
Active support channels: chat, mail list, forum, reddit mail list

Data formats
Input formats: journal (ledger), timeclock, csv journal (hledger), timeclock, timedot, csv, tsv, ssv, *sv journal (beancount)
Output formats: text, csv, xml, lisp text, html, csv, tsv, fods, beancount, sql, json text, ?

Commands
Commands: accounts, balance, cleared, commodities, convert, csv, entry, emacs, equity, lisp, payees, pricemap, pricedb, prices, print, register, select, source, stats, tags accounts, activity, add, aregister, balance, balancesheet, balancesheetequity, cashflow, check, close, codes, commodities, demo, descriptions, diff, files, help, import, incomestatement, payees, prices, print, notes, register, rewrite, roi, stats, tags, test beancount: check, doctor, example, format
Add-on commands: bar, check-fancyassertions, edit, git, iadd, interest, lots, move, pijul, plot.. beanquery: balances, journal, print, select

Configuration
Config file: general options general and command-specific options ?
Extensibility: built-in expression language, embedded python, HTTP-JSON add-on commands, haskell library, HTTP-JSON data-modifying plugins, python library

Other features
Account names: any any capitalised, no spaces, english top level names
Account types awareness: no yes yes
Budget report: built-in built-in fava
Charting tools: paisa, etc.. activity, hledger-bar, hledger-web, hledger-plot, paisa, etc.. fava, paisa..
Commodity names: any, on left or right, optional any, on left or right, optional 2-24 uppercase letters / digits / punctuation, on right, required
Data importing: built-in from CSV, others.. built-in from any input format, others.. beangulp framework, beancount_reds_importers framework, beancount-import library, others..
Data deduplication: checksum-based (requires unique CSV records) date-based (requires date-ordered CSV records) ?
Date range: 1400-01-01 to 9999-12-31 0000-01-01 onward 0001-01-01 to 9999-12-31
Generate postings by rule: built-in built-in ?
Generate recurring transactions: built-in built-in beancount-repete
International number notations: no yes no
Lot management: lot matching syntax, lots report, revaluation transactions, lotter manual, hledger-lots, hledger-move, lotter lot matching syntax, ?
Multi-period balance reports: no yes fava
Pivoting: on single tag on one or more tags / other fields no
Precision (journal): 254 significant digits "unlimited" integer digits + 255 decimal digits 28 significant digits
Precision (internal): "unlimited" (rational numbers) "unlimited" integer digits + 255 decimal digits 28 significant digits
Precision (balancing): max precisions in local entry global commodity precisions max precisions in local entry / 2 (configurable)
Precision (display): inferred commodity precision, or a default max precision of 6 inferred / specified commodity precision, or a default max precision of 8 inferred commodity precision, or a default max precision of 0 (configurable)
Price fetching: pricehist pricehist beanprice, pricehist
Querying: cli options, custom query expressions cli options, custom query expressions, sql SQL-like beancount query language
REPL: built-in haskell GHCI beanquery, python
Shell completions: bash (commands, flags, maybe accounts) bash (commands, flags, flag values, query types, journal data)
Unrealised gains report: --unrealized --gain, roi fava
Validation: configurable configurable always strict
Miscellaneous: ? standard financial reports ?
customisable account display order
customisable amount styles for input and output
documentation-first development
regular releases
regression bounties

Editor plugins

Atom - language-ledger - ledger
Emacs - beancount-mode - hledger-mode - ledger-mode (good for hledger also)
IntelliJ - Ledger CLI
Nano - scopatz/nanorc
Sublime - sublime-ledger-syntax
TextMate - Ledger.tmbundle
VIM - vim-ledger - vim-beancount - hledger-vim - cmp-beancount
VS Code - hledger-vscode - ledger - vscode-beancount

Data import/conversion

Miscellaneous

GnuCash

Intuit

KMyMoney

YNAB

Price fetching

Data generation

Invoicing

Workflows

Formatting

Reporting

Time logging

UI, console

UI, curses

UI, GUI

UI, web

UI, mobile

Library

Utilities

API


(c) 2016-2025 Simon Michael & contributors | Send updates via github, matrix, or IRC