JSON整形&バリデーター

左側のボックスにJSONを貼り付けて「整形」をクリックすると、見やすく整形されます。「圧縮」をクリックすると1行に圧縮されます。エラーがある場合は該当行番号とともに表示されます。

機能

Format & beautify JSON
Validate JSON syntax
Minify JSON
Syntax highlighting
Error line detection

使い方

1. 左側の入力ボックスにJSONを貼り付けます。

2. インデント方式を選択します(スペース2つ / スペース4つ / タブ)。

3. 「整形」で見やすく整形、「圧縮」で1行に圧縮します。

4. 「コピー」ボタンで結果をコピーします。

よくある質問

What is JSON?
JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy for humans to read and write, and easy for machines to parse and generate.
How to validate JSON?
Paste your JSON data into the editor above and click 'Format'. If the JSON contains syntax errors, the tool will highlight the exact line and position of the error.

関連ツール