Case Converter
Convert any string into 11 naming styles at once: camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE and more. Runs entirely in your browser.
Runs locally · data never uploaded
Advertisement
How to use
What it does
Turn a phrase or variable name into 11 common naming styles in one go. The tool first splits the input into words (handling case boundaries, underscores, hyphens, dots, slashes and spaces, and recognizing acronyms such as HTTPServer → http, server), then re-joins them in the chosen style.
Example
Input user name, userName or USER_NAME — all yield:
camelCase user_name → userName
snake_case USER NAME → user_name
kebab-case → user-name
PascalCase → UserName
CONSTANT_CASE → USER_NAMEUse cases
- Unify variable naming across JavaScript, Python, Java, Go, etc.
- Turn a DB column
user_idinto the frontenduserId - Generate file names, CSS classes or route paths in different styles
FAQ
Q1.How are acronyms handled?
The tool recognizes a run of capitals followed by a lowercase letter, so `HTTPServer` splits into `http` and `server`, converting correctly to e.g. `http_server` or `httpserver`.
Q2.Which separators are supported?
Spaces, underscores, hyphens, dots, slashes and case boundaries are all treated as word separators and normalized.
Q3.Is my input uploaded?
No. Every conversion happens in your browser, and the tool keeps working offline.
Q4.What is the difference between Train-Case and kebab-case?
Both use hyphens, but Train-Case capitalizes the first letter of each word (e.g. `User-Name`) while kebab-case is all lowercase (e.g. `user-name`).
Advertisement
Related tools
Color Converter & PickerConvert HEX, RGB, HSL and HSV colors with live two-way sync,UUID & ULID GeneratorGenerate UUID v4, v7 and v1 plus ULID online. Batch generateRandom Password GeneratorGenerate strong random passwords and strings online. Choose Unix Timestamp ConverterConvert Unix timestamps to dates and back. Auto-detects seco