Skip to main content
DevTools24

Conversor INI/JSON

Converta entre formatos de configuração INI e JSON. Transforme arquivos de configuração legados para JSON moderno.

INI Format Notes:
  • • Sections are denoted with [section]
  • • Key-value pairs use key = value
  • • Comments start with ; or #
  • • Values with spaces should be quoted

INI vs JSON - Detalhes Técnicos

Arquivos INI usam cabeçalhos [seção] e pares chave=valor. JSON usa objetos aninhados. Converter entre eles ajuda a migrar configurações legadas para formatos modernos.

Alternativa via Linha de Comando

// INI format
[database]
host = localhost
port = 5432

// JSON equivalent
{ "database": { "host": "localhost", "port": "5432" } }