Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

.env File Validator

Paste your .env file content below. The validator checks it line by line — key format, spaces around =, missing equals signs, unquoted spaces or # in values, duplicate keys, and empty values — then shows every issue with its line number plus an annotated preview.

Issues

    Annotated preview (click an issue above to jump here)

    
                        

    What it checks

    • Keys must be UPPER_SNAKE_CASE (letters, digits, underscores, starting with a letter). Lowercase or misspelled keys like PORTT are flagged.
    • No spaces around the = sign.
    • Every setting line must contain an =.
    • Values with spaces or # must be quoted.
    • Duplicate keys and empty values are reported.
    • Comments (#) and blank lines are fine.

    Note: Your content never leaves your browser — all validation happens on this page. Never paste real production secrets into any website; use throwaway copies when testing.

    Frequently Asked Questions (FAQ)

    What does the .env file validator check?

    It checks every line: key format (UPPER_SNAKE_CASE), spaces around the equals sign, missing equals signs, values with unquoted spaces or hash characters, duplicate keys, and empty values.

    Are comments and blank lines a problem?

    No. Lines starting with # and blank lines are valid and are shown separately as informational lines, not errors.

    Can I see which line has the problem?

    Yes. Every issue lists its exact line number, and clicking an issue highlights that line in the annotated preview.

    Is the .env file validator free?

    Yes, it is free and needs no signup. All validation runs in your browser, so your secrets never leave your device.