# hledger

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

Stars: 4.8k · Language: Haskell · License: GPL-3.0 · Categories: Productivity

- Repository: https://github.com/hledgerorg/hledger
- Website: https://hledger.org
- Page: https://www.trmn.sh/tools/hledger

## Overview

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

- [cointop](https://www.trmn.sh/tools/cointop.md): Terminal-based cryptocurrency price tracker with real-time market data, portfolio management, and vim-inspired shortcuts (4.4k stars)
- [Newsboat](https://www.trmn.sh/tools/newsboat.md): RSS/Atom feed reader for the text terminal, with a built-in HTML renderer, filters, query feeds, macros, and newsreading service sync. (C++, 3.9k stars)
- [NeoMutt](https://www.trmn.sh/tools/neomutt.md): Terminal email client that collects community patches against Mutt, with Notmuch, NNTP, sidebar, compressed folders and header cache options. (C, 3.9k stars)
- [JiraCLI](https://www.trmn.sh/tools/jira-cli.md): Interactive command line client for Atlassian Jira (Cloud and Server) with issue, epic, and sprint explorers, JQL-style filtering, and plain/JSON/CSV output. (Go, 6.1k stars)
- [taskwarrior](https://www.trmn.sh/tools/taskwarrior.md): Command line task management utility with filtering, reporting, and extensive customization capabilities (C++, 6.2k stars)

---

Canonical: https://www.trmn.sh/tools/hledger
