Properties↔YAML Converter
Convert application.properties to application.yml and back
— indexed keys become lists, and types are handled the way Spring binds them.
In-browser & private
Comments are not carried across: a properties comment has no unambiguous home in the nested YAML it becomes, and inventing one would move it somewhere wrong.
application.properties
application.yml
Properties —
Depth —
Size 0 B
Ready
How the two shapes line up
- Dots become nesting.
spring.datasource.urlis three levels of YAML, which is the whole reason the file is easier to read. - Indexed keys become lists.
app.origins[0]and[1]turn into a YAML sequence — the form Spring binds aList<String>from. - Types are inferred the way Spring binds them.
8080becomes a number andtruea boolean, but1.0.0stays a string, and anything ambiguous is quoted on the way out. - A colon in a value is safe.
jdbc:mysql://…is one value, not a nested key, in both directions.