---
title: "How to change text case online | ToolSugar"
description: "Switch text between upper case, lower case, title case, sentence case, camelCase, snake_case and kebab-case, and fix a block typed in capitals."
canonical: https://toolsugar.com/blog/how-to-change-text-case
image: https://toolsugar.com/og.png
---

# How to change the case of your text

Updated 2026-11-09

To change text case, paste your text into a converter and copy the version you need. The Case Converter on ToolSugar shows upper case, lower case, title case, sentence case, camelCase, snake_case and kebab-case at once. It runs in your browser, so the text stays on your device, and it handles accented and non-Latin letters.

[Open Case Converter](https://toolsugar.com/tools/case-converter)

## Change the case in four steps

All seven results appear together, so you never pick a mode first.

1. Type or paste your text into the Your text box.
2. Look through the seven results from UPPER CASE down to kebab-case.
3. Press Copy beside the version you want.
4. Paste it where you need it, or edit the text and copy another case.

## Fix text that someone typed in all capitals

Pasted headings often arrive in capitals. Use the sentence case result for body text and the title case result for headings.

Sentence case capitalises the first letter of the text and the first letter after a full stop, question mark, exclamation mark or line break. Names and the word I stay lower case, so scan for those and fix them by hand.

## Why title case may need a small edit

Title case here capitalises the first letter of every word. That suits most headings. Some style guides keep short words such as of, the and to in lower case, and the tool does not apply that rule.

Copy the result and lower those words yourself if your guide asks for it.

## Turn a phrase into a variable name or a URL slug

The three code cases treat each line as one name. Type user id 2 and you get userId2 in camelCase and user_id_2 in snake_case. Numbers stay as part of the words and punctuation is dropped.

Kebab-case is the form to use for a URL slug, since it joins the words with hyphens.

Write the source phrase in plain words first. A name like Total Price (USD) becomes totalPriceUsd, with the brackets dropped.

## Questions

### Does it work on letters with accents?

Yes. Accented Latin, Cyrillic and Greek letters change case correctly. Scripts with no upper and lower case, such as Chinese, stay as they are.

### What happens if I paste several lines into the code cases?

Each line is read as a single name, so a paragraph becomes one long identifier. Convert one name at a time for code.

### Can I undo a conversion?

Your original text stays in the box and is never changed. Copy the result you want and keep the original for the next try.

[Open Case Converter](https://toolsugar.com/tools/case-converter)

## Related guides

- [How to count words in a text](https://toolsugar.com/blog/how-to-count-words-in-a-text)
- [How to make fancy text fonts you can paste](https://toolsugar.com/blog/how-to-make-fancy-text-fonts)
- [How to format JSON online](https://toolsugar.com/blog/how-to-format-json)
- [How to URL encode and decode a string](https://toolsugar.com/blog/how-to-url-encode-a-string)
