Data & JSON
Properties ⇄ YAML
Convert Java .properties and YAML (.yml / .yaml) configurations bidirectionally in your browser. Supports Spring Boot array indexing, line continuations, leading-zero preservation, key sorting, and Unicode escapes.
About this tool
Convert between Java .properties and YAML configurations in one dual-pane workspace, tailored for Spring Boot, Spring Cloud, and Nacos migrations.
Properties to YAML handles # / ! comments, backslash line continuations, \uXXXX escapes, and safe scalar inference (preserving leading-zero IDs as strings). YAML to Properties supports bracket [0], dotted .0, and comma-joined array flattening.
Best use cases
- Migrate verbose application.properties files into readable hierarchical application.yml.
- Flatten nested YAML configurations into key=value pairs for legacy runners or config audits.
- Detect path conflicts (such as a key acting as both scalar and object) with exact line numbers.
How to use it
- Paste Properties on the left or YAML on the right, import a file, or load the Spring Boot sample.
- Configure indentation, array flattening syntax, type inference, key sorting, or Unicode escaping.
- Click the conversion button and copy or download the resulting .properties or .yml file.
Scope and limits
- Up to 200,000 characters, 40 nesting levels, and 20,000 nodes per conversion.
- Comments in .properties are skipped and not transferred into YAML; multi-document YAML (---) is not supported.
Data processing
All parsing and serialization happen locally in your browser without uploading credentials or config files.
FAQ
Will leading zeros like 00123 or long IDs be corrupted?
No. Type inference keeps leading-zero values and integers outside JavaScript safe-integer bounds as strings.
Which array formats are supported when flattening YAML?
You can choose Spring bracket syntax (servers[0].host), dotted index syntax (servers.0.host), or comma-joined lists for scalar arrays.