a apiary.
← All tools

JSON & XML / BROWSER UTILITY

JSON Formatter & Validator

Validate, format and minify JSON without sending it anywhere.

Processed locally in your browser. Your data is not uploaded.

Output format

Good to know

Format valid JSON with two-space indentation or minify it into a single line. Errors include details from your browser’s JSON parser. JSON requires double-quoted keys and does not allow trailing commas or comments. Uses JavaScript’s JSON parser: duplicate object keys keep the last value and very large numbers may lose precision.

Example: {"name":"Apiary","free":true} becomes an indented object. Select Minify to remove unnecessary whitespace.