Those Boring Tools
Developer ToolsPrivate by design

ENV File to JSON Converter

Paste .env file content to convert KEY=value lines into a JSON object.

How to use this tool

  1. 1Paste your .env content.
  2. 2See the converted JSON.
  3. 3Copy the result.

Frequently asked questions

Does this handle comments and quoted values?+

Yes — lines starting with # are skipped, and surrounding single or double quotes around values are stripped.

Keep the boring tools boring.

If this saved you five minutes of nonsense, you can help keep the free tools running.

Buy the toolbox a coffee