Skip to content

ตัวจัดรูปแบบและโค้ด

ตัวแปลง YAML เป็น JSON

ตัวแปลง YAML เป็น JSON ฟรี วาง YAML ที่ถูกต้องและรับ JSON ที่สะอาด เหมาะสำหรับ Kubernetes manifests, การกำหนดค่า CI และ OpenAPI specs

Runs in your browser
YAML · source
lines: 0chars: 0size: 0 B
YAML
JSON · target
lines: 0chars: 0size: 0 B
JSON

หมายเหตุจากบรรณาธิการ

Understanding · Same data, looser syntax.

บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล

คำถามที่พบบ่อย

Quick answers.

What YAML version is supported?

YAML 1.2 — the modern superset of JSON. Anchors, references, multi-line strings and nested structures all work.

Are comments preserved?

No — JSON doesn't support comments, so they're stripped on conversion.

What if my YAML is invalid?

You'll see a clear error with the line and column. Common issues: tabs (use spaces), inconsistent indentation, unquoted special chars.

Is my YAML uploaded?

No — runs entirely in your browser.

Is the converter free?

Yes — fully free, no signup.

ผู้คนยังค้นหา

บทความที่เกี่ยวข้อง

จากบล็อก(1)

Use with

What people reach for next.

เครื่องมือที่เกี่ยวข้อง

More in this room.

ดูทั้งหมดใน ตัวจัดรูปแบบและโค้ด