JSON Formatter
Format, validate and beautify JSON in your browser — no upload.
Convert Java .properties to YAML (and YAML back to .properties) without uploading the file. Dotted keys such as server.port=8080 become nested YAML, and comments are preserved — built for Spring Boot config like application.properties to application.yml.
The converted result appears here as you type.
All files are processed only in your browser and are never uploaded to any server.
Convert .properties to YAML (and back) free in your browser: dotted keys such as server.port=8080 become nested YAML, comments are preserved, and you can copy or download the result. Ideal for moving Spring Boot configuration between application.properties and application.yml — no data leaves your device.
Spring Boot accepts the same configuration as either YAML or a flat .properties file, and teams often need to move between them — migrating an old project, matching a teammate’s setup, or satisfying a tool that only reads one format. The mechanical difference is nesting: YAML nests with indentation, while .properties flattens with dotted keys, so server.port: 8080 becomes server.port=8080.
This converter does that remapping both ways and keeps comments attached to the keys they precede. Configuration often contains database passwords and API keys, so it is deliberately local: nothing is pasted to a server, and you can verify with your browser’s Network tab.
When converting to .properties, nested keys are flattened using dot notation (for example server.port=8080). Converting back rebuilds the nested structure.
Yes. Conversion happens entirely in your browser; nothing is uploaded to any server.
Yes. # comments in YAML and # or ! comments in .properties are carried over and attached to the corresponding key. Blank lines and alignment are not preserved.
Yes. Spring Boot configuration maps cleanly: profiles and nested sections become dotted keys (for example spring.datasource.url=…) and converting back rebuilds the YAML structure. Comments survive both directions.
Yes. Choose the Properties → YAML direction, paste your .properties file, and dotted keys such as spring.datasource.url are rebuilt into a nested YAML structure (application.yml).
How to Convert Java .properties to YAML
A quick guide to converting .properties to YAML — how dotted keys and comments are handled, and how to do it in your browser.