🔡 Case Converter
A free online case converter that switches between seven formats in one click: UPPERCASE, lowercase, Title Case (every word), camelCase, PascalCase, snake_case, and kebab-case. Inconsistent variable naming in your code, or an English headline pasted from a document with messy capitalization? Paste it in and click once. Words are split smartly on non-alphanumeric characters — spaces, underscores, and hyphens are all recognized. Every conversion happens in your browser, so no text is ever uploaded to any server. No sign-up needed, and it works on phones and computers alike.
Result
—
How to Use
- Paste or type English text into the input box (variable names, headlines, sentences — anything goes).
- Click the format button you need: UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, or kebab-case.
- The converted result appears instantly below. Click “Copy result” to copy it to your clipboard.
- To try a different format, just click another button — no need to re-enter anything.
Where is each naming format used?
camelCase: variable and function names in JavaScript and Java, e.g. userName; PascalCase: class and component names, e.g. UserProfile; snake_case: Python variables and database columns, e.g. user_name; kebab-case: URLs, CSS class names, and HTML attributes, e.g. user-name. UPPERCASE is common for constants (MAX_RETRY — note that this tool's uppercase keeps the original separators, making it handy for headlines), lowercase is good for consistency, and Title Case suits English headline formatting.
This tool splits words on non-alphanumeric characters: spaces, underscores, hyphens, and dots all count as word separators, so hello_world, hello-world, and hello world all become helloWorld in camelCase. Digits stay inside words (e.g. user2Name), and non-Latin characters are treated as separators too — matching the intuition of most naming conventions.