ENV to JSON Converter

Your workspaceProcessed on your device
A few things to know.

Up to 262,144 input UTF-16 code units and 10,000 dotenv lines or top-level JSON properties. The tool reports duplicates and malformed input. JSON values become strings in dotenv and keep their original number spelling. Node.js quoting reports values it cannot preserve.

  1. Choose a direction, then paste the source or open a local file.
  2. Select Node.js quoting or JSON-style escapes. When exporting JSON, choose two spaces, four spaces or a tab.
  3. Convert, then review, copy or download the result. Swap input and output to check the reverse conversion.