JSON Guide

Learn how JSON validation, formatting, syntax errors, and local browser processing work.

What is JSON validation?

JSON validation checks whether text follows JSON syntax. Valid JSON can be an object, array, string, number, boolean, or null.

How to validate JSON

Paste JSON into the editor and choose Validate. JSONPlease reports syntax problems with available line and column details.

Common JSON syntax errors

Common problems include missing commas, trailing commas, single quotes instead of double quotes, unescaped quotation marks, missing closing braces or brackets, and invalid property names.

Validator vs formatter

A validator checks syntax. A formatter changes valid JSON into readable indentation without changing its data. Minification removes optional whitespace for compact output.

Privacy

Your JSON is processed locally in your browser and is never uploaded.

Related JSON tools