PROPERTIES to YAML Converter Online — Free & Private

Migrate Java .properties files to YAML for GitOps, Spring Boot or Ansible. Flat dotted keys stay flat, and all processing stays in your browser.

Loading…
Properties → YAML for Spring Boot and GitOps
Moves Java .properties into YAML. Dotted keys stay flat on purpose, so nothing is nested for you.

Developer notes

Dotted keys such as app.name stay flat keys in the YAML. They are not nested under an app mapping. Values stay strings, but the YAML writer leaves numbers and booleans unquoted. Double-quote all strings keeps them as text. Indent width and layout have nothing to act on here, because every line stays at the root. Use INI → YAML if you want nested sections. Lines without a separator are skipped without a message.

Conversion options

String quoting
Writes values with minimal quoting, or wraps every value in double quotes. It is the only option that changes the output for flat dotted keys.

Use cases

Move an application.properties file to application.yml in a Spring Boot project. Standardize a GitOps repository on YAML while it still receives .properties exports. Preview a configuration migration before you open the pull request.

About these options

For CSV output, choose the delimiter, how fields are quoted, the line endings and whether to write a header row. Auto uses a comma in English and a semicolon in French, German and Spanish, as Excel expects. For CSV input, the delimiter is detected on the first line (comma, semicolon, tab or pipe). You choose whether that line holds the column names. JSON output can use 2 or 4 spaces or a single line, with an optional recursive key sort. XML output can be pretty-printed with a chosen indent width. YAML output takes an indent width and a quoting mode for strings. XML comments are dropped, because the conversion goes through a JSON tree.

Examples

Spring-style flat keys

Input

app.name=FastMinify app.version=2.1.0 app.env=production db.host=db.internal db.port=5432 db.ssl=true feature.checkout-v2.enabled=true feature.dark-mode=false

Output

app.name: FastMinify app.version: 2.1.0 app.env: production db.host: db.internal db.port: 5432 db.ssl: true feature.checkout-v2.enabled: true feature.dark-mode: false

Double-quote all strings

Input

app.name=FastMinify app.env=production db.url=jdbc:postgresql://db.internal:5432/app

Output

app.name: "FastMinify" app.env: "production" db.url: "jdbc:postgresql://db.internal:5432/app"

Related tools

Write YAML from JSON with JSON → YAML, check JSON with the JSON validator, or return to Properties → JSON when you need JSON.

Properties → YAML FAQ

Flat keys and limits

Will app.name become a nested app block?

No. Dotted keys stay literal top-level YAML keys such as app.name, the way .properties files store them.

Can I change the YAML indentation here?

No. Every line stays at the root, so indent width and layout have nothing to nest. Use string quoting to control quotes, and INI → YAML for nested sections.

What if a line is invalid?

Lines without a separator are skipped without a message, and only an empty input gives an error. Compare the result with your file.

Is my data sent to a server?

No. The conversion runs in your browser, and FastMinify never receives what you paste.

Convert Java .properties files to JSON, YAML, INI and TOML.