JSON Formatter & Validator

Format, validate, minify, and prettify JSON online. This fast, privacy-friendly JSON formatter runs locally in your browser (no uploads, no tracking). Features include pretty print, minify, sort keys, and copy/download helpers.

About this JSON formatter & FAQ

FM Workbench JSON Formatter helps you clean up JSON for debugging, API testing, log inspection, and config editing. Paste JSON into the input box to validate it, then choose Pretty or Minify output. Optional sorting orders object keys alphabetically (recursive) for easier diffs and reviews.

Is my JSON uploaded to a server?

No. This tool runs locally in your browser. Your JSON is not sent to a third-party service.

Why does it say "invalid JSON"?

This tool accepts standard JSON (not JSON5). Remove comments or trailing commas.

Does sorting keys change the meaning?

Sorting only reorders object keys and does not change values.

Related tools

Input

Output

Tip: Ctrl + Enter to format.
Notes: This tool accepts standard JSON (not JSON5). If you need comments or trailing commas, remove them first.