Skip to content

Properties to YAML Converter

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.

Indent
0 lines
YAML0 lines

The converted result appears here as you type.

All files are processed only in your browser and are never uploaded to any server.

Quick answer

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.

Input
YAML (YML) or .properties · paste, or load a file
Output
Copy to clipboard, or download as .yml / .properties
Nested keys
Flattened with dot notation · rebuilt when converting back
Comments
Preserved in both directions
Syntax highlighting
Yes · YAML and .properties
Data sent to a server
None · everything runs locally
Price
Free · no registration
Works on
Any modern browser · Windows, macOS, Linux, iOS, Android

How to use this Properties to YAML Converter

  1. Paste YAML or .properties content into the input box.
  2. Choose the conversion direction (YAML → Properties or Properties → YAML).
  3. Copy or download the result.

Converting Spring Boot application.yml to application.properties

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.

Frequently Asked Questions

How are nested keys handled?

When converting to .properties, nested keys are flattened using dot notation (for example server.port=8080). Converting back rebuilds the nested structure.

Is my data private?

Yes. Conversion happens entirely in your browser; nothing is uploaded to any server.

Are comments preserved?

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.

Does this work for Spring Boot application.yml?

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.

Can I convert application.properties back to YAML?

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).

Related guide

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.

Related Tools