.env
DB_HOST=127.0.0.1 DB_PORT=5432
JSON
{
"DB_HOST": "127.0.0.1",
"DB_PORT": 5432
}Data Tools
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.
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.
数据格式
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.
等待输入
.env
DB_HOST=127.0.0.1 DB_PORT=5432
JSON
{
"DB_HOST": "127.0.0.1",
"DB_PORT": 5432
}Lines starting with # are ignored and are not written into the JSON.
When enabled, keys are split on underscores into nested objects—for example DB_HOST can become a nested structure for grouped reading.
Tools
Continue with another translated tool for a nearby task.
Properties ↔ YAML
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.
JSON Formatter
Format, minify, sort, and validate JSON in your browser. Parsing errors include location details, and your data never leaves the page.
YAML to JSON
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.