Case Converter & Counter

Change text case and count characters, words and lines.

Loading tool…

Case Converter & CounterSwitch text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and kebab-case in one click, while live counters track characters, words, lines and bytes. Handy for code identifiers, headlines and social posts. Everything is processed locally in your browser.

What is Case Converter & Counter?

Case Converter & Counter is a free online text case converter that switches any text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and kebab-case with a single click. Developers, writers, and social media managers use it to reformat code identifiers and variable names, fix headlines, normalize copied text, and prep social posts. A live counter shows characters, characters without spaces, words, lines, and bytes as you type, so it doubles as a quick word counter and character counter. Because the widget renders only with JavaScript, this text is the indexable description: convert text case, change capitalization, and count text length all in one tool.

How to use Case Converter & Counter

  1. Type or paste your text into the Input box.
  2. Pick a conversion mode from the segmented buttons: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, or kebab-case.
  3. Read the converted result instantly in the read-only Output box below.
  4. Check the live stats row for characters, chars without spaces, words, lines, and bytes.
  5. Use the Copy button next to the Output label to copy the converted text to your clipboard.
  6. Click Clear to empty the Input and start over.

Examples

snake_case for a variable name

Input

Hello World

Output

hello_world

camelCase an identifier

Input

hello world

Output

helloWorld

Shout a headline in UPPERCASE

Input

Hello World

Output

HELLO WORLD

Frequently asked questions

Which case formats does it support?
Seven modes: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and kebab-case. UPPERCASE, lowercase, Title Case, and Sentence case keep your original spacing and punctuation, while camelCase, snake_case, and kebab-case split the text into words and rejoin them so they suit code identifiers.
How does the camelCase, snake_case, and kebab-case splitting work?
The tool extracts alphanumeric words (it also breaks on camelCase boundaries such as the gap in 'helloWorld'), then joins them: camelCase lowercases the first word and capitalizes each later word with no separator, snake_case joins lowercase words with underscores, and kebab-case joins them with hyphens. Punctuation and existing separators are dropped in these three modes.
What do the counters measure?
They update live as you type, showing total characters, characters excluding whitespace, word count (whitespace-separated), line count, and byte size (UTF-8 encoded).
Is there a length limit on the text I can convert?
There is no fixed character cap; conversion happens instantly in your browser, so very large pastes are limited only by your device's memory.
Is my text uploaded anywhere?
No. Everything runs 100% client-side in your browser. Your text is never uploaded to a server, so you can safely convert private or sensitive content.

Related tools