Case Converter
Free online case converter to change text to uppercase, lowercase, title case, sentence case, camelCase, snake_case, kebab-case and more.
How to use the case converter
- Type or paste your text into the input box.
- Click the case you want: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE.
- Check the converted text in the result area.
- Click the copy button to put the result on your clipboard, then paste it wherever you need it.
The available cases
This tool covers both everyday writing styles and the naming conventions used in programming. Here is what each one does to the phrase “the quick brown fox”:
- UPPERCASE: THE QUICK BROWN FOX. Every letter becomes a capital. Useful for headings, labels and acronyms.
- lowercase: the quick brown fox. Every letter becomes small. Handy for cleaning up text that was typed with Caps Lock on.
- Title Case: The Quick Brown Fox. The first letter of each word is capitalized, as in many headlines and book titles.
- Sentence case: The quick brown fox. Only the first letter of each sentence is capitalized, the style used in normal prose and in many user interfaces.
- camelCase: theQuickBrownFox. Words are joined, and each word after the first starts with a capital. Common for variables in JavaScript and Java.
- PascalCase: TheQuickBrownFox. Like camelCase, but the first word is capitalized too. Often used for class and component names.
- snake_case: the_quick_brown_fox. Lowercase words joined by underscores, the standard for variables and functions in Python and for many database column names.
- kebab-case: the-quick-brown-fox. Lowercase words joined by hyphens, typical of URLs, CSS class names and file names.
- CONSTANT_CASE: THE_QUICK_BROWN_FOX. Uppercase words joined by underscores, the usual style for constants and environment variables.
Accents and other languages
Accented letters are preserved and converted correctly. “é” becomes “É” in uppercase, “À” becomes “à” in lowercase, and a French phrase like “crème brûlée” becomes “CRÈME BRÛLÉE” or “crème_brûlée” without losing its accents. This matters if you write in French, Spanish, German or any language that uses diacritics.
If you’re creating identifiers for code or URLs, keep in mind that some languages, systems and older tools only accept plain ASCII letters. In that case, you may need to remove the accents yourself after converting.
Tips and edge cases
- Sentence case lowercases proper nouns. Converting “I met Anna in Paris” to sentence case may lowercase “Anna” and “Paris”. Read the result and fix names by hand.
- Title Case capitalizes every word. Style guides disagree on whether short words like “of”, “and” or “the” should be capitalized in titles, so adjust them to match the style you follow.
- Convert from a clean source. For programming cases, start from plain words separated by spaces for the most predictable result.
Privacy
The conversion runs entirely in your browser. Your text is never sent to a server, so you can safely convert internal documents, code or private notes.
Frequently asked questions
What is the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word (“The Quick Brown Fox”). Sentence case capitalizes only the first letter of each sentence (“The quick brown fox”), like ordinary prose.
What is the difference between camelCase and PascalCase?
Both join words without spaces and capitalize the start of each word. The difference is the first letter: camelCase starts lowercase (myVariableName), while PascalCase starts uppercase (MyVariableName).
When should I use snake_case or kebab-case?
snake_case uses underscores and is common in Python code and database columns. kebab-case uses hyphens and is common in URLs, CSS classes and file names. Hyphens aren’t allowed in variable names in most programming languages, which is why snake_case is used there instead.
Are accented letters kept?
Yes. Accents are preserved in every case, so “é” becomes “É” in uppercase and stays “é” in lowercase, snake_case or kebab-case.
Is my text sent anywhere?
No. Everything happens locally in your browser. Nothing is uploaded or stored on a server.
Related tools
- Word Counter Free online word counter that counts words, characters, sentences and paragraphs as you type, and estimates reading and speaking time.
- Remove Duplicate Lines Remove duplicate lines from any list online. Keep the first occurrence in the original order, with options to ignore case, trim spaces and sort.
- Character Counter Free online character counter with live limits for X posts, SMS, meta titles, meta descriptions and Instagram captions. Emoji count as one.