Case and naming-style converter
Split identifiers such as user_name, user-name, UserName or HTTPServer into words and rebuild them as camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE — seven styles, multi-line input, all local.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
One identifier per line. Words are split on non-alphanumeric characters and case boundaries, then rebuilt; nothing is uploaded.
Converted names
Converted line by line; lines without any word are skipped.
Enter identifiers to convert
Words: 0 · Lines: 0 · Lines changed: 0
What this tool does
- Rename snake_case API fields to camelCase variables in bulk
- Tidy column names, CSS class names or constants across many lines without hand-editing case
Example
Input
user_login_name HTTPServer
Output
userLoginName httpServer
Default camelCase: words are split on separators and case boundaries, then rejoined.
Frequently asked questions
How are words split?
First on non-alphanumeric characters (underscore, hyphen, space, dot, slash and so on), then on case boundaries: userName → user + Name, HTTPServer → HTTP + Server. Digits stay attached to neighbouring letters (user2fa keeps one word) unless “Split numbers” is enabled, which yields user_2_fa.
Which styles are available?
Seven: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case and Title Case (space-separated, each word capitalised).
How are uppercase acronyms handled?
By default they are flattened (HTTPServer → httpServer / http_server). With “Keep uppercase acronyms” enabled, all-caps words longer than one character stay intact, so parseHTMLString becomes parse_HTML_string in snake_case.
What about Chinese, emoji and punctuation?
Chinese characters count as letters but have no case, so 用户_名称 becomes 用户名称 in camelCase. Emoji and other symbols act as separators and are dropped; lines made only of symbols are skipped. No pinyin or simplified/traditional conversion is performed.
Keywords:snake_casecamelCasePascalCasecameloffline