Skip to main content
Tools

Case Converter

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and more, all at once.

0 characters · 1 line

Results

Each line is converted separately; Chinese characters and emoji are kept as they are. Title Case keeps short words such as a, an, the, and, of and in lowercase unless they come first or last; words that already have capitals, like NASA or iPhone, are left alone.

How to use

  1. Paste a sentence or identifiers into “Your text”, or click “Example” to try it out.
  2. All 10 formats appear below at once: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case and dot.case.
  3. Multi-line input is converted line by line, so you can convert a whole list of field names in one go.
  4. Click “Copy” next to a format to grab it.

FAQ

Is my text uploaded?

No. Everything is converted in your browser. Your text never leaves your device and is not saved.

What happens to Chinese text?

It is kept exactly as it is. Scripts without upper and lower case, such as Chinese and Japanese, are never changed; in code formats like camelCase or snake_case they count as a word of their own, so “使用者 name” becomes 使用者_name.

How are names like XMLHttpRequest split?

A run of capitals is treated as one acronym, and a new word starts where a capital is followed by a lowercase letter, so XMLHttpRequest splits into XML, Http and Request (xml_http_request in snake_case). Digits stay with the letters before them: base64Encode splits into base64 and Encode.

What are the Title Case rules?

Every word is capitalized except articles, short conjunctions and prepositions (a, an, the, and, but, or, for, of, in, on, at, to, by and a few more), which stay lowercase unless they are the first or last word or follow a colon. Words that already contain capitals (NASA, iPhone) and words with a dot (example.com) are left as written. A line typed mostly in capitals is lowercased first.

Does Sentence case keep proper nouns?

It cannot know which words are names. Only words that already contain other capitals (NASA, iPhone) are kept; everything else is lowercased, then the first letter of each line and sentence (after . ! ?) and the pronoun I are capitalized. Check names after converting.

What happens to punctuation and emoji?

UPPERCASE, lowercase, Title Case and Sentence case only change letters, so punctuation and emoji stay. Code formats keep only letters and digits and treat everything else as a separator: “Hello, World!” becomes hello-world in kebab-case, and apostrophes are dropped, so don’t becomes dont.

Keyboard shortcuts

/
Search tools (on a tool page, goes to the homepage search)
?
Show this help
Esc
Close a dialog
Ctrl / ⌘Enter
Run the tool's main action (where supported)

While you type in a text field, / and ? are typed as usual.