Rename API fields to another style
Turn a column of snake_case fields into the camelCase versions a front end expects, in one pass.
Guide
Naming case converter works through identifiers line by line: it first finds camelCase boundaries and runs of consecutive capitals, then treats any non-ASCII alphanumeric character as a separator, and finally prints all six styles at once — camelCase, PascalCase, snakecase, kebab-case, CONSTANTCASE and Title Case.
Updated 2026-09-102 min read
Naming case converter works through identifiers line by line: it first finds camelCase boundaries and runs of consecutive capitals, then treats any non-ASCII alphanumeric character as a separator, and finally prints all six styles at once — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and Title Case.
| Input | Output | Notes |
|---|---|---|
user_login_name |
userLoginName |
Split on underscores |
getUserInfoById |
get_user_info_by_id |
Split where lower case meets upper case |
HTTPResponseCode |
http-response-code |
The acronym boundary is kept apart from ordinary words |
[A-Za-z0-9] only; Chinese, accented letters and other Unicode letters count as separators, so it is not suited to lossless conversion of non-ASCII identifiers.http.text-case-convert deep link in the text workbench: the page here is a standalone dev identifier converter.Turn a column of snake_case fields into the camelCase versions a front end expects, in one pass.
Get CONSTANT_CASE straight from ordinary identifiers as a helper before code review.
The token rules in this implementation accept ASCII letters and digits only; every other character is a separator.
No. It only converts the name text inside the input box.
Identifiers are split and reassembled in your browser only; nothing is uploaded and nothing is persisted.
Updated 2026-09-10
Switch between camelCase, snake_case, kebab-case and six naming styles in bulk
Batch mode: one identifier per line; camelCase, snake_case, kebab-case and spaces are split automatically
e.g. userLoginName
userLoginName getUserInfoById httpResponseCode
e.g. UserLoginName
UserLoginName GetUserInfoById HttpResponseCode
e.g. user_login_name
user_login_name get_user_info_by_id http_response_code
e.g. user-login-name
user-login-name get-user-info-by-id http-response-code
e.g. USER_LOGIN_NAME
USER_LOGIN_NAME GET_USER_INFO_BY_ID HTTP_RESPONSE_CODE
e.g. User Login Name
User Login Name Get User Info By Id Http Response Code