Java Properties to YAML
Convert Java property keys, escaped values and continued lines into YAML strings. Choose UTF-8 or ISO-8859-1 for local files and find duplicates after decoding.
Decode Java Escapes Before YAML Export
Java Properties to YAML: how to use it
- Paste .properties text or choose the file’s encoding and open the original file.
- Select Convert to YAML. Check escaped spaces or separators, Unicode characters and values joined across lines.
- Preview the flat mapping and download the YAML. Check whether the destination expects dotted keys or additional nesting.
Limits and notes
Accepts up to 250,000 UTF-16 code units. Reads UTF-8 and Unicode files with a byte-order mark. Also reads exact ISO-8859-1 bytes when selected. Decodes Java escape sequences and line continuations. Rejects repeated decoded keys, malformed Unicode escapes and isolated surrogate code units. Outputs a flat mapping with string keys and values.
How your privacy works →Java Properties to YAML: common questions
Does a property without a value become null?
A standalone key becomes a zero-character string. Text such as true, null or 0012 also remains a string.
What happens to keys such as service.port?
The full key stays service.port. Dot-separated property names do not create nested mappings.
When should I select ISO-8859-1?
Select it when the source is read by Java Properties.load(InputStream) or you know the file uses Latin-1. The setting applies to file bytes. Pasted text has already been decoded.