JSON Diff Viewer
เปรียบเทียบ JSON สองออบเจกต์เคียงข้างกันและไฮไลท์ฟิลด์ที่เพิ่ม ลบ และเปลี่ยนแปลง
| Key | Left | Right |
|---|---|---|
| name | "Alice" | "Alice" |
| age | 30 | 31 |
| role | "admin" | "user" |
| tags | ||
| tags[0] | "typescript" | "typescript" |
| tags[1] | "react" | "nextjs" |
| address | ||
| city | "New York" | "New York" |
| zip | "10001" | "10002" |
| active | true |
JSON Diff Viewer — Compare Two JSON Objects
Compare two JSON objects side by side and instantly highlight added, removed, and changed fields. Color-coded diffs make it easy to spot configuration changes, API response differences, and data migrations.
FAQ
How do I compare two JSON files?
Paste the first JSON in the left panel and the second in the right panel. Changes are highlighted: green for added keys, red for removed keys, and yellow for modified values.
What are common use cases for JSON diff?
Comparing API responses before/after a code change, reviewing config file updates, debugging data pipeline transformations, and auditing environment variable changes.
Does JSON diff care about key order?
No — the diff is semantic, not textual. { a: 1, b: 2 } and { b: 2, a: 1 } are treated as identical because JSON objects are unordered by definition.
สำรวจต่อ
ข้อมูลและสเปรดชีต อื่นๆ ที่คุณอาจชอบ...
ดูและแก้ไข CSV
ดู เรียง กรอง และตรวจสอบไฟล์ CSV เป็นตารางโต้ตอบ — ทั้งหมดในเบราว์เซอร์
ดูตาราง JSON
แสดง JSON arrays ของ objects เป็นตาราง HTML ที่เรียงลำดับ ค้นหาได้ พร้อมกรองคอลัมน์
แปลง Excel เป็น CSV
แปลงไฟล์ Excel XLSX และ XLS เป็น CSV — ไม่ต้องอัปโหลด ทำงานในเบราว์เซอร์ผ่าน SheetJS
ดึงคอลัมน์ CSV
เลือกคอลัมน์เฉพาะจากไฟล์ CSV แล้วดาวน์โหลด — เหมาะสำหรับทำความสะอาดชุดข้อมูลขนาดใหญ่
SQL บน CSV
รัน SQL SELECT queries บนไฟล์ CSV ที่อัปโหลดโดยตรง — ไม่ต้องใช้เซิร์ฟเวอร์
รวม CSV
รวมไฟล์ CSV หลายไฟล์เป็นหนึ่ง — จัดเรียงใหม่ ลบแถวซ้ำ และจัดการหัวตารางอัตโนมัติ
JSON เป็น Excel
แปลง JSON array ของ objects เป็น Excel (.xlsx) หรือ CSV — ขับเคลื่อนด้วย SheetJS ทำงานในเบราว์เซอร์
ตัวแปลง XML ↔ JSON
แปลง XML เป็น JSON และ JSON กลับเป็น XML — สองทิศทาง ไม่มี dependency ทำงานในเบราว์เซอร์