| key | value |
|---|---|
| DB_PORT | 5432 |
| API_KEY | secret_key_123 |
| DEBUG | true |
| APP_NAME | Patchworkr |
DB_PORT: 5432 API_KEY: secret_key_123 DEBUG: true APP_NAME: Patchworkr
.env values are preserved as strings, and invalid keys or duplicate names are surfaced before export.
YAML is parsed as a readable mapping structure, then flattened back to ENV keys when you reverse the conversion.
Use ENV to YAML when you want human-readable config, or YAML to ENV when you need deployment-ready variables.
Related Tools
Convert between CSV tables and JSON arrays.
Convert between .env files and JSON objects.
Convert between INI files and JSON objects.
Convert between JPG images and WebP files.
Convert between PNG images and WebP files.
Convert between JPG images and PNG files.