Env File Parser
Convert .env files to JSON, YAML, or shell exports.
.env input
Converted output
About the Env File Parser
Parse .env files and convert them to JSON, YAML, or shell export statements. Detects duplicate keys and optionally masks values that look like secrets.
Examples
Simple env
PORT=3000Output
{
"PORT": "3000"
}Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
.editorconfig Generator
Dev Utilities
Create an .editorconfig file with per-language overrides.
.htaccess Redirect Generator
Dev Utilities
Generate Apache .htaccess redirect and rewrite rules.
Bash Alias Generator
Dev Utilities
Create shell aliases for Bash, Zsh or Fish with correct quoting.
Chmod Calculator
Dev Utilities
Unix permission calculator: checkboxes, octal, and symbolic.
Cron Expression Builder & Parser
Dev Utilities
Build, explain and preview cron schedules with timezone-aware next runs.
Crontab to Human Readable
Dev Utilities
Translate whole crontab files into plain English, line by line.
Frequently asked questions
Read more
- A practical guide to formatting, validating and converting JSON
Indentation, key sorting, common parse errors, and when to convert JSON to YAML, XML or CSV instead.
Comments
No login needed. Comments appear after a quick review.
Loading comments…
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser