Go to file
2025-11-19 10:45:45 -10:00
.github ;ci: check for installed shelltestrunner again 2025-11-18 10:16:26 -10:00
.sandstorm ;pkg:sandstorm: note icon todo; fix capitalisation 2025-03-13 08:25:12 -10:00
.vscode/notebooks ;doc: add VS Code notebooks: github issues, hledger-web REST API 2023-05-10 17:08:12 -10:00
bin ;bin: sortandmergepostings: Overhaul for more robust determinism 2025-11-17 22:25:14 -10:00
checks update dev setup tests 2015-03-16 17:59:06 -07:00
doc ;doc:RELEASING 2025-11-18 18:26:18 -10:00
docker package: added helper scripts in docker/ 2019-01-31 12:44:12 -08:00
docker-arm32v7 ;ci: linux: expect linux builds to be warning free like the rest 2024-09-30 17:21:23 -10:00
examples ;scripts: hledgerj1: example of a wrapper reading a custom format 2025-11-13 12:42:09 -10:00
hledger ;doc:csv: CSV fields and hledger fields: edits 2025-11-19 10:45:45 -10:00
hledger-lib ;doc: add the 1.50.3 changelogs 2025-11-18 17:46:50 -10:00
hledger-ui ;doc: add the 1.50.3 changelogs 2025-11-18 17:46:50 -10:00
hledger-web ;doc: add the 1.50.3 changelogs 2025-11-18 17:46:50 -10:00
tools ;tools:relnotes.hs: update 2025-11-18 13:46:37 -10:00
.ci ;api: another round of hledger-api purging; fix the build 2019-09-11 14:49:22 -07:00
.ctags ;dev: tools: fix make etags 2023-04-27 09:17:03 -10:00
.dockerignore package: added Dockerfile 2019-01-29 16:14:03 -08:00
.editorconfig fix datepicker not closing, linting 2017-12-30 13:44:40 -05:00
.ghci ;tools: silence ghci warning if user has defined :rmain 2025-04-09 18:16:24 -10:00
.gitignore ;tools:gitignore: don't ignore website source files under site/ 2025-10-26 10:56:12 -10:00
.hlint.yaml cln: silence some warnings/lints 2022-03-26 08:34:21 -10:00
.mailmap ;doc: mailmap 2025-06-01 12:31:24 -10:00
.version ;pkg: set version to 1.50.99 2025-09-03 20:22:40 +01:00
azure-pipelines.yml ;api: another round of hledger-api purging; fix the build 2019-09-11 14:49:22 -07:00
bench1k.sh ;dev: update bench*.sh files 2025-02-27 07:32:44 -10:00
bench5k.sh ;dev: update bench*.sh files 2025-02-27 07:32:44 -10:00
bench10k.sh ;dev: update bench*.sh files 2025-02-27 07:32:44 -10:00
bench100k.sh ;dev: update bench*.sh files 2025-02-27 07:32:44 -10:00
bench-10ktxns-10kaccts.sh ;dev: update bench*.sh files 2025-02-27 07:32:44 -10:00
bench-10ktxns-100kaccts.sh ;dev: update bench*.sh files 2025-02-27 07:32:44 -10:00
bench-ledger.sh ;imp: perf: Ledger-friendly bench-ledger.sh, for comparative benchmarking 2021-11-20 22:05:19 -10:00
bench-many-accts.sh ;just: more benchmarks 2024-01-26 22:23:04 -10:00
bench-many-txns.sh ;just: more benchmarks 2024-01-26 17:14:25 -10:00
bench.sh ;dev: update bench*.sh files 2025-02-27 07:32:44 -10:00
cabal.project ;pkg:cabal: fix build with ghc <9.14 2025-11-15 21:33:57 -10:00
CHANGES ;doc: move the project changelog to doc/, for easy consistent paths 2025-10-11 10:11:10 -10:00
dev.hs dev: switch all qualifed imports to ImportQualifiedPost style 2025-09-29 19:28:59 -10:00
dir ;dev: doc: update manuals 2021-07-12 18:50:06 -10:00
Dockerfile dev: fix Dockerfile 2025-08-13 15:40:02 -04:00
ghc-tags.yaml ;dev:ghc-tags: ignore hledger/test/addons 2024-02-29 21:44:35 +00:00
hie-cabal.yaml ;pkg:hls config for cabal & haskell-debugger 2025-10-10 20:25:40 -10:00
hie-stack.yaml ;dev: hie-stack.yaml: more HLS notes 2025-05-07 08:09:51 -10:00
hledger.conf imp:cli: handle -NUM in config file properly 2024-10-19 16:56:14 -10:00
hledger.conf.sample ;examples: hledger.conf.sample: updates 2024-10-19 18:00:51 -10:00
Justfile ;tools:just changelogs*: update 2025-11-18 12:52:51 -10:00
LICENSE ;pkg: simplify LICENSE (try to fix github license detection) 2025-03-31 19:12:38 -10:00
Makefile ;tools: retire the main Makefile 2024-04-24 07:34:31 -10:00
Makefile.helpsys make: rename sub-makefiles; start moving site script to make/shake 2019-03-05 18:43:04 -08:00
README.md ;pkg: clean up LICENSE files, main module licensing headers 2025-03-31 18:10:19 -10:00
Shake.hs ;tools:shake: fix project changelog updating 2025-11-18 12:52:24 -10:00
stack96.yaml Avoid hashtables 1.3.x for best gcc compatibility [#2463] 2025-09-21 11:41:57 -07:00
stack98.yaml Avoid hashtables 1.3.x for best gcc compatibility [#2463] 2025-09-21 11:41:57 -07:00
stack910.yaml ;pkg:stack: archive the ghc 9.10 config 2025-09-30 12:09:23 -10:00
stack914.yaml ;pkg:stack config for ghc 9.14 2025-10-10 20:20:03 -10:00
stack.yaml ;pkg:stack: build with ghc 9.12 by default 2025-09-30 12:09:23 -10:00

hledger

Robust, intuitive plain text accounting

license on hackage github issues

Welcome! This is a brief intro to hledger. For a more detailed version, see the home page: https://hledger.org

hledger is lightweight, cross platform, multi-currency, double-entry accounting software. It lets you track money, investments, cryptocurrencies, invoices, time, inventory and more, in a safe, future-proof plain text data format with full version control and privacy.

hledger aims to help both computer experts and regular folks gain clarity in their finances and time management. Though the UIs are basic, hledger can model any accounting situation and provide precise, clear reports. It is reliable, quick, and backed by the highly supportive Plain Text Accounting ecosystem. Using it is an excellent way to learn double entry accounting.

Compared to other PTA apps, hledger is actively maintained, with regular releases, and a strong focus on being easy to use and practical for everyday accounting.

More features: - Installs easily on unix, mac or windows - Complete, built-in documentation in multiple formats, beginner videos, tutorials etc. - Multiple UIs: command-line, terminal, web, mobile, editors/IDEs - Good at importing and exporting CSV; also outputs text/HTML/JSON/SQL - A robust, general, well-specified multi-currency accounting engine - Fast, analysing 25k transactions per second on a macbook air m1 - Accurate to 255 decimal places - Supports your preferred account names, currencies, number formats - Inspired by and partly compatible with Ledger CLI; interconvertible with Beancount - Scriptable by CLI, HTTP or API, with plenty of examples - Clean Haskell codebase, continually improved since 2007, with $100 regression bounties - Free software licensed under GNU General Public License v3.0 or later.

Examples

I use hledger to: - track income and spending, sometimes with budgets - see time reports by day/week/month/project - track reimbursables, invoices and payments - predict cashflow and account balances - get accurate numbers for tax filing - research past events

Heres an example of the journal file format:

2022-01-01 opening balances as of this date
    assets:bank:checking                $1000
    assets:bank:savings                 $2000
    assets:cash                          $100
    liabilities:creditcard               $-50
    equity:opening/closing balances

2022-01-15 market
    expenses:food             $50
    assets:cash              $-50

2022-02-01 GOODWORKS CORP
    assets:bank:checking           $1000
    income:salary                 $-1000

and some simple reports:

$ hledger bs
Balance Sheet 2022-02-15

                        || 2022-02-15 
========================++============
 Assets                 ||            
------------------------++------------
 assets:bank:checking   ||      $2000 
 assets:bank:savings    ||      $2000 
 assets:cash            ||        $50 
------------------------++------------
                        ||      $4050 
========================++============
 Liabilities            ||            
------------------------++------------
 liabilities:creditcard ||        $50 
------------------------++------------
                        ||        $50 
========================++============
 Net:                   ||      $4000 
$ hledger is --monthly                                            
Income Statement 2022-01-01..2022-02-28                                               
                                                                                      
               ||  Jan    Feb                                                         
===============++=============                                                        
 Revenues      ||                                                                     
---------------++-------------                                                        
 income:salary ||    0  $1000                                                         
---------------++-------------                                                        
               ||    0  $1000                                                         
===============++=============                                                        
 Expenses      ||                                                                     
---------------++-------------                                                        
 expenses:food ||  $50      0                                                         
---------------++-------------                                                        
               ||  $50      0                                                         
===============++=============                                                        
 Net:          || $-50  $1000                                                         

More examples and screenshots: https://hledger.org/#how-to-get-started

Funding

hledger is brought to you by Simon Michael, 140+ contributors, and the generous financial sponsors below.

After enjoying some personal or organisational success with hledger, you might want to become one of them, to help support this work. Its easy! Please see https://hledger.org/sponsor.html for details.

Organisational sponsors

Individual sponsors