hledger logo

hledger

Plain text accounting with CLI, TUI, and web interfaces for multi-currency double-entry bookkeeping

Open Source Alternative to
Repository activity
  • Stars4.5k
  • Forks388
  • Open Issues342
simonmichael-hledger health score - Linux Foundation Insights
License

GPL-3.0

Languages
  • Haskell
  • Roff
  • JavaScript
hledger screenshot

About hledger

hledger is lightweight, cross-platform accounting software for tracking money, investments, cryptocurrencies, invoices, time, inventory, and more in a plain text data format. It uses double-entry bookkeeping and keeps data in a file you control, with full version control and privacy.

The multi-currency accounting engine is accurate to 255 decimal places and can model a wide range of situations with clear reports. It imports and exports CSV and also outputs text, HTML, JSON, and SQL, and is scriptable by CLI, HTTP, or API. Several interfaces are available: command-line, terminal, web, mobile, and editors or IDEs.

Inspired by and partly compatible with Ledger, hledger is actively maintained with regular releases and has been developed since 2007. It is free software under the GNU GPL v3.0 or later.

Key features

  • Plain text double-entry accounting in a file you control
  • Multi-currency engine accurate to 255 decimal places
  • Imports and exports CSV; outputs text, HTML, JSON, SQL
  • Scriptable by CLI, HTTP, or API
  • Command-line, terminal, web, and editor interfaces

Details

Active since
2007
Language
Haskell
License
GNU GPLv3 or later
Platforms
Windows · macOS · Linux · Web · CLI
Storage
Plain text data format
Accounting
Double-entry · multi-currency