Monu Tools

JSON TOML कनवर्टर

JSON को TOML में और TOML को वापस JSON में बदलें, दोनों दिशाओं में, पूरी तरह आपके ब्राउज़र में।

JSON / TOML का उपयोग कैसे करें

  1. 01

    एक दिशा चुनें: JSON से TOML या TOML से JSON।

  2. 02

    अपना JSON या TOML पेस्ट करें।

  3. 03

    परिणाम कॉपी करें, या वापस कनवर्ट करने के लिए स्वैप करें।

A two-way JSON and TOML converter

This is a two-way converter between JSON and TOML. Pick a direction, paste your data, and copy the result. It is built on a well-tested TOML parser that handles nested tables and arrays of tables correctly.

Everything runs locally in your browser, so your data, which for config files can include hostnames or tokens, never leaves your device.

What TOML is for

TOML (Tom's Obvious, Minimal Language) is a configuration format designed to be obvious to read and to map cleanly onto a hash table. It is what Rust's Cargo uses for Cargo.toml and what Python projects use for pyproject.toml, among many others.

JSON and TOML: similar data, different jobs

JSON and TOML describe similar data but suit different jobs. JSON is the lingua franca for APIs and machine exchange. TOML is built for human-written config, with sections, comments and first-class dates that make a settings file pleasant to edit.

TOML also supports native date and time values and typed numbers, so values keep their meaning rather than all becoming strings, which is part of why it is preferred for configuration.

The one thing to watch: null values

Most data round-trips cleanly, but there is one catch. TOML has no null value. JSON nulls cannot be represented, so remove or replace them before converting to TOML, otherwise the conversion cannot express them.

अक्सर पूछे जाने वाले सवाल

TOML क्या है?

TOML एक न्यूनतम कॉन्फिगरेशन फॉर्मेट है जो पढ़ने में आसान होने के लिए बनाया गया है, Cargo और pyproject.toml जैसे Python प्रोजेक्ट द्वारा उपयोग किया जाता है।

क्या सब कुछ साफ कनवर्ट होता है?

अधिकांश डेटा होता है। TOML में null नहीं है, इसलिए JSON nulls को कनवर्ट करने से पहले हटाएं या बदलें।

क्या मेरा डेटा कहीं अपलोड होता है?

नहीं। कनवर्शन पूरी तरह आपके ब्राउज़र में चलती है।

स्रोत

इस टूल को एम्बेड करें

इस टूल को अपनी वेबसाइट में जोड़ें। नीचे दिया स्निपेट कॉपी करें; यह अपने आप अपडेट रहता है।

<iframe src="https://monu.tools/embed/hi/json-toml-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

संबंधित टूल