Convertitore INI in JSON

Ti serve la conversione inversa?
JSON to INI Converter

Input INI

1

Output JSON

Inserisci dati in INI per convertirli in JSON

I dati convertiti appariranno qui

Come convertire INI in JSON

  1. Passo 1 – Incolla il contenuto INI

    • Incolla una configurazione INI standard (chiavi globali e [sezioni]).
    • I commenti che iniziano con ; o # vengono ignorati nell’output JSON.
    • Importa file .ini o .txt direttamente dal tuo computer.
  2. Passo 2 – Verifica la conversione

    • Le chiavi globali restano alla radice dell’oggetto JSON.
    • Sezioni come [database] diventano oggetti annidati nel JSON.
    • I valori numerici vengono rilevati e tipizzati automaticamente quando possibile.
  3. Passo 3 – Scarica il JSON

    • Usa il JSON per migrare configurazioni legacy verso applicazioni moderne.
    • Copia negli appunti o scarica come file .json.
Example: INI to JSON
# Input INI
driver = postgres

[connection]
host = localhost
port = 5432

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

Related tools

Domande frequenti

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.