TOML ↔ JSON Converter

Convert TOML config to JSON and back - handles tables and array-of-tables

🔒 100% داخل الـ browser🆓 مجاني للأبد⚡ بدون تسجيل
ملاحظة: واجهة الأداة أدناه متاحة حالياً بالإنجليزية فقط. نحن نترجم الـ UIs تباعاً. شاهد هذه الأداة بالإنجليزية →

Handles common TOML v1.0 features: tables, arrays of tables ([[section]]), inline tables, strings, numbers, booleans, dates. Exotic edge cases (multi-line arrays split across lines with mixed comments) may not round-trip perfectly.

طريقة الاستخدام

  1. 1
    Paste TOML or JSON

    Drop either format - Cargo.toml, pyproject.toml, wrangler.toml, or any config file.

  2. 2
    Pick a direction

    TOML → JSON or JSON → TOML. The parser handles tables, [[array-of-tables]], and inline tables.

  3. 3
    Copy the output

    One click sends the converted config to your clipboard.

عن TOML ↔ JSON Converter

Free online TOML ↔ JSON converter. Paste TOML (Cargo.toml, pyproject.toml, wrangler.toml, config.toml) to get pretty JSON, or JSON to get clean TOML. Handles tables, array-of-tables, inline tables, dates, and typed literals. Runs entirely in your browser. TOML ↔ JSON Converter على 712 Tools يعمل بالكامل داخل الـ browser الخاص بك باستخدام APIs الأصلية لـ JavaScript - لا يرى أي server بياناتك أبداً. أي: نتائج فورية، خصوصية كاملة، ولا حدود للرفع.

سواء كنت في جلسة debugging، أو مراجعة سريعة، أو حادثة إنتاج - هذه الأداة مجانية وبلا حد للاستخدام. لا علامات مائية، ولا تسجيل، ولا إعلانات داخل الأداة.

الأسئلة الشائعة

Which TOML version?

TOML v1.0. Common features are supported: tables, array-of-tables, inline tables, strings, numbers, booleans, dates.

Does it preserve comments?

No - TOML comments are stripped on parse, same as YAML → JSON. That's a spec limitation, not a tool one.

Why do I care about TOML?

It's the config format for Rust (Cargo.toml), Python packaging (pyproject.toml), Cloudflare Workers (wrangler.toml), and many other modern tools.

اقرأ المزيد