How to format JSON
- Paste your JSON into the input box.
- Choose the indent and click Format (or Minify).
- Copy the result.
Frequently asked questions
- Q. Why is my JSON invalid?
- The usual causes are trailing commas, single quotes instead of double quotes, unquoted keys, or comments – none are allowed in standard JSON.
- Q. Is it safe to paste API keys or private data?
- Yes. Parsing happens in your browser and nothing is sent to a server, though it is still good practice to remove secrets.
Related tools
- Base64 Encode / DecodeEncode text to Base64 or decode Base64 to text, with full UTF-8 and URL-safe support.
- Unix Timestamp ConverterConvert Unix timestamps (seconds or milliseconds) to dates and dates to timestamps.
- UUID GeneratorGenerate random UUID v4 or time-ordered UUID v7, one or many at once.
- Hash GeneratorCalculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files.
Last updated: