Text ToolsA little help for every day

Search by name or task, such as JSON or percentage.

Text Tools

Case Converter: 10 Text Case Formats at Once

Paste text and get UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case together.

View all tools
ResultUpdates as you type
FormatResult
UPPERCASEHELLO WORLD EXAMPLE TEXT
lowercasehello world example text
Title CaseHello World Example Text
Sentence caseHello world example text
camelCasehelloWorldExampleText
PascalCaseHelloWorldExampleText
snake_casehello_world_example_text
CONSTANT_CASEHELLO_WORLD_EXAMPLE_TEXT
kebab-casehello-world-example-text
dot.casehello.world.example.text

How to use Case Converter: 10 Text Case Formats at Once

Paste or type text in the box. All ten formats appear side by side in a table as you type, so you can copy the one you need without choosing a mode first.

  1. Paste your textEnter a phrase, heading, variable name or several lines of text in the input box.
  2. Compare the formatsThe table lists ten versions, from UPPERCASE and Title Case to camelCase, snake_case and kebab-case.
  3. Copy the resultSelect the row you need, or use Copy result to copy the whole table.

How words are split for code-style cases

For camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case the text is first broken into words. Spaces, punctuation, underscores and hyphens all count as separators, and a change from lower to upper case starts a new word, so getHTTPResponse code becomes get_http_response_code, getHttpResponseCode and get-http-response-code. Letters and digits stay together, so v2 remains one word. Punctuation is dropped from these formats, which makes them handy for turning a heading into a variable name, a CSS class or a URL slug.

Title Case and Sentence case limits

Title Case here capitalises the first letter of every word and lowercases the rest, so small words such as of and the are capitalised too, and brand names like iPhone become Iphone. Sentence case lowercases everything, then capitalises the first letter of the text and the first letter after a full stop, question mark or exclamation mark. Names, acronyms and the pronoun I lose their capitals, so check proper nouns before pasting the result into a headline. UPPERCASE and lowercase change letters only and keep punctuation and line breaks.

Accuracy and data handling

Before copying the output, check names, punctuation and the intended meaning against the source text. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

What is the difference between camelCase and PascalCase?

Both join words without spaces and capitalise each word, but camelCase keeps the first word lowercase (userName) while PascalCase capitalises it too (UserName). PascalCase is common for class names, camelCase for variables.

How do I convert snake_case to camelCase?

Paste the snake_case name, for example user_account_id, and read the camelCase row: userAccountId. Underscores and hyphens are treated as word breaks, so kebab-case input works the same way.

Does it handle accented letters and other alphabets?

Yes. Word splitting uses Unicode letter classes, so café, naïve, Greek and Cyrillic words stay intact and change case correctly. Scripts without capital letters, such as Chinese, pass through unchanged.

More Text Tools

Related tools