Skip to main content

.env File Diff Checker

New

Compare two .env files to find missing, extra and differing variables, with optional value masking so secrets stay hidden.

env diff.env compareenv validatorenvironment variables diff
Read the guide
Shortcuts:⌘ KSearch
Continue with:

Frequently Asked Questions

What does it compare?

Variable names and values, listing keys only in A, only in B, with different values, or identical.

Are secrets uploaded?

No. Parsing happens in your browser, and values can be masked on screen.

How are comments and quotes handled?

Comment lines are ignored, an optional "export " prefix is stripped, and matching surrounding quotes are removed.

Good for .env.example checks?

Yes. Paste your .env as A and .env.example as B to see which variables are undocumented or missing.

Related Tools