ឥតគិតថ្លៃ ENV File Validator
Lint a .env file for duplicate keys, bad spacing, and unquoted values — then get a cleaned, sorted version and a ready-to-commit .env.example. Runs in your browser.
💡 Catches duplicate keys, spaces around =, unquoted values, and naming-convention issues — then gives you a cleaned, sorted file and a ready-to-commit .env.example. Your secrets are parsed entirely in your browser and never uploaded.
Optimize for your platform
វាដំណើរការដោយរបៀបណា
A malformed .env file causes confusing config bugs — a duplicate key, a stray space around "=", an unquoted value with a space. This lints your file and cleans it up, all locally (important, since .env files hold secrets).
- 1You paste your .envEach line is parsed: comments and blanks are skipped, "export" prefixes handled.
- 2It checks for problemsDuplicate keys, spaces around "=", invalid key names, non-uppercase keys, empty values, and unquoted values containing spaces or "#" are flagged with line numbers.
- 3It produces a cleaned fileKeys are de-duplicated (last value wins), sorted alphabetically, and values are quoted where needed.
- 4And a .env.exampleThe same keys with blank values — ready to commit so teammates know which variables to set, without leaking secrets.
.env files are full of secrets — API keys, database passwords. This tool parses everything in your browser and never uploads a thing, so it's safe to paste a real file.
ហេតុអ្វីត្រូវប្រើរបស់យើង?
ឧបករណ៍ពាក់ព័ន្ធ
ម៉ាស៊ីនរាប់ពាក្យ
រាប់ពាក្យ តួអក្សរ ប្រយោគ និងកថាខណ្ឌ។ ប៉ាន់ស្មានពេលវេលាអានសៀវភៅ។
កម្មវិធីបំប្លែងករណីអក្សរ
បំប្លែងអក្សរទៅ UPPERCASE, lowercase, Title Case, camelCase, snake_case, និងច្រើនទៀត។
ទ្រង់ទ្រាយ JSON
ធ្វើទ្រង់ទ្រាយ ធ្វើឱ្យមានសុពលភាព កាត់បន្ថយ និងរុករកទិន្នន័យ JSON ។ ទិដ្ឋភាពមែកធាង ការបន្លិចវាក្យសម្ព័ន្ធ និងការចម្លងដោយចុចតែម្តង។
