ToolHub
เปิดเครื่องมือ

ตัวแปลง TOML YAML

Bidirectional TOML and YAML converter. Convert TOML configuration files to YAML format and vice versa.

การแปลงรูปแบบ

เกี่ยวกับเครื่องมือนี้

TOML YAML Converter เป็นเครื่องมือแปลงสองทิศทางที่แปลงระหว่างรูปแบบการกำหนดค่า TOML และ YAML โหมด TOML เป็น YAML แยกวิเคราะห์ไฟล์ TOML และแสดงผล YAML ที่เป็นระเบียบ โหมด YAML เป็น TOML แยกวิเคราะห์ YAML และแปลงเป็น TOML ที่ถูกต้อง พร้อมโครงสร้างตารางและอาร์เรย์ตารางที่ถูกต้อง การประมวลผลทั้งหมดทำในเบราว์เซอร์

คุณสมบัติหลัก

แสดงตัวอย่างอย่างรวดเร็ว

กรณีการใช้งาน

toml yaml converter config

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

What is the TOML YAML Converter?

The TOML YAML Converter is an online bidirectional converter that allows you to convert TOML configuration files to YAML format and vice versa. It runs entirely in your browser with no data sent to any server.

Does it support the full TOML specification?

Yes, the converter supports the full TOML specification including tables, array of tables, inline tables, and all value types such as strings, integers, floats, booleans, and dates.

How are TOML arrays of tables converted to YAML?

TOML arrays of tables (using [[double.brackets]]) are converted to YAML sequences (lists). Each array of tables entry becomes a list item in the YAML output, preserving the structure and order of the original TOML data.

How are TOML date/time types handled?

TOML native date and time types (local date, local time, datetime, offset datetime) are converted to their string representations in YAML, since YAML does not have native date types in the same way. The ISO 8601 format is preserved.

Can I convert YAML with anchors and aliases to TOML?

YAML anchors (&) and aliases (*) are resolved before conversion to TOML. The tool expands all references so the resulting TOML contains the full data without any anchor or alias syntax, which TOML does not support.