Case Converter

Paste your text to change it to upper case, lower case, title case, sentence case, camelCase, snake_case or kebab-case. Copy the result in one click. It runs in your browser and your text is never uploaded.

Your text

Converted text

UPPER CASE

HELLO WORLD

lower case

hello world

Title Case

Hello World

Sentence case

Hello world.

camelCase

helloWorld

PascalCase

HelloWorld

snake_case

hello_world

CONSTANT_CASE

HELLO_WORLD

kebab-case

hello-world

How to use the case converter

  1. Paste or type your text into the box.
  2. Find the format you need in the list. Every result updates as you type.
  3. Press Copy to put the result on your clipboard, or Use as input to convert it again.

The formats

UPPER CASE and lower case change every letter. Title Case capitalises each word, and Sentence case capitalises the first word of each sentence and the pronoun I. The code formats split your text into words and join them again: camelCase (userName), PascalCase (UserName), snake_case (user_name), CONSTANT_CASE (USER_NAME) and kebab-case (user-name). For example, "Hello, big World!" becomes hello_big_world in snake_case. Style guides disagree on which words a title keeps lowercase, so check yours for formal headlines.

Related tools

Count the words and characters of your text with the word counter, generate filler text with the lorem ipsum generator, or write in the Markdown editor.

See also

Frequently Asked Questions (FAQ)

How do I change uppercase to lowercase?

Paste your text into the box. The lower case result appears straight away in the list below, and the copy button puts it on your clipboard. The same box gives you upper case, title case and the other formats at once.

What is the difference between title case and sentence case?

Title case capitalises the first letter of every word, as in "The Quick Brown Fox". Sentence case capitalises only the first word of each sentence, as in "The quick brown fox." Use sentence case for body text and many modern headings, and title case where a style guide asks for it.

Does title case keep words like "of" and "the" lowercase?

Only if you tick the option. Style guides such as AP, APA and Chicago differ on which short words to leave lowercase and on how long a word must be to be capitalised, so the option uses one common list of short articles, conjunctions and prepositions. Check your own guide for the final headline.

What are camelCase, snake_case and kebab-case?

They are ways to write several words as one name without spaces, used in code. camelCase joins words and capitalises each after the first (userName), PascalCase capitalises all of them (UserName), snake_case joins them with underscores (user_name), CONSTANT_CASE is snake_case in capitals (USER_NAME) and kebab-case joins them with hyphens (user-name).

Can it convert one code case into another?

Yes. Words are split on spaces, underscores, hyphens and capital letters, so myVariableName, my_variable_name and my-variable-name all give the same words. Acronyms are kept together when splitting, so XMLHttpRequest becomes xml_http_request.

What happens to punctuation and line breaks?

The text formats (upper, lower, title and sentence case) keep your punctuation, spacing and line breaks. The code formats drop punctuation, and convert each line on its own, so a list of names stays a list.

Does it work with accented and non-Latin letters?

Yes for scripts that have upper and lower case, such as Latin with accents, Greek and Cyrillic. Scripts without case, such as Chinese, Japanese and Arabic, are left as they are. Some letters change length: the German ß becomes SS in upper case.

Is my text uploaded anywhere?

No. The conversion happens in your browser and your text is never sent to a server.