Text Case Converter
Convert text to uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, and kebab-case instantly.
What is Text Case Converter?
A text case converter transforms text between different capitalization formats with a single click. It handles uppercase (ALL CAPS), lowercase (all lower), title case (Each Word Capitalized), sentence case (First word only), camelCase, PascalCase, snake_case, kebab-case, and more. Developers use it for variable naming conventions, writers use it for headlines and titles, and marketers use it for consistent brand formatting. Instead of manually retyping text or writing find-and-replace rules, this tool handles the conversion instantly for any length of text.
How It Works
Enter your text and select the target case format. The tool applies language-aware transformation rules. For title case, it follows standard English capitalization rules — capitalizing major words while keeping articles (a, an, the), conjunctions (and, but, or), and short prepositions lowercase unless they start the title. For programming cases like camelCase and snake_case, it intelligently splits words on spaces, hyphens, and existing case boundaries, then reassembles them in the target format. The conversion handles Unicode characters, accented letters, and multi-word inputs correctly.
Examples
user profile image URL
camelCase: userProfileImageUrl PascalCase: UserProfileImageUrl snake_case: user_profile_image_url kebab-case: user-profile-image-url CONSTANT: USER_PROFILE_IMAGE_URL
the lord of the rings and the return of the king
The Lord of the Rings and the Return of the King
Common Use Cases
- •Converting headlines between AP style title case and sentence case for publishing
- •Transforming variable names between camelCase, snake_case, and kebab-case for different codebases
- •Fixing accidentally typed ALL CAPS text without retyping the entire passage
- •Standardizing database column names or API field names to a consistent naming convention
- •Preparing CSV headers or spreadsheet column names in a uniform format
- •Converting markdown headers and documentation titles to consistent capitalization
Frequently Asked Questions
What case formats are supported?▼
UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case.
What is the difference between title case and sentence case?▼
Sentence case capitalises only the first word and any proper nouns: "How to format text in JavaScript". Title case capitalises the significant words: "How to Format Text in JavaScript". Sentence case is the house style for most publications and for Google's own documentation; title case is common in headlines and book titles.
Which words stay lowercase in title case?▼
Articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, yet, so) and short prepositions (in, on, at, to, of, by, up) stay lowercase — unless they are the first or last word of the title, which are always capitalised.
What is the difference between camelCase, PascalCase, snake_case and kebab-case?▼
camelCase lowercases the first word and capitalises the rest (`userName`), and is conventional for JavaScript variables. PascalCase capitalises every word (`UserName`) and is used for class and component names. snake_case joins lowercase words with underscores (`user_name`), the norm in Python and SQL. kebab-case joins lowercase words with hyphens (`user-name`), used in URLs, CSS classes and HTML attributes.
Does converting to uppercase and back recover my original text?▼
No, and this is a genuine trap. Case conversion is lossy: once "iPhone" becomes "IPHONE", nothing records that the P was capitalised. Keep a copy of the original before converting to uppercase.
Are accented and non-English characters handled?▼
Yes, conversion is Unicode-aware, so é becomes É and ß is handled correctly. Be aware that a few locales have special rules — Turkish distinguishes dotted and dotless i, so uppercasing Turkish text with English rules produces the wrong letter.
What is alternating and inverse case for?▼
Alternating case ("aLtErNaTiNg") is mostly used for the sarcasm meme in social posts. Inverse case swaps the case of every letter, which is the quick fix for a sentence typed with Caps Lock on by mistake.
Further Reading
Related Tools
More from Text Tools:
Word Counter
Count words, characters, sentences, and paragraphs instantly. Free online word counter tool with reading time estimation. No signup required.
Character Counter
Count characters, letters, digits, spaces, and special characters in your text. Free online character counter with detailed breakdown.
Remove Line Breaks
Remove line breaks and join text into a single line or paragraph. Replace newlines with spaces, commas, or nothing.