INI से JSON Converter

उल्टा रूपांतरण चाहिए?
JSON to INI Converter

INI इनपुट

1

JSON आउटपुट

JSON में बदलने के लिए INI डेटा दर्ज करें

कन्वर्ट किया गया डेटा यहाँ दिखाई देगा

INI को JSON में कैसे convert करें

  1. स्टेप 1 – INI content paste करें

    • Standard INI config (global keys और [sections]) paste करें।
    • ; या # से शुरू होने वाले comments JSON output में ignore होते हैं।
    • Computer से .ini या .txt files import करें।
  2. स्टेप 2 – Conversion verify करें

    • Global keys JSON object के root पर रहते हैं।
    • [database] जैसे sections JSON में nested objects बनते हैं।
    • Numeric values जहाँ संभव हो, auto-detect होकर typed हो जाते हैं।
  3. स्टेप 3 – JSON प्राप्त करें

    • JSON output का उपयोग legacy configs को modern apps में migrate करने के लिए करें।
    • Clipboard में copy करें या .json file के रूप में download करें।
Example: INI to JSON
# Input INI
driver = postgres

[connection]
host = localhost
port = 5432

// Output JSON
{
  "driver": "postgres",
  "connection": {
    "host": "localhost",
    "port": 5432
  }
}

Related tools

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

What is INI format?

INI files are configuration files that store data in sections with key-value pairs. They're commonly used in Windows applications and system configurations.

How are INI sections converted to JSON?

INI sections become JSON objects. Global key-value pairs (outside sections) are placed at the root level, while sectioned data creates nested objects.

What data types are supported?

The converter automatically detects numbers, booleans (true/false), and null values. Arrays can be represented as comma-separated values in INI.

Can I convert nested JSON back to INI?

Yes. Use the JSON to INI converter. Nested objects become INI sections, and arrays are converted to comma-separated values.

Is my data secure?

Yes, all data processing happens entirely in your browser. Your data is never sent to any server, ensuring complete privacy and security.

INI से JSON Converter | JSONSwiss