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.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Paste the file
Paste the configuration text.
- 2Choose formats
Pick the output; leave the input on automatic.
- 3Set options
Typed values, nesting, indent and XML root name.
- 4Check errors
Fix any line reported.
- 5Copy or download
Save the converted file.
- 6Validate
Test it with the program that reads it.
About this tool
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.
Worked example
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.
Quick facts
- Category: Developer & Data
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: TOML v1.0.0 specification and YAML 1.2 specification
Frequently asked questions
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.
