Skip to content
Developer & CodeLocal · Stays on device

Environment File Diff

Compare two .env files to find variables missing from one, values that differ and ones that match, with secrets masked.

  • .env (dotenv)
  • Free to use
  • No sign-up or watermark
environment-file-diffOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10

About this tool

Paste two .env files — for example .env.example and your .env, or staging and production — and see every variable sorted into only in A, only in B, different and same. Quotes, export prefixes, comments and escapes are understood, so FOO="bar" and FOO=bar count as the same value.

Values that look like secrets are masked by default so you can share your screen safely; show them only when you need to. Copy the list of variables missing from the second file as ready-to-fill KEY= lines. Everything runs in your browser. What you paste is never uploaded, logged or stored.

  1. Input

    Your code or text

    .env (dotenv)

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelineInstant, in-browser

How to use it

  1. 1

    Paste the first file into A and the second into B.

  2. 2

    Review the differences (or switch to All).

  3. 3

    Copy the missing variable names if B needs them.

Zero-upload architecture

How to use Environment File Diff for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open Environment File Diff

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Review the differences (or switch to All).

  3. 3

    Get your result

    Copy the missing variable names if B needs them.

  • Local

    Environment Variable Editor

    Open, edit, sort and clean up .env files, spot secrets and duplicates, and export to JSON, shell, YAML or a .env.example.

    Open tool
  • Local

    JSON Diff Tool

    Compare two JSON documents structurally: added, removed and changed values with JSON Pointer paths, side-by-side highlights and a JSON Patch export.

    Open tool
  • Local

    Patch Previewer

    Preview a git diff or patch file as a readable unified or side-by-side view, with per-file added and removed line counts.

    Open tool
  • Local

    Diff Checker

    Compare two texts or code snippets line by line, word by word or character by character, side by side or as a unified diff.

    Open tool