INI zu JSON Konverter

Benötigst du die umgekehrte Konvertierung?
JSON to INI Converter

INI Eingabe

1

JSON Ausgabe

Geben Sie INI-Daten ein, um sie in JSON umzuwandeln

Ihre konvertierten Daten erscheinen hier

So konvertieren Sie INI in JSON

  1. Schritt 1 – INI-Inhalt einfügen

    • Fügen Sie eine standardmäßige INI-Konfiguration (globale Keys und [Sektionen]) ein.
    • Kommentare, die mit ; oder # beginnen, werden in der JSON-Ausgabe ignoriert.
    • Importieren Sie .ini- oder .txt-Dateien direkt von Ihrem Computer.
  2. Schritt 2 – Konvertierung prüfen

    • Globale Keys bleiben auf Root-Ebene des JSON-Objekts.
    • Sektionen wie [database] werden zu verschachtelten Objekten in JSON.
    • Numerische Werte werden, sofern möglich, automatisch erkannt und typisiert.
  3. Schritt 3 – JSON herunterladen

    • Nutzen Sie das JSON, um Legacy-Konfigurationen in moderne Apps zu migrieren.
    • Kopieren Sie es oder laden Sie es als .json-Datei herunter.
Example: INI to JSON
# Input INI
driver = postgres

[connection]
host = localhost
port = 5432

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

Related tools

Häufig gestellte Fragen

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.