Skip to content

Case converter: uppercase, lowercase, title case and more

Paste text and switch it between upper case, lower case, title case and sentence case, or turn it into camelCase, snake_case and kebab-case for code, file names and web addresses. Arabic words have no capital letters, so they pass through exactly as you wrote them. Everything happens in your browser.

Quick answer

To change the case of text, paste it in the box, pick a style such as Title Case or snake_case, and copy the result. Title Case keeps short words like "of" and "the" in lower case, Sentence case capitalises the first word of each sentence, and the code styles join words with nothing, underscores or hyphens. Arabic text is left unchanged.

Arabic has no capital letters, so Arabic words pass through unchanged in every style.

Converted on your device. Nothing is uploaded or saved.

How to use the Case Converter

  1. Type or paste your text into the first box.
  2. Choose a style with the buttons above it; the converted text appears in the second box straight away.
  3. For Title Case or Sentence case, leave the acronym option on to keep words such as UAE or PDF in capitals, then press Copy.

Which case to use where

Title Case suits headlines, report titles and email subject lines. Sentence case is the modern choice for web headings, buttons and form labels because it reads naturally. UPPER CASE works for short labels and signs but is tiring in long passages, and online it can come across as shouting. lower case is handy for repairing text typed with Caps Lock left on, or for hashtags and usernames.

Styles for code, files and web addresses

Programmers name variables in camelCase (totalAmount) in JavaScript and Java, and in snake_case (total_amount) in Python and SQL. kebab-case (total-amount) is the usual format for web addresses, CSS classes and file names, because search engines read a hyphen as a space. The converter splits words at spaces, punctuation and existing capital humps, so XMLHttpRequest becomes xml_http_request.

How Arabic text is handled

Arabic script has no capital or small letters, so upper, lower, title and sentence case leave Arabic words untouched. In camelCase, snake_case and kebab-case the tool converts only the Latin-script parts and keeps every Arabic run, with its spaces, exactly as written. A line such as "order total الإجمالي" becomes "order-total الإجمالي", so bilingual labels and notes stay readable.

How title case decides on small words

Most English style guides keep articles, short conjunctions and short prepositions such as a, an, the, and, or, of, to and in in lower case unless they start or end the title or follow a colon. This tool follows that rule. Guides disagree about longer prepositions such as "about" and "between"; if a publisher has a house style, check it and adjust a word by hand after copying.

Privacy and limits

The conversion runs in your browser as you type, so nothing is uploaded and there is no account or daily cap. Very long texts of hundreds of thousands of characters still work, though older phones may pause briefly. Line breaks are kept, and in the code styles each line is converted on its own, so a list of field names stays a list.

Frequently asked questions

Will the case converter change my Arabic text?

No. Arabic has no letter case, so it stays exactly as you typed it in every style. In mixed text only the English and other Latin-script words are converted.

Why did Title Case leave some words in lower case?

Short words such as of, the, and, to and in stay small in the middle of a title, as most style guides recommend. They get a capital when they are the first or last word or come straight after a colon.

What is the difference between camelCase and snake_case?

camelCase joins words with no spaces and starts each word after the first with a capital, as in invoiceNumber. snake_case writes every word in lower case and joins them with underscores, as in invoice_number.

Can I keep acronyms like UAE or PDF in capitals?

Yes. With the acronym option on, Title Case and Sentence case leave any word already written in capitals alone. If the whole text is in capitals, everything is converted, because acronyms cannot be told apart from the rest.

Does it handle accented letters such as é or ü?

Yes. Letters such as é, ü and ñ change case correctly and are kept in camelCase, snake_case and kebab-case. If you need plain ASCII for a web address, remove the accents after copying.