how to make a json file look nice in python code example Example: python format json file python3 -m json.tool unformatted.json > formatted.json