Toolshed

A growing library of browser tools and deep technical guides for IT professionals.

← All guides

JSON Formatter & Validator

Runs entirely in your browser. Nothing you paste here is sent anywhere.

How this works

Click Format to validate and pretty-print, or Minify to strip whitespace. If the JSON is invalid, the error message shown is JavaScript's own parser error, including the character position where parsing failed — that position is usually within a few characters of the actual problem (a missing comma, an unescaped quote, a trailing comma before a closing brace).

Need a different format? The YAML Formatter converts YAML to and from JSON directly, the CSV Inspector does the same for CSV, and the Query String Editor turns a URL's query parameters into an editable table if that's the shape of data you're working with.