JSON 格式化
檢查、美化和壓縮 JSON,並給出清晰的錯誤提示。
在您的瀏覽器中執行。您的檔案不會離開裝置。 瞭解如何驗證
…
使用方法
- 1選擇設定
填寫資訊或選擇您需要的選項。
- 2檢視結果
更改任何內容時,預覽會立即更新。
- 3下載或儲存
將結果儲存到您的裝置。不會向伺服器傳送或儲存任何內容。
About this tool
Paste your JSON to check it and make it easy to read, with two-space indentation, or shrink it to one line. When the JSON is wrong, the message shows what went wrong. The text is processed in your browser and is not uploaded, so it is safe for private data.
When to use it
Make unreadable JSON easy to read, check it for errors or shrink it for transfer. Errors show where the problem is.
Tips
Use double quotes for keys and strings and no trailing commas. Minify before sending to reduce size.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
獲得最佳結果的提示
開始之前請花一點時間閱讀選項,並先用一個小例子試用工具。一切都在您裝置的瀏覽器中執行;您輸入或新增的任何內容都不會被上傳,關閉標籤頁會清除所有內容。如果看起來不對,請重新整理頁面重試,或使用本頁的報告連結告訴我們出了什麼問題。如果結果仍然看起來不對,請每次只更改一個值,看看哪個輸入影響最大。如果您還會再用,請收藏此頁。
要點
- 分類: 文件
- 在瀏覽器中執行,無需註冊,無需上傳。
- 您輸入的資訊保留在裝置上。
- 提供多種語言。
- 內容最後稽核日期:
常見問題
Why does my JSON show an error?
Common causes are a missing comma, single quotes instead of double quotes, or a comma after the last item.
Is my JSON uploaded?
No. It is checked on your device.
Is my JSON uploaded?
No. It is processed in your browser.
What does the error message mean?
It points to the line and position of the first problem.