hledger

Cross-platform plain text double-entry accounting tool with CLI, terminal, and web interfaces, multi-currency support, and CSV import/export.

hledger is a plain text accounting tool that reads transactions from human-editable journal files and produces reports from them. It implements double-entry accounting with multi-currency support, and can track money, investments, cryptocurrencies, invoices, time, and inventory. Because data lives in plain text files, it can be kept under version control.

Reports are run from the command line, for example hledger bs for a balance sheet and hledger is --monthly for a monthly income statement. Besides the CLI, it offers terminal, web, and mobile interfaces and editor/IDE integrations, though the README describes the UIs as basic. It imports and exports CSV and outputs text, HTML, JSON, and SQL, and it can be scripted through the CLI, HTTP, or an API.

It is partly compatible with Ledger CLI and interconvertible with Beancount. It installs on Unix, macOS, and Windows and is written in Haskell. The README's own use cases include budgeting, time reports by day/week/month/project, cashflow prediction, and tax-filing figures. The audience is individuals, developers, and others who want to keep their own books in text files.

Alternatives & related tools

add a badge to your README

Maintain hledger? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/hledger.svg)](https://www.trmn.sh/tools/hledger?utm_source=badge)
HTML
<a href="https://www.trmn.sh/tools/hledger?utm_source=badge"><img src="https://www.trmn.sh/badge/hledger.svg" alt="Featured on trmn" height="20"></a>