Skip to content
ToolsLeb ToolsLeb

.env File Validator

Lint pasted .env file contents for common mistakes.

Paste .env contents

Share on Social Media:

Paste the contents of a .env file to check for missing "=" signs, invalid key names, duplicate keys, and unquoted values containing spaces.

Frequently Asked Questions

No — it's only pattern-matched line by line to check formatting. Nothing is executed, and results aren't stored after the request.

Missing equals signs, invalid key names (keys must start with a letter or underscore and contain only letters, numbers, and underscores), duplicate keys, and unquoted values containing spaces.

As a general security practice, avoid pasting real production secrets into any third-party tool — use placeholder or dummy values to validate the file's formatting structure instead.