JSON整形・圧縮JSON Formatter
JSONを見やすく整形、または1行に圧縮。構文エラーも検出。ブラウザ完結で外部送信なし。Prettify or minify JSON. Detects syntax errors too. Runs entirely in your browser.
お気に入りについて About favorites
この端末のブラウザにのみ保存され、サーバーには送信されません。 Saved on this device only—never sent to our servers.
インデントIndent
使い方・ユースケース How to Use & Use Cases
JSONテキストを入力欄に貼り付け、「整形」でインデント付きに整えるか「圧縮」で1行にまとめます。インデント幅(2・4スペース・タブ)やキーのアルファベット順並べ替えも選べます。構文エラーがあれば箇所を表示します。 Paste JSON into the input area, then choose Format for indented output or Minify for a single line. Pick indentation (2/4 spaces or tabs) and optionally sort keys alphabetically. Syntax errors are highlighted when found.
APIレスポンスの確認、設定ファイルの読みやすさ改善、ログから取り出したJSONの差分比較前の整形などに使えます。機密データも端末内だけで処理されるため、本番データの確認にも向いています。 Use it to inspect API responses, make config files readable, or format JSON from logs before comparing diffs. Sensitive data stays on your device, so it works for production data checks too.
よくある質問FAQ
ファイルはサーバーに送られますか?Are files sent to a server?
送られません。処理はすべてブラウザ内で行われます。No. All processing happens in your browser on your device.
構文エラーを検出できますか?Can syntax errors be detected?
できます。JSONの構文が正しくない場合はエラー箇所を表示します。Yes. If the JSON is invalid, the error location is shown.
インデントのスペース数は変えられますか?Can I change the indentation?
2スペース・4スペース・タブの3種類から選べます。Yes. Choose from 2 spaces, 4 spaces, or tabs.
「キーをアルファベット順に並べる」とは何ですか?What does Sort keys alphabetically do?
チェックを入れると、オブジェクトのキー(プロパティ名)をアルファベット順に並び替えて整形します。APIのレスポンスや設定ファイルを比較・確認しやすくなります。ネストされたオブジェクトにも再帰的に適用されます。It sorts all object keys alphabetically when formatting. Useful for comparing API responses or config files. Applied recursively to nested objects.
ページを閉じれば、端末内のデータは自動的に消去されます。契約書や顧客資料など、慎重に扱うデータも安心してご利用ください。When you close the page, data on your device is cleared automatically. Safe for sensitive files such as contracts and client documents.