JSON 格式化工具

格式化、驗證和美化 JSON 資料

輸入 JSON

格式化結果

檢視模式:
格式化後的程式碼將在這裡顯示...

使用說明

  • 點擊「美化」來格式化和美化 JSON 資料
  • 點擊「壓縮」來壓縮 JSON 資料
  • 點擊「驗證」檢查JSON語法
  • 點擊「載入」載入範例資料
  • 切換到「樹狀檢視」以互動方式瀏覽JSON結構
  • 使用「歷史」按鈕在本地儲存、檢視和管理您過去的JSON條目。
  • 所有處理都在您的瀏覽器本地完成

How to format JSON online

Paste JSON to beautify, minify, validate, and inspect it in a tree view. Processing stays in your browser, making the tool useful for configuration files, API responses, and debugging data.

  1. Paste JSON or load the sample.
  2. Choose beautify, minify, or validate.
  3. Review the output and tree, then copy or download the result.

Does formatting change JSON data?

No. It changes whitespace and indentation, not keys or values.

Is my JSON uploaded?

No. JSON is processed only in the current browser tab.