JSON 線上驗證器 - 檢查語法錯誤

即時驗證 JSON 語法並定位錯誤。所有資料只在瀏覽器本機處理。

待驗證的 JSON

How to validate JSON syntax

The validator uses the browser JSON parser and reports line and column details when available. Fix the first error and validate again; this is usually the fastest way to recover a valid document.

  1. Paste the JSON document.
  2. Select Validate and inspect the first error.
  3. Fix it and repeat until the document is valid.

Why does valid-looking JSON fail?

Common causes include trailing commas, single quotes, unescaped line breaks, and missing double quotes.

Does validation modify the input?

No. Validation only reads the input and reports the result.