JSON Validator

JSON Validator

Local Processing

Check syntax using the browser JSON parser.

How It Works & Processing Standards

Check syntax using the browser JSON parser.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Desktop max file size: 50MB
  • Mobile max file size: 20MB

The pasted JSON is read with a standard parser. Trailing commas, single quotes, comments and other things JSON forbids are reported with their position.

What You Can Do

Syntax check
Whether it parses under standard JSON rules.
Error position
The line and column of the problem.

How to Use JSON Validator

  1. 1
    Paste JSONPaste the JSON to check.
  2. 2
    Read the resultSee validity and any error position.

Examples

Valid JSON
Input: {"a": 1, "b": 2}
Result: ✓ Valid, top level object
Trailing comma
Input: {"a": 1,}
Result: ✗ Invalid (around line 1, column 9)

Common Use Cases

  • Finding why a config file will not load
  • Checking an API request body before sending

Frequently Asked Questions (FAQ)

What about JSON with // comments?

Standard JSON does not allow comments, so it is reported as invalid. For JSONC or JSON5, remove comments first.

Have feedback or ideas for this tool? Suggest & Inquire →