Questions and answers

Is my JSON uploaded anywhere?

No. The document is parsed and formatted in this browser tab, so API responses, configuration files and personal data never leave your device.

Why does the formatter say my JSON is invalid?

JSON is stricter than JavaScript: property names and strings need double quotes, and comments, trailing commas, single quotes and values like NaN are not allowed. The message names the line and column of the first problem.

Does formatting change my data?

No. Numbers and escape sequences are kept exactly as written, so a 20-digit identifier stays exact. Repeated keys are kept too, and you are told about them.

How large can the document be?

Up to 5 million characters. Large documents are formatted in a background worker, so the page stays responsive while it works.

  • JSON Validator Check whether JSON is valid and see the exact line and column of the first error.
  • JSON Minifier Minify JSON to one line without spaces, keeping numbers and strings exactly as written.
  • JWT Decoder Decode a JSON Web Token to read its header and claims, and check its signature with your key.
  • Regex Tester Test JavaScript regular expressions against text, see every match and group, and preview replacements.

More Developer tools