Paste a Python dictionary or JavaScript-style object and get clean, standards-compliant JSON. Everything runs locally in your browser — nothing is uploaded.
Click Beautify to format your JSON.
Most JSON tools only accept strict JSON. Paste anything with single quotes, None, or a tuple and they throw an error. JSONGuy normalizes the real syntax people actually use.
Python dicts often use 'single quotes' for keys and strings. We handle them directly — no find-and-replace needed.
Python's None, True, and False are converted to null, true, and false, including nested values.
Python tuples (1, 2, 3) are normalized into JSON arrays [1, 2, 3], including nested tuples.
Trailing commas after the last item are legal in Python and fine here too.
Need the full formatter with a tree view and syntax highlighting? Open the JSONGuy formatter.