Text Case Converter
Convert text between different casing styles
Converting between naming conventions and letter cases
Every language and team has its own convention for identifiers: camelCase in JavaScript, snake_case in Python, kebab-case for CSS classes, SCREAMING_SNAKE_CASE for constants. Rewriting a name from one convention to another is trivial work that is easy to get subtly wrong by hand. Paste your text here and it is converted into nine formats at once, ready to copy.
The tool covers five naming conventions — camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE and kebab-case — plus four general case transforms: UPPER CASE, lower case, Title Case and Sentence case. That makes it equally useful for aligning API response keys with your frontend naming and for normalising the capitalisation of headings.
Each result is listed separately with a copy button. Everything runs in your browser and nothing you paste is sent to a server, so internal identifiers and unreleased code can be pasted in safely.
Frequently asked questions
- What is the difference between camelCase and PascalCase?
- Both capitalise each word, but camelCase leaves the first word lowercase (userName) while PascalCase capitalises it too (UserName).
- Where is kebab-case used?
- Widely in CSS class names, HTML attributes and URL slugs. Words are joined with hyphens and everything is lowercase.
- Does Title Case follow a style guide?
- It capitalises the first letter of each word. Editorial style guides that lowercase short words such as "of" and "the" are not applied, so check headings by hand if you follow one.
- Is the text I enter sent anywhere?
- No. All conversion happens inside your browser.