pretty json after curl code example Example 1: curl output pretty print curl ... | json_pp Example 2: curl pretty print json echo '{"foo": "lorem", "bar": "ipsum"}' | jq