INI to YAML
Convert top-level INI settings and named sections into YAML mappings. Preserve empty values, leading zeros and punctuation. Find duplicate keys and sections before export.
Keep INI Settings as Strings in YAML
INI to YAML: how to use it
- Open an INI file, paste its text, or load the warehouse example.
- Select Convert to YAML. If conversion reports a duplicate or malformed line, fix it in the source and convert again.
- Preview the YAML. Check which keys are inside each section and download the mapping as UTF-8.
Limits and notes
Accepts up to 250,000 UTF-16 code units. Reads UTF-8 and Unicode files with a byte-order mark. Uses case-sensitive keys, named sections and one assignment per line. Accepts equals or colon separators and full-line comments beginning with # or ;. Quotes, backslashes and inline comment characters are literal text. Output omits comments.
How your privacy works →INI to YAML: common questions
What happens to values like 0012 or false?
They are YAML strings, as are empty values, long identifiers and values that look like arrays. The export quotes keys and values.
Does a dot in a section name create an extra level?
No. A section named warehouse.eu creates one mapping with the key warehouse.eu.
Can I use a section named DEFAULT?
Yes. DEFAULT becomes a regular named section. Values from it stay in that section without being inherited by other sections.