zerouploads

Text Case Converter

Change text to sentence case, UPPERCASE, Title Case, camelCase, snake_case and eight more. One line at a time.

  • Unlimited
  • No signup
  • Private
  • Works offline

Change the case of a text

every line on its own

4 lines · 11 words · 86 characters

camelCase

userProfileImageUrl parseHttpResponse theLordOfTheRings shippingAddressLine2

4 lines · 4 words · 76 characters

Which case to convert to
camelCase · 4 lines · 4 words · 76 characters

How it works

  1. 01

    Paste the text

    Type it or paste it. The tool converts every line on its own.

  2. 02

    Pick a case

    Thirteen cases, each with a sample. You see the shape before you pick it.

  3. 03

    Copy it back

    Copy the result, or save it as a .txt file.

How the words are found

Eight of the thirteen cases work the same way. The tool cuts the line into words, then joins them again with spaces, capitals, underscores, dashes or dots. So the text can arrive in any shape. Spaces, dashes and camelCase all come apart the same. These eight also drop punctuation, so a comma does not survive Title Case.

A run of capitals stays one word, and the next word starts after it. That is how parseHTTPResponse becomes parse, HTTP and Response. A number stays attached to the word before it, so Line2 stays Line2.

The other five never split the line. Sentence case, lowercase, UPPERCASE, aLtErNaTiNg and iNVERT change letters and nothing else, so your commas, brackets and spacing all survive.

Cases
Sentence, lower, UPPER, Title, camel, Pascal, snake, kebab, CONSTANT, dot, Train, alternating and invert.
Line by line
A list stays a list. Blank lines stay where they are, so the shape of the text does not change.
Live
The result changes as you type. There is no button to press.
Output
Copy it, or save it as a plain .txt file.

Which case to use, and where

Use camelCase for JavaScript variables and JSON keys. Use PascalCase for class and component names. Python, Ruby and most database columns want snake_case. URLs, CSS classes and file names want kebab-case. CONSTANT_CASE marks a value that never changes.

Title Case is for headings and article titles. The short joining words in the middle, like of and and, stay lowercase. Sentence case is for body text, and it is the safest choice for a button or a menu item.

Frequently asked questions

Is my text sent anywhere?
No. Your browser does the work in this tab. The page uploads nothing and stores nothing, so there is nothing to delete afterwards.
Can I convert a whole list at once?
Yes. The tool converts every line on its own, so a list of names comes back as a list. Blank lines stay where they were.
Why is 'of' still lowercase in Title Case?
Short joining words stay lowercase inside a title. The first and last word always take a capital, so 'a tale of two cities' becomes 'A Tale of Two Cities'.
What is the difference between camelCase and PascalCase?
Only the first letter. camelCase starts lowercase and PascalCase starts with a capital. Both join the words with no spaces.
Does it handle accents and other alphabets?
Yes. The tool knows the letters of every alphabet, so café, Müller and Ελλάδα all convert the way you would expect.
How big a text can I paste?
There is no fixed cap. The work happens in the page, so the limit is the memory your browser has free.
Browse all text tools