hledger and Beancount

Tips for co-using/converting/switching Beancount and hledger.

See also:

Beancount's journal format is similar to hledger's, but different enough that neither can read the other's files.

There are two old converters: beancount2ledger and ledger2beancount. They are not actively maintained, and limited in what they support. Since hledger 1.32, and especially since hledger 1.41, the best option for exporting from hledger to Beancount is hledger's print command, which supports beancount output.