1. Home
  2. Text
  3. Case Converter

Case Converter

Change letter case or turn phrases into camelCase, snake_case and kebab-case.

Runs in your browser · No upload Works offline
Capitalizes each word, keeping short words like a, an, the, of and and lowercase unless they start a line or sentence.
Result
The Lord of the Rings: The Return of the King userProfileImage Max_Retry_Count Hello World. How Are You?
Characters
104
Words
17
Lines
4

How to use

  1. Paste a sentence, a headline or a list of variable names. Multiple lines are fine.
  2. Pick a case — the result below updates immediately.
  3. Use Copy to grab the result, or Download .txt to save it as a file.

What each case looks like

Input: user profile image

Case Result Typical use
UPPERCASE USER PROFILE IMAGE Emphasis, acronyms
lowercase user profile image Email addresses, tags
Title Case User Profile Image Headlines, book and article titles
Sentence case User profile image Body text, UI labels
camelCase userProfileImage JavaScript and Java variables, JSON keys
PascalCase UserProfileImage Classes, React components
snake_case user_profile_image Python variables, database columns
kebab-case user-profile-image URL slugs, CSS classes, file names
CONSTANT_CASE USER_PROFILE_IMAGE Constants, environment variables

How words are detected

The identifier cases (camelCase through CONSTANT_CASE) convert each line separately. Words are split on spaces, punctuation, _, - and on existing camelCase boundaries.

  • XMLHttpRequest → xml_http_request (a capital followed by lowercase starts a new word)
  • MAX_RETRY_COUNT → maxRetryCount
  • don't stop → dont_stop (apostrophes inside words are dropped)
  • utf8Encoding → utf8_encoding (letters and digits stay together)

Things to know

  • Title Case keeps short words — a, an, the, and, but, or, nor, for, as, at, by, in, of, on, per, to, via, vs — lowercase unless they start a line, a sentence, or follow a colon. Style guides such as AP and Chicago differ on details like four-letter prepositions, so double-check titles that matter.
  • In mostly lowercase text, words with deliberate capitals such as NASA or iPhone are kept as typed in Title and Sentence case. Lines written mostly in capitals are normalized instead. Sentence case also keeps the pronoun I (and I’m, I’ll, I’ve, I’d) capitalized.
  • Letters without case (Korean, Chinese, Japanese, digits) are never changed. They still count as words in the identifier cases.

FAQ

Can I convert a whole column of names at once?

Yes. Paste one name per line and choose a case such as snake_case — every line is converted on its own and blank lines are kept.

What is the difference between Title Case and Sentence case?

Title Case capitalizes most words (“The Return of the King”); Sentence case capitalizes only the first word of each sentence (“The return of the king”).

Is my text uploaded?

No. Conversion runs entirely in your browser. To check the length of the result, paste it into the character counter.

Coming soon

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.