YAML ⇄ Properties Converter
Convert between YAML and Java .properties both ways.
What is YAML ⇄ Properties Converter
The YAML ⇄ Properties converter transforms YAML into Java .properties (nested keys flattened dot-style, arrays as key.0) and .properties back into YAML, auto-typing numbers and true/false. Handy for comparing Spring Boot application.properties against application.yml. Runs entirely in your browser.
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
Two formats with incompatible ideas about keys
YAML nests; .properties is a flat key=value list where hierarchy exists only by convention — a.b.c=1 has no relationship to any a or a.b key. Converting downward is lossless if the nesting is joined with dots, and converting back relies on those dots to rebuild the tree, which fails for any key that legitimately contains a dot.
So a round trip is only guaranteed for data that was generated from the other side. Real .properties files written by humans routinely contain keys like user.name where the dot is part of the name rather than a path separator, and the tree that comes back is wrong in a way that only shows up at runtime.
Encoding rules that surprise people
The .properties specification reads files as ISO-8859-1 with \uXXXX escapes for everything else, so non-Latin text must be escaped or the file must be read with an explicit UTF-8 charset by the consuming library. Modern Java does the latter by default; older tools do not, and the result is mojibake that looks like a locale problem.
Line continuation is a trailing backslash, and whitespace around the = is significant in some parsers. A formatter that tidies spacing can therefore change a value that intentionally begins with a space.
Duplicates and ordering
In .properties the last definition of a key wins, silently. YAML rejects duplicate keys outright. Converting a file with duplicates to YAML produces an error, and converting back produces a file with one fewer line than you started with — check the key count on both sides.
Order is preserved by neither format's specification, but both preserve it in practice in every common implementation. If a downstream tool diffs these files, keep the order stable by editing in place rather than regenerating from a tree.
How to use
- 1.Paste YAML or .properties
- 2.Pick the direction
- 3.Run and copy the result
How this compares
There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.
| Aspect | This tool | Upload-based converters | Desktop software |
|---|---|---|---|
| Where the file is processed | In your browser, on this page | On the vendor's servers, after an upload | On your own machine, after installing an app |
| Account required | No | Usually — free tiers ask you to sign in before lifting a limit | No, though a licence may be needed |
| Size you can process for free | No size cap, no run limit | A few files per hour, or a ~5–10 MB cap before a paywall | Whatever your disk and RAM allow |
| Price | Free. Pro is $9/month, and only buys larger files and AI features | Usually a subscription — roughly $7–15/month as of November 2026 | A one-off licence, or a subscription |
| Works offline | Yes, once the page has loaded | No | Yes |
| Time before work starts on a 20 MB file | Immediate — there is nothing to upload | Dominated by the upload — about 16 s on a 10 Mbps uplink | Just the app launch |
| What it cannot preserve | Invalid input returns the parser error position instead of a repaired file | The same — the conversion is the same maths | The same, though some desktop apps re-render styles more faithfully |
Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.
Frequently asked questions
How are arrays handled?
YAML → properties flattens arrays as my.list.0 = x. The reverse direction keeps numeric keys as object keys (no array rebuild).
Is typing automatic?
Only properties → YAML: numbers and true/false become typed values; everything else stays a string.
What this kind of conversion cannot keep
Formatters parse the input into a tree and print it back with consistent indentation. If the input is invalid, you get the parser's error position instead of a silently mangled file — malformed JSON stays malformed rather than being «repaired» into something that is no longer yours.
More in Format
On this page
- What is YAML ⇄ Properties Converter
- What it does with your file
- How it actually behaves
- How to use it
- How this compares
- FAQ
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →