Skip to content

Formateurs & Code

Convertisseur INI ⇄ JSON

Convert INI configuration files to JSON and back.

Runs in your browser

Note de la rédaction

Understanding · The config format with no specification.

Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.

Questions fréquentes

Quick answers.

How are INI sections handled in JSON?

INI sections are converted into top-level keys in the JSON object. Key-value pairs within that section become properties of that specific key.

Can I convert nested JSON back to INI?

Yes. The converter will attempt to flatten the JSON structure by using the top-level keys as INI section headers.

Does this tool support comments?

INI comments starting with `;` or `#` are stripped during conversion to JSON, as the standard JSON specification does not support comments.

Is my configuration data secure?

Yes. All conversion logic is executed locally using JavaScript. Your configuration strings, passwords, and API keys stay on your machine.

Les internautes recherchent aussi

Outils similaires

More in this room.

Tout voir dans Formateurs & Code