Text Case Converter
Convert text to UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more — see every case at once and copy the one you need.
How to Use
- Type or paste your text. Every case appears at once in the table on the right.
- Click a case (or a mode button) to make it the main result, then press Copy — or use the Copy button on any row.
- For headlines, keep Smart title case on so small words like “of” and “the” stay lowercase.
- Programming cases split words at spaces, hyphens, underscores and camelCase boundaries — the chips show exactly how your text was split.
- Turkish or Azerbaijani text? Choose that language so i and ı become İ and I correctly.
Worked Example
Convert the identifier getHTTPResponseCode to snake_case.
Split into words: a lowercase letter followed by a capital starts a new word (get | HTTP…), and in a run of capitals the last one starts a new word when a lowercase letter follows (HTTP | Response). Words: get · HTTP · Response · Code.
snake_case lowercases every word and joins them with _: get_http_response_code. The same four words give getHttpResponseCode (camelCase), GetHttpResponseCode (PascalCase), get-http-response-code (kebab-case) and GET_HTTP_RESPONSE_CODE (CONSTANT_CASE).
Convert “the lord of the rings” to Title Case. Capitalizing every word gives “The Lord Of The Rings”. Smart title case keeps the short words lowercase unless they come first or last: The Lord of the Rings.
Show Work
The Rules
Where Upper and Lower Case Come From
Roman inscriptions used only capital letters. Lowercase grew out of handwriting: the Carolingian minuscule of the 8th and 9th centuries gave Europe a standard small script, and Renaissance scholars paired it with Roman capitals. The words themselves come from printing: compositors kept the capitals in the upper of two wooden type cases and the small letters in the lower one.
Programming styles appeared because most languages forbid spaces in names. Lisp joined words with hyphens (the origin of kebab-case), C and Unix used underscores, and Smalltalk ran words together with capitals, the camelCase that Java and JavaScript later made standard. Today the split is largely settled: camelCase for variables in JavaScript and Java, PascalCase for types, snake_case in Python, Ruby and Rust, and kebab-case in URLs and CSS.
About This Tool
This tool converts text to twelve cases and shows all of them at once, so you can compare and copy without switching modes. Programming cases split words at spaces, punctuation and camelCase boundaries, handle acronyms, and never drop accented or non-Latin letters. Writing cases keep your spacing and line breaks.
Smart title case follows the common style-guide rule for short words, and leaves words with their own capitalization — iPhone, NASA, McDonald — alone. Turkish and Azerbaijani rules are available for the dotted and dotless i. Everything runs in your browser.
Related tools: Character Counter, Slugify, and File Renamer.
Frequently Asked Questions
How does Title Case differ from Sentence case?
Title Case capitalizes the words of a title: “The Lord of the Rings”. Sentence case capitalizes only the first word of each sentence, as in normal writing: “The lord of the rings”. With Smart title case on, short articles, conjunctions and prepositions (a, an, the, and, of, in, to…) stay lowercase unless they are the first or last word — the common rule in AP and Chicago style. Turn it off to capitalize every word.
What’s the difference between camelCase and PascalCase?
Both run words together with no separator. camelCase keeps the first letter lowercase (userName); PascalCase capitalizes it (UserName). JavaScript, Java and C# use camelCase for variables and methods and PascalCase for classes and types.
When should I use kebab-case vs. snake_case?
kebab-case (hyphens) is standard in URLs, CSS class names and file names. snake_case (underscores) is standard for variables in Python, Ruby and Rust, and for database columns. Most programming languages do not allow hyphens in names, which is why code uses snake_case while URLs use kebab-case.
How are acronyms like HTTP or XML handled?
A run of capitals is treated as one word, and the last capital starts the next word when a lowercase letter follows: getHTTPResponseCode splits into get · HTTP · Response · Code, giving get_http_response_code. In Title Case, words that already mix capitals — iPhone, NASA, McDonald — are left as written.
Does it work with accented letters and other alphabets?
Yes. Words are found with Unicode letter classes, so café, Straße, Привет and Ελλάδα are split and cased correctly; letters are never dropped. Turkish and Azerbaijani have special rules (i ↔ İ, ı ↔ I) — choose that language to apply them.
How do I use the Text Case Converter?
Just type or paste your value. The answer shows up right away — there is no button to press. Change anything and it updates by itself.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Renaming code identifiers
Turn the Python function get_user_by_id into JavaScript’s getUserById, or the class name UserProfile into the table name user_profile.
URL slugs
“10 Tips for Better Sleep!” becomes 10-tips-for-better-sleep for a clean, readable link.
Headlines
Fix a headline typed in lowercase: “a guide to the stars of the night sky” becomes A Guide to the Stars of the Night Sky.
Environment variables
Turn “database connection url” into DATABASE_CONNECTION_URL for a .env file.
Fixing CAPS LOCK text
Paste a paragraph typed with Caps Lock on and choose Sentence case: “HELLO. I AM HERE.” becomes “Hello. I am here.”
Last updated: