Data Tools

Convert Java Properties and YAML Online

Convert between Java Properties and YAML in your browser. Expand dotted keys such as spring.jpa.x=1 into nested YAML, or flatten YAML back to properties—useful for Spring config migrations.

ConfigJavaYAML

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Migrate application.properties to application.yml
  • Rewrite properties snippets from docs as YAML
  • Compare the same setting in both formats

How to use

  1. Paste properties or KEY=VALUE config on the left
  2. Convert to nested YAML, or flatten YAML back to properties
  3. Copy the result

Example input and output

Properties

spring.jpa.show-sql=true

YAML

spring:
  jpa:
    show-sql: true

FAQ

Are value types preserved?

Basic inference applies: true/false become booleans, pure numbers become numbers, and everything else stays a string.

Can YAML convert back to properties?

Yes. Nested YAML is flattened to dotted keys; arrays follow common Spring-style forms.

Tools

Related tools

Continue with another translated tool for a nearby task.

.env to JSON

Convert .env Files to JSON

Available

Convert .env text to JSON in your browser. Comment lines are ignored. Optionally nest keys on underscores and coerce numbers or booleans—useful for frontend config, Docker, and CI key maps.

Environment JSON Config

YAML to JSON

YAML to JSON Converter Online

Available

Convert YAML to formatted JSON in your browser with two-space indentation by default. Parse failures show the reason, and conversion stays local—useful for config debugging and API handoffs.

YAML JSON Converter