Free Online Case Converter
Switch text between 8 case formats in one click
Try these next
Fixing capitalization is usually part of a bigger cleanup job. If you're reformatting a whole doc or renaming a batch of headings, Grammarly is handy for catching the grammar and style issues that tend to pile up alongside inconsistent casing. We run it after any bulk formatting pass to make sure nothing reads weird. (We may earn a commission, at no cost to you.)
Why use Case Converter
- Eight modes in one place -- editorial formats and developer formats side by side.
- Title case follows real English rules, keeping articles and prepositions lowercase.
- Undo lets you cycle through formats against the same source text without re-pasting.
- Multi-line input converts a full document or a list of headings in one pass.
- Covers Python, JavaScript, React, and CSS naming conventions without switching tools.
How it works
Each case conversion applies a different string transformation. Uppercase and lowercase use toUpperCase() and toLowerCase(). Title case splits on spaces, capitalizes the first letter of each word, then cross-references a list of English articles, conjunctions, and prepositions to lowercase them unless they open or close the string. Sentence case lowercases everything, then capitalizes the first character after terminal punctuation followed by whitespace. The programming formats split input on spaces, hyphens, and underscores, then rejoin words with the target convention's separator and casing rules.
About this tool
Paste text, click a button, get it back in UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, or kebab-case. Title case follows real English rules -- articles like "the" and prepositions like "of" stay lowercase unless they open or close the title. AP-style headlines and blog post titles look sloppy when every word is capitalized. The developer formats save just as much time. Python calls for snake_case. JavaScript and React use camelCase and PascalCase. CSS class names go kebab-case. Converting between them by hand is slow, especially in bulk. Multi-line input works. Paste a column of product names and convert them all to snake_case, or standardize 30 blog headlines to Title Case in one pass. Undo restores the original so you can try a different format without re-pasting.
How to use Case Converter
- Paste your text. Drop in a headline, a paragraph, or a multi-page document.
- Click a conversion button. Pick from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, or kebab-case. The text transforms in place.
- Compare formats. Hit Undo and try a different button to decide between, say, Title Case and Sentence case for a set of headings.
- Copy the result. Click Copy and paste into your CMS, code editor, or spreadsheet.
Use cases
- Renaming database columns from plain English to snake_case to match PostgreSQL conventions.
- Fixing an accidental ALL CAPS paragraph back to sentence case before sending to a client.
- Standardizing 30 blog headlines to Title Case after three writers submitted drafts with inconsistent capitalization.
Frequently Asked Questions
Title case capitalizes each major word while keeping small words like 'the', 'a', 'in', and 'of' lowercase unless they open or close the title. Use it for headlines, blog post titles, and book titles.
Capitalizes only the first word and proper nouns. Most style guides recommend it for body text, subheadings, and button labels.
camelCase starts lowercase and capitalizes each subsequent word (myVariable). PascalCase capitalizes every word (MyComponent). snake_case uses underscores (my_variable). kebab-case uses hyphens (my-component). Each is a naming standard in different programming languages.
Acronyms, programming constants (MAX_RETRIES), and short labels that need emphasis. Avoid it for full paragraphs -- it reduces readability and looks like shouting in most contexts.
Python and Ruby use snake_case for variables and functions. JavaScript and Java use camelCase for variables, PascalCase for classes and React components. Go uses camelCase for unexported identifiers and PascalCase for exported ones. CSS class names and HTML attributes use kebab-case.
No. Standard title case leaves articles (a, an, the), coordinating conjunctions (and, but, or), and short prepositions (in, on, at, to, of) lowercase in the middle. So 'the art of war' becomes 'The Art of War', not 'The Art Of War'.
Related Tools
Discover more free utilities to enhance your productivity.
Word Counter
Check word count, reading time, and character stats as you type
Character Counter
Track character count against Twitter/X, SMS, and custom limits
Markdown to HTML Converter
Turn Markdown into clean, sanitized HTML with GFM support
Text to Slug Converter
Turn any title or phrase into a URL-safe slug