Text Tools

Case Converter

Rewrite text as upper, lower, title, sentence, camel, Pascal, snake, kebab, or constant case.

Case Converter workspace

How to use it

Paste text and choose Convert. The result lists every case at once so you can copy the line you need. Reset reloads the example. Clear empties the box.

Example

One phrase is shown in every supported case.

Input

hello world

Result

upper: HELLO WORLD
lower: hello world
title: Hello World
sentence: Hello world
camel: helloWorld
pascal: HelloWorld
snake: hello_world
kebab: hello-world
constant: HELLO_WORLD

How it works

Title case capitalizes words. Sentence case lowercases the text, then capitalizes the first letter and letters that follow . ! or ?. Camel, Pascal, snake, kebab, and constant case split on spaces, punctuation, and the boundary between a lowercase and uppercase letter.

Common errors

  • camelCase stayed lowercase The first word of camel case is intentionally lowercase. Pascal case capitalizes it.
  • An apostrophe looks odd in title case Title case here capitalizes letter runs. It is not a publisher house style.

Limitations

The converter does not translate. It does not special-case brand names such as iPhone beyond the lowercase-to-uppercase boundary. Locale-specific casing follows the browser.

Privacy

The text you paste is processed in your browser. PepsTools does not receive it, store it, or send it to another service.

Questions

Can I convert only one style?

Every style is listed. Copy the line you want.