JSON to Python Dict / Object

True/False/None • Smart Quote Handling

Convert JSON to Python Dict
Output updates live as you type or change settings
About
JSON vs Python Differences
Contact

About JSON to Python Dict / Object

This tool converts JSON text into a valid Python dictionary/list literal — swapping true/false/null for Python's True/False/None, and intelligently choosing between single and double quotes for each string so the result is always syntactically valid, even when your text contains apostrophes or quotation marks. Paste the output straight into a Python file or a REPL. All conversion happens locally in your browser; your data is never uploaded to a server.