Change the case of your text
Fix a headline someone typed in capitals, turn a title into a URL slug, or convert a label into the naming convention your code uses.
- Runs in your browser
- Nothing uploaded
- No account
- No watermark
- Free
How to case converter
- Paste your text in.
- Choose the case you want.
- Copy the result.
Title case is not capitalising everything
These two options differ and the difference matters in published writing.
Capitalise Every Word puts a capital on every word including the small ones. It is simple and it is wrong in most style guides.
Title Case capitalises the significant words and leaves short articles, conjunctions and prepositions in lower case, unless they begin the title. So you get The Rise of the Machines rather than The Rise Of The Machines. That is what newspapers, publishers and most style guides mean by title case.
Slugs for URLs
Kebab case is what you want for a web address: lower case, words joined by hyphens, nothing else. Google has been clear that hyphens separate words in a URL and underscores do not, so remove-background-from-image reads as four words to a search engine while remove_background_from_image reads as one.
Keep slugs short and descriptive, three to five words. Drop the small words that carry no meaning. And once a URL is published, leave it alone, because changing it costs you whatever that page had earned.
The code conventions
| Convention | Looks like | Usually used for |
|---|---|---|
| camelCase | backgroundColour | Variables and functions in JavaScript and Java |
| PascalCase | BackgroundColour | Classes, components and types |
| snake_case | background_colour | Python, Ruby, and column names in SQL |
| kebab-case | background-colour | CSS properties, URLs and filenames |
Questions
What is the difference between title case and capitalising every word?
Title case leaves short words such as of, the and and in lower case unless they start the title. Capitalising every word capitalises all of them, which most style guides consider incorrect.
How do I turn a headline into a URL slug?
Choose kebab for URLs. It lowercases everything, joins the words with hyphens and strips the punctuation.
Should a URL use hyphens or underscores?
Hyphens. Search engines treat a hyphen as a word separator and an underscore as a joiner, so hyphens make the individual words readable.
Does sentence case fix text typed in all capitals?
Yes. It lowercases everything and then capitalises the first letter of each sentence.
The rest of the toolkit
Every one of these runs on your own device. Nothing is uploaded, and there is no counter anywhere.
Image tools
Text and generators