JSON to Python Dict
Convert JSON into a Python dict literal with True, False, and None.
This tool runs entirely in your browser. Your input is never uploaded.
JSON
Python dict
Paste some JSON first.
What is this tool?
Turn JSON into a Python dict literal: booleans become True/False, null becomes None, and strings use single quotes with proper escaping. Nested dicts and lists are indented for readability.
How to use it
- Paste JSON.
- Copy the generated dict or download it as a
.pyfile.
Privacy
Conversion runs entirely in your browser.