InputTestHub

Case Converter

Converts text between twelve cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case and more.

Text Nothing uploaded No sign-up Free, unlimited
Text tool
Paste something on the left to see the result.
In short A case converter rewrites the capitalisation of text without touching the words, and the twelve cases it offers exist for different reasons. UPPER and lower are formatting. Title Case and Sentence case are editorial conventions with style-guide rules behind them. The programming cases — camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE — are naming conventions, and which one is correct depends entirely on the language: JavaScript uses camelCase for variables and PascalCase for classes, Python uses snake_case, CSS and URLs use kebab-case, and environment variables are CONSTANT_CASE almost everywhere. The conversions that lose information are worth knowing about. Going to lowercase and back cannot restore proper nouns, because nothing in the text records that "Paris" was a city rather than plaster. Converting to snake_case discards the original word boundaries if they were only marked by capitals, so PascalCase to snake_case works and the reverse relies on guessing. That is why the sensible order is to convert from the most informative form you have, not through an intermediate one.

How to use the Case Converter

  1. Paste your text into the input box on the left.
  2. Adjust the options above the box if you need a different behaviour.
  3. The converted text appears on the right; press Copy to put it on your clipboard.

About the Case Converter

The Case Converter converts text between twelve cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case and more. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Fixing a headline someone typed in all caps.
  • Turning a label into a variable name in the case your codebase uses.
  • Cleaning imported data where capitalisation is inconsistent.

Frequently asked questions

Does Title Case handle small words correctly?
Yes. Articles, conjunctions and short prepositions (a, an, the, and, but, or, for, of, in, on, at, to, by, with) stay lowercase unless they are the first or last word, which follows AP and Chicago style.
What is the difference between Title Case and Sentence case?
Title Case capitalises most words: "How To Merge PDF Files". Sentence case capitalises only the first word and proper nouns: "How to merge PDF files". Most modern style guides prefer sentence case for headings.
Does the Case Converter cost anything?
No charge and no sign-up. There is no free tier to run out of because there is no paid tier — inputtesthub.com is funded by advertising rather than by metering the tool.
Is my data uploaded anywhere?
No. The Case Converter runs entirely in your browser using JavaScript. Your input never reaches inputtesthub.com or any third party — open your browser's Network tab while you use it and you will see no request go out.
Can you show an example?
Enter "hello world example" and the Case Converter returns Hello World Example in Title Case, helloWorldExample in camelCase, hello_world_example in snake_case.
When would I actually need the Case Converter?
In practice it gets used for three things: fixing a headline someone typed in all caps. Turning a label into a variable name in the case your codebase uses. Cleaning imported data where capitalisation is inconsistent. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Will this work on a tablet?
Yes. The page is responsive and the tool works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related text tools

All 92
01

Uppercase Converter

Converts any text to UPPERCASE instantly, keeping numbers, punctuation and line breaks exactly…

02

Lowercase Converter

Converts any text to lowercase, including text that was typed with Caps Lock on by mistake.

03

Title Case Converter

Converts headings to proper Title Case using AP and Chicago rules, keeping short words like…

04

Sentence Case Converter

Rewrites text in sentence case: first letter of each sentence capitalised, the rest lowercase…

05

camelCase Converter

Turns any phrase into camelCase for JavaScript, Java and JSON keys, stripping spaces, hyphens…

06

PascalCase Converter

Converts phrases to PascalCase (UpperCamelCase) for class names, React components and type…

07

snake_case Converter

Converts text to snake_case for Python variables, database columns and file names.

08

kebab-case Converter

Converts text to kebab-case for URLs, CSS class names and HTML attributes.

09

CONSTANT_CASE Converter

Converts text to SCREAMING_SNAKE_CASE for environment variables, constants and configuration…