Skip to content

格式化与代码

INI ⇄ JSON 转换器

Convert INI configuration files to JSON and back.

Runs in your browser

编辑注

Understanding · The config format with no specification.

本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。

常见问题

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.

大家也在搜索

相关工具

More in this room.

查看所有 格式化与代码