$ json-fmt
JSON Formatter
Pretty-print, minify and validate JSON with clear error messages.
Ad slot
About this JSON formatter
Paste any JSON and click Format to indent it consistently, or Minify to strip whitespace for transport. Invalid JSON shows the parser error and the approximate position so you can fix it quickly.
Common JSON errors
Trailing commas, single quotes instead of double quotes, and unquoted keys are the usual culprits. JSON does not allow comments.