Skip to content
JSON pretty-printing library and command-line tool.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Data/Aeson/Encode Depend on semigroups for <> Apr 9, 2018
cli-tool Simplify trailing newline and fix warning Jun 14, 2017
.gitignore Use packcheck for CI Apr 9, 2018
.travis.yml Use packcheck for CI Apr 9, 2018
LICENSE initial commit Jun 11, 2011
README.markdown Add travis status image to README Jul 1, 2016
Setup.hs initial commit Jun 11, 2011
aeson-pretty.cabal Bump version to 0.8.7 Apr 9, 2018 Use packcheck for CI Apr 9, 2018
stack-8.4.yaml Update .travis.yml Apr 8, 2018


Welcome to aeson-pretty

Build Status

This is a JSON pretty-printing Haskell library compatible with aeson as well as a command-line tool to improve readabilty of streams of JSON data.

The library provides a single function encodePretty. It is a drop-in replacement for aeson's encode function, producing JSON-ByteStrings for human readers.

The command-line tool reads JSON from stdin and writes prettified JSON to stdout. It also offers a complementary "compact"-mode, essentially the opposite of pretty-printing.

Join in!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://


This library is written and maintained by Falko Peters,

You can’t perform that action at this time.