WizzyTools

Convert .env to JSON and JSON to .env

Works offline · never uploaded 0 uses

Convert .env files to a JSON object and flat JSON back to .env, handling quoted values, export prefixes and comments. Runs entirely in your browser, so secrets never leave it.

Updated

/ 5 - Be the first to rate this tool Thanks for rating!

Verification failed - please try again.

How it works

  1. 1

    Paste or enter the value you want to convert.

  2. 2

    Conversion happens instantly as you type.

  3. 3

    Review the result in the target format.

  4. 4

    Copy the result to your clipboard.

Why use this tool

Every dev utility, one place

Format, convert, encode, decode, and generate — no more juggling ten tabs.

100% private, always

Every tool runs in your browser — your code and data are never sent anywhere.

Works on any device

Runs on Windows, Mac, Linux, iOS, and Android — nothing to install.

Instant results

No queues, no build step — results update as you type.

Built to handle real data

Full Unicode support and RFC-compliant parsing, edge cases included.

Free, always

Free to use, with no rate limits, sign-up, or trial period.

Frequently asked questions

No. Conversion happens entirely in your browser; nothing you paste is uploaded.

Double-quoted values support escapes such as \n and \", single-quoted values are kept literally, a leading export is dropped, and comment lines, blank lines and trailing # comments on unquoted values are ignored.

A .env file is a flat list of KEY=value pairs, so the JSON root must be an object whose values are strings, numbers or booleans. Nested objects and arrays show an inline error naming the key.

From the blog

Recently viewed

Related tools

Convert text case online

Convert text to camelCase, PascalCase, snake_case, kebab-case, Title Case, UPPER, and lower, instantly in your browser.

Convert colors between HEX, RGB, and HSL

Convert a color between HEX, RGB, and HSL instantly in your browser, with a live preview.

Convert between CSV and JSON online

Convert CSV to JSON or JSON to CSV instantly in your browser, with full quoted-field support.

Generate TypeScript interfaces and PHP classes from JSON

Paste JSON and get TypeScript interfaces or PHP classes with typed properties, including nested objects and arrays, instantly in your browser.

Convert numbers between bases

Convert a number between binary, octal, decimal, and hexadecimal instantly in your browser.

Convert a Unix timestamp to a date

Convert a Unix timestamp to a human-readable date, or a date back to a timestamp, in your browser.

Generate a calendar event QR code for free

Create a QR code that adds an event to the calendar when scanned, using the iCalendar format.

Convert Excel to PDF for free

Turn a spreadsheet into a print-ready PDF document.

View and remove photo EXIF metadata

See the camera, settings, date and GPS location hidden in a JPEG, then download a copy with the metadata removed.

Extract pages from a PDF for free

Pull specific pages out of a PDF into a brand new document.

Resize an image to Facebook post size for free

Fit or fill an image to the 1200×630 Facebook post size, with drag-to-reposition and zoom, right in your browser.

Generate a complete favicon pack from one image

Create favicon.ico, PNG icons from 16 to 512px, an apple-touch-icon and site.webmanifest from a PNG, JPG or SVG, right in your browser.