Loading…

JSON Formatter and Validator

Tools and Utilities • Digital and Web Utilities

View all topics

Tip: Use Fill example to load a valid sample (and a trailing-comma sample to test tolerant mode).

Strict mode follows RFC JSON (no trailing commas). Tolerant mode only removes trailing commas outside strings.

Loads the file content into the input box (no upload to server).

The validator uses the browser’s JSON parser. If invalid, you’ll get the exact line/column and an inline highlight in the viewer below.

Ready
Waiting for input
Formatted JSON
Pretty output with your indent setting (and optional key sorting).
Minified JSON
Compact output (no spaces or line breaks).
Paste JSON and click Validate & Build output.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.