JSON Formatter
Pretty print, minify, validate
- Stays in your browser
- Safe for API keys and company data
- Free, no sign-up
- 1Paste your JSON
- 2Pick an indent
- 3Copy or download
More in Text
Word Counter
Words, characters, reading time
Online Keyboard
Thai, Russian, Greek, Arabic, Hebrew
JSON Converter
JSON to CSV, YAML
Text Diff
Compare two texts line by line
About this tool
Check that JSON is valid and make it easy to read, or squeeze it onto one line. Choose the indent you like. What you paste stays in your browser.
How to use
- Paste JSON into the left box.
- Choose CSV, YAML or JSON.
- The result appears on the right straight away.
- Click Copy, or Download to save a file.
FAQ
- Is my JSON sent anywhere?
- No. The conversion runs in your browser, so keys, tokens and company data you paste stay on your device.
- What if it says the JSON is not valid?
- The message points to the line where parsing stopped. The usual causes are a missing comma, a missing quote, a trailing comma, or single quotes instead of double quotes.
- What does minify do?
- It removes spaces and line breaks so the JSON takes less room. The data itself does not change.
- Does it change my data?
- No. Only spacing changes. Very large or very small numbers may be written differently, because browsers read all numbers as the same kind.