Case Converter

No data sent

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and more, instantly in your browser. See every format side by side and copy the one you need. Handles accented letters and Unicode, and converts identifiers line by line.

About this tool

What does the Case Converter do?

The Case Converter changes the capitalization and word separators of text. Use it to fix text typed with Caps Lock on, turn a sentence into a proper title, or rename variables between programming naming conventions such as camelCase, snake_case and kebab-case. Conversion happens in your browser as you type.

How to use

  1. Type or paste text into Input, or drop a text file onto it.
  2. Choose a format such as Title Case or snake_case. The result appears in Output right away.
  3. Copy or download the result with the buttons in the corner of the output editor.
  4. Check All formats below to compare every conversion of your text and copy any of them with one click.

Supported formats

FormatExampleTypical use
UPPERCASEHELLO WORLDHeadings, constants in text, fixing Caps Lock
lowercasehello worldNormalizing emails, tags and IDs
Title CaseThe Lord of the RingsTitles and headlines (short words like of, the, and stay lowercase)
Capitalized CaseThe Lord Of The RingsCapitalizing every word
Sentence caseHello world. How are you?Normal sentences
camelCasehelloWorldJavaScript, Java and JSON variable names
PascalCaseHelloWorldClass and component names
snake_casehello_worldPython, Ruby and database column names
CONSTANT_CASEHELLO_WORLDConstants and environment variables
kebab-casehello-worldURLs, CSS classes and file names
dot.casehello.worldConfig keys and package names

How words are detected

For the programming formats (camelCase through dot.case), words are split at spaces, symbols such as -, _ and ., and at changes in letter case. So getHTTPResponseCode, get-http-response-code and get http response code all become get_http_response_code in snake_case. Each line is converted separately, so you can paste a list of names and convert them all at once.

Features

  • 11 formats with live conversion
  • All formats preview with one-click copy
  • Unicode-aware: accented letters (é → É), Greek and Cyrillic are converted; Japanese and other scripts without case are kept
  • Line-by-line conversion for identifiers, keeping blank lines
  • Text file input, copy, download and full-screen editing
  • Your input and chosen format are saved in this browser

FAQ

What is the difference between Title Case and Capitalized Case?

Title Case follows the common headline style: short articles, conjunctions and prepositions (a, the, and, of, in, to...) stay lowercase unless they are the first or last word. Capitalized Case simply capitalizes every word.

Why did the text get longer after converting to uppercase?

A few characters have no single uppercase form. For example, German ß becomes SS, so straße turns into STRASSE.

Are numbers kept in camelCase and snake_case?

Yes. Digits stay part of the word they are attached to, so version 2 api becomes version2Api in camelCase and version_2_api in snake_case.

Is my text uploaded?

No. Conversion runs entirely in your browser.

🔤 Character Counter
Count characters, words, lines, paragraphs, sentences and bytes (UTF-8 and Shift_JIS) as you type. Emoji and combining marks count as one character, and Japanese words are counted too.
😃 Emoji Palette
Search about 1,900 emoji by name, short code, category or code point and copy any of them with one click. Shows Unicode names and short names.
🧬 Emoji Splitter
Split emoji and text into visible characters (graphemes) and Unicode code points. See ZWJ parts, skin tones, variation selectors, flags and keycaps.
✨ Fancy Text Generator
Type text and see it in more than 25 Unicode styles at once: 𝐛𝐨𝐥𝐝, 𝑖𝑡𝑎𝑙𝑖𝑐, 𝓈𝒸𝓇𝒾𝓅𝓉, 𝔣𝔯𝔞𝔨𝔱𝔲𝔯, 𝕕𝕠𝕦𝕓𝕝𝕖-𝕤𝕥𝕣𝕦𝕔𝕜, 𝚖𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎, ⓒⓘⓡⓒⓛⓔⓓ, 🅂🅀🅄🄰🅁🄴🄳, fullwidth, sᴍᴀʟʟ ᴄᴀᴘs, upside down and more. Copy any style with one click.
📝 Hiragana / Katakana Converter
Convert Japanese hiragana to katakana and katakana to hiragana in one click. Kanji, romaji, punctuation and the long vowel mark ー are left untouched.
👻 Invisible Character Detector & Remover
Find zero-width spaces, no-break spaces, BOMs, soft hyphens, bidirectional controls and other invisible characters in text. Each one is shown as a badge such as [ZWSP] or [NBSP].