INI から JSON への変換

逆方向の変換が必要ですか?
JSON to INI Converter

INI 入力

1

JSON 出力

INI データを入力して JSON に変換

変換後のデータはここに表示されます

INI を JSON に変換する方法

  1. ステップ 1 – INI を貼り付ける

    • 標準的な INI(グローバルキーと [sections])を貼り付けます。
    • ; や # で始まるコメントは JSON 出力では無視されます。
    • .ini / .txt をコンピュータからインポートできます。
  2. ステップ 2 – 変換結果を確認する

    • グローバルキーは JSON のルートに残ります。
    • [database] のようなセクションは JSON の入れ子オブジェクトになります。
    • 数値は可能な範囲で自動判定され、適切な型になります。
  3. ステップ 3 – JSON を取得する

    • 古い設定をモダンなアプリへ移行する用途に JSON を使えます。
    • クリップボードへコピー、または .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

よくある質問

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 への変換 | JSONSwiss