Convert INI to YAML
Turn INI files into YAML. Sections become objects and keys before the first section stay at the top level; a repeated key becomes a list, a repeated section is merged, and unquoted numbers and booleans are typed.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop INI files on the dialor turn it to pick what to do
INI settings as a YAML file.Sections become objects, and values get their types.
What you get
One YAML file built from your INI file. Each section becomes an object, and the keys inside it become its fields. Keys that appear before the first section stay at the top level.
How values are read
Unquoted numbers and booleans are typed, so a number comes out as a number and a boolean as a boolean. A quoted value is not typed this way.
Repeated keys and sections
A key that appears more than once becomes a list of its values. A section that appears more than once is merged into a single object.
Going back
To turn YAML into INI again, use YAML to INI. For other options, see every YAML conversion.
INI and YAML.What each format is.
The formats
INI
Sections of key and value pairs, the settings format of Windows and many tools.
- Extensions
- .ini .cfg
- MIME type
- text
/x -ini - Kind
- Text and data
YAML
YAML configuration and data files.
- Extensions
- .yaml .yml
- MIME type
- application
/yaml - Kind
- Text and data
In your code.The same INI to YAML conversion through the API, for your app or your agent.
$ cv convert report.ini report.yaml$ cv convert report.ini report.yamlQuestions.What people ask about INI to YAML.
They stay at the top level of the YAML file, next to the section objects.
It becomes a list of its values.
The two sections are merged into one object.
No. Unquoted numbers and booleans are typed. Quoted values are not.