JSONを整える・チェックするFormat and Validate JSON
読みにくいJSONを、見やすくしたいときに。When you need to read a messy JSON.
入力した文字は外部に送信されません。すべて、この端末の中だけで処理します。Your text is never sent anywhere. Everything is processed on this device.
- 1JSONを貼るPaste JSON
- 2整える方法を選ぶChoose how to format
- 3結果をコピーCopy the result
貼り付けた内容は、この端末の中で処理します。どこにも送られません。Pasted text is processed on this device. Nothing is sent anywhere.
🔒 ファイルは外部のサーバーに送信されません。この端末のブラウザの中だけで安全に処理されます。🔒 Your files are never sent to an external server. Everything is processed safely inside this browser.
PDFのミカタが役に立ったら、応援してもらえるとうれしいです。If PDF Mikata was useful, a small tip would mean a lot.
応援する(300円)Send a tip (¥300)ほしい物リストで応援Send a gift (Amazon wishlist)あわせてよく使われているツールTools often used together
使い方
- 整えたいJSONを、「整える前」に貼り付けます。
- 字下げ(スペース2つ・4つ・タブ)を選びます。
- 「整えた後」を、「結果をコピー」でコピーします。
仕組み
- 読みにくい1行のJSONを、字下げのある読みやすい形に整えます。
- 「1行にまとめる」で、余分な空白を取って短くできます。
- 間違いがあると、おおよその行を知らせます。
注意
- JSONでは、キーも文字列も、ダブルクォート(")で囲みます。
- コメントや、最後の余分なカンマは、JSONでは使えません。
よくある質問
貼り付けた内容は外部に送信されますか?
いいえ。処理はすべて、お使いの端末のブラウザの中で行われます。
エラーが出るのはなぜ?
カンマやクォートの不足、最後の余分なカンマなどが、よくある原因です。
How to use
- Paste the JSON into "Input".
- Choose the indent (2 spaces, 4 spaces or tab).
- Copy "Output" with "Copy result".
How it works
- A hard-to-read one-line JSON is turned into an indented, readable form.
- "Minify" removes extra whitespace to make it shorter.
- If something is wrong, the approximate line is shown.
Notes
- In JSON, keys and strings must be wrapped in double quotes (").
- Comments and a trailing comma are not allowed in JSON.
FAQ
Is the pasted text sent anywhere?
No. Everything is processed inside the browser on your device.
Why do I get an error?
Missing commas or quotes and a trailing comma are the usual causes.
PDFのミカタが役に立ったら、応援してもらえるとうれしいです。If PDF Mikata was useful, a small tip would mean a lot.
応援する(300円)Send a tip (¥300)ほしい物リストで応援Send a gift (Amazon wishlist)