Convert text to common programming case styles
Text Tools
Text Case Converter
Convert text to uppercase, lowercase, title case, camelCase, PascalCase, kebab-case, snake_case, or CONSTANT_CASE for code and labels.
- Runs in your browser
- No account required
- Copy-ready output
Handle words separated by spaces, hyphens, and underscores
Preview converted text before copying
Useful for labels, constants, filenames, and identifiers
Notes
How this tool handles your input
This text case converter changes words into common writing and programming case styles. Use it for labels, filenames, constants, slugs, and variable names when the wording is right but the case is not.
How to use
- Paste text into the input area.
- Choose the target case style.
- Click Convert Case.
- Copy the converted result.
Good for
- Turn labels into variable names
- Clean up filenames and slugs
- Convert copied text into constants or identifiers
Examples
user profile image
userProfileImage
api response timeout
API_RESPONSE_TIMEOUT
FAQ
Which case styles are supported?
Uppercase, lowercase, title case, camelCase, PascalCase, kebab-case, snake_case, and CONSTANT_CASE are supported.
Will punctuation be preserved?
For word-based cases, punctuation is treated as a separator. Uppercase and lowercase preserve punctuation.
Can I make URL slugs with it?
Use kebab-case for simple slugs such as user-profile-image. For URL escaping, use the URL Encode Decode Tool after that.
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase word. PascalCase capitalizes the first word too.
Is my data uploaded to a server?
No. The tool runs in your browser, so the text you paste stays on your device.