Skip to content

Case converter

Paste your text, pick a style and the converted version appears instantly: upper case, lower case, title case or a programming naming style. The conversion runs in this browser only — your text is never sent anywhere.

Runs in your browser · Nothing uploadedFree · No install

Case converter

Scripts without letter case, such as Korean, Japanese and Chinese, are left exactly as they are.

Style

How to use

  1. 1Paste or type the text you want to convert in the first box.
  2. 2Pick a style such as UPPER, lower, Title Case or camelCase. The result appears immediately.
  3. 3Copy the result, or press “Use as input” to convert it again to another style.

About this tool

The styles at a glance

  • UPPER CASE turns every letter into a capital: hello world → HELLO WORLD. Handy when a form demands capitals or a heading needs to stand out.
  • lower case turns every letter into a small letter: Hello World → hello world. Useful after text was typed with Caps Lock on by mistake.
  • Title Case capitalises the first letter of every word and lowers the rest: the quick fox → The Quick Fox. Words with an apostrophe stay one word, so don’t becomes Don’t, not Don’T.
  • Sentence case capitalises only the first letter of each sentence. A new sentence starts after a full stop, question mark or exclamation mark followed by a space, and after every line break.
  • Reverse text flips the order of the characters. Emoji, flags and accented letters stay intact instead of breaking into pieces.

Naming styles for code

Programming languages and teams use different conventions for names. The converter splits your text into words and joins them again in the chosen style. It recognises spaces, hyphens and underscores as separators, and also the boundaries inside existing identifiers: the lower-to-upper step in “userName” and acronyms such as “XMLHttpRequest”, which becomes XML + Http + Request. Digits stay attached to the word they follow.

  • camelCase: xmlHttpRequestId2 — variables and functions in JavaScript, Java and many other languages.
  • PascalCase: XmlHttpRequestId2 — classes, types and React components.
  • snake_case: xml_http_request_id2 — Python variables and database column names.
  • kebab-case: xml-http-request-id2 — URLs, CSS class names and file names.
  • CONSTANT_CASE: XML_HTTP_REQUEST_ID2 — constants and environment variables.

Languages without letter case

Upper and lower case exist only in some scripts: Latin (English, Spanish, French …), Greek, Cyrillic and a few others. Korean Hangul, Japanese hiragana and katakana, and Chinese characters have no letter case, so every style leaves them unchanged.

In the naming styles such words are kept as they are and only the separators change: “안녕 hello” becomes “안녕Hello” in camelCase and “안녕_hello” in snake_case. Many languages and tools do not accept non-Latin identifiers, so plain English names are the safer choice in real code.

Lines, punctuation and accents

  • UPPER, lower, Title, Sentence and Reverse keep line breaks, punctuation and numbers exactly where they are and only change the letters.
  • The naming styles convert each line separately, so pasting a list of phrases gives one identifier per line. Leading and trailing spaces and punctuation are dropped.
  • Accented letters change case correctly in every language this site supports: ñandú árbol → ÑANDÚ ÁRBOL, and the German ß becomes SS in upper case.

Your text stays in your browser

Every conversion is calculated inside this browser. The text you paste is never sent to a server and never stored; closing the page discards it.

Use the Copy button to put the result on your clipboard, or press “Use as input” to move the result into the input box and convert it again — for example lower case first, then Title Case.

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lower-case word (userName), PascalCase starts every word with a capital, including the first (UserName). Variables and functions usually use camelCase, classes and components PascalCase.

How are acronyms like XMLHttpRequest split?

A run of capitals followed by a capital and a small letter is split before that last capital, so XMLHttpRequest becomes XML, Http and Request, and snake_case gives xml_http_request.

Does Title Case keep small words like “a” and “the” lower case?

No. Every word gets a capital first letter. Style guides disagree about which articles and prepositions stay lower case, so adjust those by hand if your guide requires it.

Why did names turn lower case in Sentence case?

Sentence case lowers every letter except the first of each sentence, so proper nouns such as names and places become lower case too. Fix them by hand after converting.

Does it change Korean or Japanese text?

No. These scripts have no upper and lower case, so they stay exactly the same; only Latin and other cased letters in the text change.

Is my text uploaded or saved?

No. The conversion runs in your browser and the text is never sent or stored anywhere.

All everyday tools (16) →