INI를 JSON으로 변환

역변환이 필요하신가요?
JSON to INI Converter

INI 입력

1

JSON 출력

INI 데이터를 입력하여 JSON(으)로 변환하세요

변환된 데이터가 여기에 표시됩니다

INI를 JSON으로 변환하는 방법

  1. 1단계 – INI 내용 붙여넣기

    • 표준 INI 구성(전역 키와 [섹션])을 붙여넣으세요.
    • ; 또는 #로 시작하는 주석은 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.