Lint a dotenv environment file safely

Validate dotenv syntax without returning secret values. Report invalid or duplicate keys, malformed assignments, risky committed-secret key names, quoting problems, export usage, and line numbers while keeping all values private.

$0.002 USDC   POST /v1/dotenv-lint

developer-tools · dotenv · configuration · security

Use it for

Example input

{
  "dotenv": "NODE_ENV=production\nAPI_KEY=replace-me\nPORT=3000"
}

Example output

{
  "success": true,
  "valid": true,
  "key_count": 3,
  "issues": [
    {
      "line": 2,
      "severity": "warning",
      "code": "sensitive_key"
    }
  ]
}

Call it

Use an x402 v2 payment-aware client from the quickstart. An unpaid request safely returns the exact payment challenge before any work runs.