Title here
Summary here
Paste a nested YAML file (such as Spring Boot’s application.yml) into the left editor to flatten every key path into Java .properties key=value lines on the right. Everything runs 100% in your browser — the YAML you paste never leaves your machine. Converting the other way? Use the Property to YAML Converter.
.properties | YAML Structure | Flattened .properties Output |
|---|---|
Nested maps spring: → application: → name: billing |
spring.application.name=billing |
List of scalars tags: [a, b] |
tags[0]=a and tags[1]=b |
List of objects nodes: → - host: n1 |
nodes[0].host=n1 |
Booleans & numbers port: 8080, ssl: true |
port=8080, ssl=true |
| Empty / null values | key=null (or empty string) |
.properties @PropertySource compatibility: Classic Java java.util.Properties and Spring @PropertySource load .properties files natively without extra YAML factories.grep "datasource.url" application.properties returns the exact full key on one line, with zero risk of accidental indentation bugs during merges.-Dkey=value JVM arguments or Spring Boot CLI overrides is straightforward once flattened.--- documents): If your application.yml uses --- separators for spring.config.activate.on-profile, convert each profile block into its own application-dev.properties / application-prod.properties file.|) contain literal newlines. In Java .properties only \n keeps a newline inside a value; a trailing backslash \ just continues the entry on the next line, joining the lines without one. The converter writes each newline as \n (and a backslash as \\), so a multiline value stays on its own line.servers[0], servers[1]) must stay contiguous starting at 0 in Spring Boot relaxed binding.a.b.c=value) and YAML lists flatten using zero-based bracket notation (items[0]=foo, items[0].name=bar), matching Spring Boot’s .properties binding format.