Case Converter changes the capitalisation of any text in one click: UPPER CASE, lower case, Sentence case, Title Case and eight more, including the cases programmers use for variable and file names. Paste your text, pick a case, then copy or download the result. It runs in your browser.
How to change the case of text
- Type or paste your text into the box.
- Click one of the 12 case buttons. The text in the box is converted straight away.
- Not what you wanted? Click Undo to get the previous text back, or simply click another case.
- Click Copy to put the result on the clipboard, or Download .txt to save it as a text file. Clear empties the box.
The 12 cases
| Button | Example |
|---|---|
| Sentence case | The quick brown fox. It jumps. |
| lower case | the quick brown fox |
| UPPER CASE | THE QUICK BROWN FOX |
| Title Case | The Lord of the Rings |
| Capitalize Each Word | The Lord Of The Rings |
| aLtErNaTiNg | tHe QuIcK bRoWn FoX |
| iNVERSE | Hello World becomes hELLO wORLD |
| camelCase | quickBrownFox |
| PascalCase | QuickBrownFox |
| snake_case | quick_brown_fox |
| kebab-case | quick-brown-fox |
| CONSTANT_CASE | QUICK_BROWN_FOX |
When to use which
- Headlines and book titles: Title Case. It keeps short words like “of”, “the” and “with” lower case, as most style guides ask.
- Text typed with Caps Lock on: Sentence case, then fix names by hand.
- Buttons, labels and slide headings: Sentence case or Capitalize Each Word, depending on your house style.
- Code: camelCase for JavaScript variables, PascalCase for class names, snake_case for Python and databases, kebab-case for URLs and CSS classes, CONSTANT_CASE for constants.
Tips
- Convert a list at once. The programming cases treat each line separately, so a column of labels becomes a column of variable names.
- camelCase back to words. Existing camelCase is split at the capitals, so
userFirstNameturns intouser_first_namewith snake_case. - Check the length. Paste the result into the Word Counter to see if a title fits 60 characters.
Common problems
- Names are now lower case: Sentence case cannot tell a name from a normal word. Capitalise names and acronyms after converting.
- Copy did nothing: some browsers block the clipboard. The text is then selected for you; press Ctrl+C (or ⌘C on a Mac).
- Title Case capitalised a short word: the first and last word of a line are always capitalised, as style guides require.
Related tools
Text Compare shows the differences between two versions of a text, and Base64 encodes or decodes text for code and e-mail.
Private by design
Your text is converted on your own device and never uploaded. Nothing you paste is saved or sent to a server. See how it works.