Config File Converter (INI, .properties, plist, TOML, YAML, JSON, XML, .env)

Turn one configuration format into another: TOML, YAML, JSON, INI, .properties, .env, plist, XML or CSV, with typed values, nesting options and clear error messages.

S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho

…

Com es fa

  1. 1
    Paste the file

    Paste the configuration text.

  2. 2
    Choose formats

    Pick the output; leave the input on automatic.

  3. 3
    Set options

    Typed values, nesting, indent and XML root name.

  4. 4
    Check errors

    Fix any line reported.

  5. 5
    Copy or download

    Save the converted file.

  6. 6
    Validate

    Test it with the program that reads it.

Sobre aquesta eina

Configuration lives in many formats. Rust and Python use TOML, Kubernetes and CI pipelines use YAML, Node uses JSON, PHP and Windows software use INI, Java and Spring use .properties, containers read .env files and Apple apps keep settings in plists. Moving a setting from one world to another, documenting a config in a different format or feeding one tool's output into another means retyping and getting quotes, nesting and types wrong. This converter reads nine formats and writes any of them. It detects the input format for you, reports errors with the line number, and turns "8080" and "true" into real numbers and booleans when you want it to. Dotted keys like spring.datasource.url can become nested structures, and nested structures become dotted keys or double-underscore environment names on the way back. Everything runs in your browser, so configuration with private hostnames never leaves your machine.

Supported formats

- JSON and YAML: full parsing; YAML uses the 1.2 core schema. - TOML: tables, arrays of tables, dotted keys, inline tables, multi-line strings, hex, octal and binary integers, with duplicate-key errors. - INI: sections, nested sections with dots, comments with ; or #, and key[] lists. - Java .properties: = or : separators, line continuations and \u escapes. - .env: export prefixes, quotes, inline comments. - Apple plist (XML): dict, array, string, integer, real, true, false, date and data. - XML: attributes become @name keys and repeated elements become lists. - CSV: rows of objects, with nested values flattened to dotted columns.

Types and nesting

Formats like INI, .properties and .env store everything as text. Tick typed values to turn numbers and true/false into proper types when converting to JSON, YAML or TOML. Tick nesting to treat dots in keys as structure, which matches how Spring Boot and many libraries read .properties files.

What does not survive

Comments are dropped, because most formats have nowhere to keep them in a converted structure. INI, .properties and .env have no real lists, so arrays become comma-separated text or key[] lines. TOML dates are kept as text. XML mixed content is simplified to a #text value.

Typical uses

- Moving a Cargo.toml or pyproject.toml section into YAML documentation. - Turning Spring application.properties into application.yaml. - Generating a .env file from a JSON settings object for Docker. - Reading a plist from an iOS project as JSON.

Checking the result

After converting, paste the output back in with the input format set to automatic: if it reads cleanly and the value count matches, the conversion kept everything.

Limits

Very large files are slow to convert in a browser tab. YAML anchors are expanded. Validate the result with the tool that will read it before deploying.

Exemple resolt

A Spring Boot application.properties with server.port=8080 and three spring.datasource keys, converted with nesting on, becomes a YAML file with server: port: 8080 and a nested spring: datasource: block, and port is a real number.

En resum

Preguntes freqüents

Which formats can it read and write?

JSON, YAML, TOML, INI, Java .properties, .env, Apple plist (XML), generic XML and CSV.

Does it detect the input format?

Yes, or you can choose it yourself.

Are comments kept?

No. Most formats cannot keep comments through a conversion.

How are nested keys written to .env?

As upper-case names joined with double underscores, such as DATABASE__HOST.

Is my configuration uploaded?

No. Conversion runs in your browser.

What if the input has an error?

You get the error with its line number.

Totalment gratisSense cost, sense registre
Els fitxers es mantenen privatsTot funciona al teu navegador
Fàcil en el teu idiomaDisponible en molts idiomes