PDF Mikata

วิธีจัดรูปแบบ JSON (ฟรี)

เผยแพร่: 19 ต.ค. 2026 | อัปเดต: 19 ต.ค. 2026 | เกี่ยวกับ (ภาษาญี่ปุ่น)

ประเด็นสำคัญ
  • วาง
  • เลือก
  • คัดลอก

JSON from an API or a configuration file is crammed onto one line and unreadable. Format and Validate JSON indents JSON to make it readable and also checks whether it is written correctly. What you paste is processed inside this device and sent nowhere.

ขั้นตอน

  1. Paste the JSON into "Before".
  2. Under "Indent", choose from "2 spaces", "4 spaces" and "Tab".
  3. If needed, tick "Sort keys".
  4. Press "Format".
  5. The result appears under "After". Copy it with "Copy result".
If the form is correct, "Valid JSON" is shown; if there is an error, "The JSON is malformed" is shown.

What JSON is

A way of writing data often used in programs and web services. Written in the form "name: value" and enclosed in braces { } or brackets [ ].

Benefits of formatting

Choosing the indent

เหมาะกับ

ตัวอย่าง

Pasted one-line JSON returned from an API. Formatting with "2 spaces" showed the nested structure and let me find the target item at once.

Common stumbling blocks

Frequently asked questions

Does formatting change the data's contents?

No. Only the visible spaces and line breaks change. (Choosing "Sort keys" changes the order.)

Is what I paste sent?

No. It is processed inside the browser.

สรุป

Paste, choose the indent and press "Format". It also checks correctness at the same time.

ใช้ “จัดรูปแบบและตรวจสอบ JSON” (ฟรี)

เครื่องมือที่ใช้คู่กันได้ดี

หากคู่มือนี้เป็นประโยชน์ ทิปเล็ก ๆ น้อย ๆ จะเป็นกำลังใจอย่างมาก

ส่งทิป (¥300)ส่งของขวัญ (Amazon wishlist)

คู่มืออื่น ๆ ของเครื่องมือนี้

ดูคู่มือทั้งหมด