Skip to main content

.env Manager & Diff

Runs locally

Parse .env files, diff two environments, redact secrets and export JSON, YAML or K8s Secret.

What is .env Manager & Diff?

Parse `.env` files (handling quotes, comments, `export`, and duplicate key warnings), compare two environment files side by side to spot missing keys, mask secret values for safe sharing, and export to JSON, YAML, Docker `-e` flags, or Kubernetes Secret manifests.

How to use .env Manager & Diff

  1. Step 1

    Paste your primary `.env` file (and optionally a second `.env` to diff).

  2. Step 2

    Inspect parsed key-value pairs, duplicate key warnings, and missing keys.

  3. Step 3

    Toggle Redact Secrets before copying or exporting to JSON/YAML/K8s.

Features

  • Handles quoted values, comments, export prefix, and multiline escaping
  • Two-file environment diff highlighting missing and changed keys
  • One-click secret redaction (`***`) for safe `.env.example` generation
  • Export as `.env.example`, JSON, YAML, Docker CLI flags, or Kubernetes Secret YAML

Example

Input

PORT=3000
API_KEY="sk_test_123"

Output

{"PORT":"3000","API_KEY":"***"}

Generates safe templates or structured config maps locally.

Frequently asked questions

Is history disabled for .env files?

Yes, as a sensitive tool, local history is off by default.

Can I generate a .env.example with secrets stripped?

Yes, click Export .env.example to keep keys while clearing secret values.

Does it detect duplicate keys?

Yes, duplicate keys are flagged in the Problems panel.

Are my secrets uploaded?

No, all parsing and exports run in your browser.