$
JSON to .env Converter
Convert JSON secrets from AWS Secrets Manager, Vault, or any JSON source into a .env file. Handles nested objects, quoting, prefixes, and more.
Load example:
JSON Input
.env Output8 vars
Options
Prepended to every key
Used to flatten nested keys
How it works
- → Paste any JSON object — flat or nested (e.g. from AWS Secrets Manager, Vault, GCP Secret Manager)
- → Nested keys are flattened:
database.hostbecomesDATABASE_HOST - → Values with spaces, special chars, or
$are quoted automatically - → Arrays become comma-separated strings