Properties to YAML
Convert a .properties file into YAML, with dotted keys turned into nested mappings.
What Properties to YAML does
The file is read once, correctly, and then written by a real YAML emitter — so a value that needs quoting gets quoted, and one that does not stays readable. Dotted keys become nesting: feature.new-checkout = true is feature: then new-checkout: true. The values stay strings, because that is what a properties file holds; a YAML reader will show true as a boolean, which is a change the round trip back does not undo, and both pages say so.
How to use it
Properties to YAML: paste the .properties into the box above, and press Run to get the YAML below.
Worked example
Input:
app.name = billing
app.timeout = 30s
feature.new-checkout = true
feature.legacy-cart = false
Output:
app:
name: billing
timeout: 30s
feature:
new-checkout: 'true'
legacy-cart: 'false'
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads .properties and returns YAML; reloading the page discards both.
The file is read once, correctly, and then written by a real YAML emitter — so a value that needs quoting gets quoted, and one that does not stays readable. Dotted keys become nesting: `feature.new-checkout = true` is `feature:` then `new-checkout: true`. The values stay strings, because that is what a properties file holds; a YAML reader will show `true` as a boolean, which is a change the round trip back does not undo, and both pages say so.
Convert a .properties file into YAML, with dotted keys turned into nested mappings.
How to use it
Properties to YAML: paste the .properties into the box above, and press Run to get the YAML below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads .properties and returns YAML; reloading the page discards both.
What to Expect
Best for
- Converting .properties to YAML when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
app.name = billing app.timeout = 30s feature.new-checkout = true feature.legacy-cart = false
Sample output
app: name: billing timeout: 30s feature: new-checkout: 'true' legacy-cart: 'false'
Frequently asked questions
How do I use the properties to yaml?
Properties to YAML: paste the .properties into the box above, and press Run to get the YAML below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.