Documents

Case Converter

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, CONSTANT_CASE and more. Useful for code, headlines, identifiers and form data.

Drop your file here

or click to choose from your device

Supported: txt · Max 5 MB

txt · 5 MB max

Going deeper

Cases for code and prose

Case conventions are the silent rules of text. Prose uses Sentence case (capitals at sentence starts) and Title Case (capitals on significant words in headlines). Code uses a wider range: camelCase (variables in JavaScript), PascalCase (classes in many languages), snake_case (variables in Python, Ruby, C), kebab-case (CSS classes, URLs, file names), CONSTANT_CASE (configuration values, enum values). Getting the case wrong is one of the most common cross-language bugs.

Title Case rules vary by style guide. The Chicago Manual of Style capitalizes all significant words (nouns, verbs, adjectives, adverbs, pronouns) but not articles, conjunctions, or short prepositions. The AP Stylebook is similar but treats some short words differently. We use a common-sense rule that capitalizes the first and last words and all words except articles, short prepositions and coordinating conjunctions — close to Chicago.

Code-case conversions are useful when refactoring between languages (Python snake_case to JavaScript camelCase) or normalizing user input (turning 'My Awesome Project' into 'my-awesome-project' for a URL slug). The tricky part is detecting word boundaries — 'camelCase' splits at the uppercase letter, 'PascalCase' splits the same way, 'snake_case' splits at the underscore, 'kebab-case' at the hyphen. We handle all of these.

What you get

Features

  • UPPERCASE, lowercase, Title Case, Sentence case

  • camelCase, PascalCase, snake_case, kebab-case

  • CONSTANT_CASE, dot.case

  • Copy result with one click

  • No data leaves your browser

Step by step

How to use

  1. 1

    Paste text into the box.

  2. 2

    Click any case button to convert.

  3. 3

    Copy the result.

Your privacy

How this tool handles your file

Case conversion happens entirely in your browser. No text is uploaded.

Read more about our security practices or see our privacy policy.

Frequently asked

Common questions

Looking for something else? Browse all tools or ask us to build one.