Case Converter
Switch between UPPER, lower, Title, Sentence, camel, Pascal, snake and kebab case in one click.
- characters
- 0
Output
Paste or type above to see the result here.
Your files stay on your device
This tool runs entirely in your browser. What you paste is processed on your device and is never sent to a server, so it is safe to use with tokens, keys and unpublished text.
Example
Example: four shop headings in Title Case, Sentence case and kebab-case
A small online shop in Leeds has four headings typed by different people: one in capitals, one all in lower case, one with an acronym and a price, one with an apostrophe. They are pasted as four lines and each line is converted on its own.
- A line typed entirely in capitals is read as shouting, so Title and Sentence case rewrite every word of it. On the other lines an acronym such as USB keeps its capitals.
- Title Case capitalises every word, small ones too (To, At, The). If your house style keeps a, at, the and to in lower case, fix those few words by hand.
- Sentence case lowers every word after the first except acronyms, names included: Sunday and Leeds have to be put back by hand.
- In the four code cases punctuation divides words and is dropped, so what's becomes what-s (whatSNew in camelCase). Symbols such as £ are kept: usb-charging-cables-under-£10.
| Typed | Title Case | Sentence case | kebab-case |
|---|---|---|---|
| SUMMER SALE ENDS SUNDAY | Summer Sale Ends Sunday | Summer sale ends sunday | summer-sale-ends-sunday |
| how to pay your council tax online | How To Pay Your Council Tax Online | How to pay your council tax online | how-to-pay-your-council-tax-online |
| USB charging cables under £10 | USB Charging Cables Under £10 | USB charging cables under £10 | usb-charging-cables-under-£10 |
| what's new at the Leeds store | What's New At The Leeds Store | What's new at the leeds store | what-s-new-at-the-leeds-store |
The Title Case column goes straight onto the banner and the menu; kebab-case gives CSS class and file names. For web addresses, the Slug generator also drops the £: usb-charging-cables-under-10.
How it works
- Paste the text you want to convert: a heading, a list of labels, or identifiers copied from code or a spreadsheet.
- Pick the target case. Upper, lower, Title and Sentence are for prose; camel, Pascal, snake and kebab are for identifiers, file names and URL slugs.
- The result appears as you type. Multiple lines are converted independently, so you can process a whole column of values at once.
- Copy the result. For programming cases, spaces, hyphens, underscores and existing camel humps are all recognised as word boundaries.
Frequently asked questions
- What is the difference between Title Case and Sentence case?
- Title Case capitalises the first letter of every word, as in Getting Started With Nouplo. Sentence case capitalises only the first letter of each sentence and leaves the rest lowercase, as in Getting started with Nouplo. Neither mode changes words that are already all caps such as NASA, unless the whole line is in capitals: that is read as shouting and every word is rewritten.
- How does the converter detect words for camelCase and snake_case?
- Word boundaries are spaces, hyphens, underscores, punctuation, and transitions from lowercase to uppercase inside a word. So userProfileURL becomes user_profile_url in snake case and user-profile-url in kebab case.
- Does it handle accented characters and non-Latin scripts?
- Yes, it uses Unicode-aware case mapping, so é becomes É and ß is handled according to Unicode rules. Scripts without case such as Japanese, Chinese, Arabic and Hebrew are left unchanged, and only the Latin, Greek or Cyrillic parts of mixed text are converted.
- Which case should I use for variables, files and URLs?
- Conventions vary by language: camelCase for JavaScript and Java variables, PascalCase for class names, snake_case for Python and Ruby, and kebab-case for CSS classes, file names and URL slugs. Following the local convention matters more than the choice itself.
- Why did my apostrophe turn into a hyphen in kebab-case?
- In camelCase, PascalCase, snake_case and kebab-case every punctuation mark divides words and is dropped, because identifiers have no apostrophes: what's new becomes what-s-new and whatSNew. Type whats new without the apostrophe if you want whats-new.
- Why did Sentence case put a name in lower case?
- Sentence case keeps a capital only at the start of a line or a sentence, on words in capitals such as USB or NASA, and on words in deliberate mixed case such as GmbH. It cannot tell a name like Leeds or Sunday from an ordinary word, so put names back after converting.
- Is my text sent anywhere?
- No. Conversion runs entirely in the browser and nothing is transmitted or stored.
Related tools
• Word Counter Live word, character, sentence and paragraph counts for essays, posts, ads and anything with a length limit. • Sort Lines Put a list in alphabetical, natural, length or random order without leaving the page. • Remove Duplicate Lines Paste a list and keep only the first occurrence of each line, in the order you pasted it. ≠ Text Diff Paste two versions of a text and see exactly which lines changed.