Turns upper-case names with underscores, such as DATABASE_URL or JWT_SECRET, into camelCase (databaseUrl, jwtSecret). Environment variables and constants are written in SCREAMING_SNAKE_CASE, but once they are loaded into a typed config object in Node.js, Spring or Kotlin, the fields are usually camelCase.
Paste the lines of a .env file, a docker-compose environment block or a list of constants and you get the property names to declare in your config class or schema.
.env lines or constant names into the String box.Result into your config type, zod schema or @ConfigurationProperties class.DATABASE_URL=postgres://localhost/app
REDIS_HOST=localhost
JWT_SECRET=change-medatabaseUrl=postgres://localhost/app
redisHost=localhost
jwtSecret=change-meEach variable name becomes a camelCase key, while the values after = stay the same; change-me is not upper-case, so it is not touched.
REDIS_HOST → redisHost.API_V2_URL → apiV2Url.PORT or DEBUG, are left as they are.Validating process.env with zod or class-validator usually ends in an object like { databaseUrl, redisHost }. Converting the .env keys gives you the property list to write the schema and the mapping.
Spring maps MAIL_SMTP_HOST to mail.smtp.host and binds it to a camelCase field. Converting the variable names helps when you write the matching @ConfigurationProperties fields.
process.env.DATABASE_URL are also converted if you paste them, giving process.env.databaseUrl, which no longer points at the real variable. Paste the names or .env lines only.HTTP_2_ENABLED becomes http2Enabled.PORT not converted to port?The tool recognizes SCREAMING_SNAKE_CASE only when there is at least one underscore. Lowercase single words yourself.
Yes. _INTERNAL_FLAG becomes _internalFlag, the usual way to mark a private field in JavaScript and Dart. Remove the underscore yourself if your config class does not use it.