JSON, YAML, and .properties
are the three most common formats for application configuration across
virtually every tech stack. REST APIs and config services use JSON,
Docker Compose, Kubernetes, Ansible, and CI/CD pipelines (GitHub Actions,
GitLab CI) use YAML, while Java and Gradle projects typically use .properties.
These formats regularly need to cross boundaries - this tool converts
instantly between all three, in any direction.
Everything runs 100% in your browser - no data is sent to any
server. Safe to use with real config values.
🔁 Properties ⇄ YAML Converter
100% Client-Side Execution. No Data Sent to Server
Secure
Status:
The Same Config in All Three Formats
All three formats express the same nested key-value structure - only the syntax differs.
Here is a generic application config shown in each format:
The dot notation in .properties (database.host) maps
directly to nested keys in YAML and JSON. The converter handles this
nesting automatically in both directions.
Key Features
1. All Six Conversion Directions
Properties → YAML, Properties → JSON, YAML → Properties, YAML → JSON,
JSON → Properties, JSON → YAML - every combination in one tool.
2. Auto-Detect Source Format
Not sure what format you have? Click Auto-Detect and the tool
identifies JSON, YAML, or .properties automatically based on the content.
3. Validate Before Converting
Click Validate to check your input for syntax errors before
running the conversion - saves time on large config files.
4. Swap Source and Target
Click Swap to move the output back to input and reverse the
conversion direction instantly.
5. Beautify JSON and YAML
Use Beautify to pretty-print and re-indent messy or minified
input before converting.
6. Type Coercion for .properties
When parsing .properties, numeric values and booleans
(true/false) are automatically typed correctly -
so port=8080 becomes integer 8080 in JSON/YAML,
not the string "8080".
When Do You Need This?
Converting a Docker Compose YAML snippet to JSON for a config API
Transforming a flat .properties file into a Kubernetes ConfigMap YAML
Copying a config example from docs that uses a different format than your project
Migrating between formats when switching tools - e.g. from a Java build tool to a Node.js or Python project
Sharing config between a backend service (JSON API) and an infrastructure team (YAML)
Verifying that two config files in different formats are semantically equivalent
Spring Boot users: this tool also handles migrating between
application.properties and application.yml - paste
one format in, select the other as the target, and copy the result.
Support This Free Tool!
Buying me a coffee helps keep the project running and supports
new features.