Home/Text Tools/Case Converter

Free Case Converter Tool — 12 Text Cases, Instant Conversion Online (2026)

Convert any text into all 12 case formats simultaneously — UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, UPPER_SNAKE_CASE, dot.case, aLtErNaTiNg, and iNVERSE. Copy or download each result individually, or use Copy All to grab every format at once.

No signup required • 100% browser-based • No character limits

UPPER CASE

ALL LETTERS IN UPPERCASE

Enter text above to see conversion

lower case

all letters in lowercase

Enter text above to see conversion

Title Case

First Letter Of Each Word Capitalized

Enter text above to see conversion

Sentence case

First letter of each sentence capitalized

Enter text above to see conversion

camelCase

firstWordLowerRestCapitalized

Enter text above to see conversion

PascalCase

EachWordCapitalized

Enter text above to see conversion

snake_case

words_separated_by_underscores

Enter text above to see conversion

kebab-case

words-separated-by-hyphens

Enter text above to see conversion

UPPER_SNAKE_CASE

WORDS_UPPERCASE_UNDERSCORES

Enter text above to see conversion

dot.case

words.separated.by.dots

Enter text above to see conversion

aLtErNaTiNg

aLtErNaTiNg eVeRy LeTtEr

Enter text above to see conversion

iNVERSE cASE

Flips the case of every letter

Enter text above to see conversion

Sponsored

Sponsored banner

12 Case Formats

UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, UPPER_SNAKE_CASE, dot.case, aLtErNaTiNg, and iNVERSE — all at once.

Programming Conventions

Covers every major naming convention used in JavaScript, TypeScript, Python, Java, C#, CSS, Go, Rust, and SQL — with a reference table to pick the right format.

Copy & Download Each

Each of the 12 result cards has its own copy and download button. One click copies to clipboard; the download button saves the result as a plain-text .txt file.

Copy All at Once

Use the Copy All button to grab all 12 conversions as a labelled list in one clipboard action. Great for pasting into docs, Slack, or code reviews.

Instant Live Results

All 12 formats update in real time as you type or paste. No button to click — start typing and every card refreshes immediately.

100% Private

Your text never leaves your browser. Everything runs in client-side JavaScript — no server upload, no account required, no character limits.

What Is a Text Case Converter and Why Use One?

What Is Text Case?

Text case refers to the capitalisation pattern applied to letters in a word or phrase. Different contexts — programming, writing, design, and social media — follow different capitalisation conventions. Using the wrong case can cause syntax errors in code, look unprofessional in copy, or break CSS selectors and URL slugs.

When Do You Need a Case Converter?

  • Developers: Quickly reformat variable names, function names, or class names between conventions
  • Writers & Editors: Format article titles in Title Case or fix paragraphs typed in all-caps
  • Designers: Convert UI label text into valid CSS class names (kebab-case)
  • Database Admins: Standardise table and column naming from requirements docs
  • AI/LLM users: Convert AI-generated prose into valid identifier names for code
  • Social Media: Generate meme-style alternating case text for humorous posts

The 12 Supported Case Formats

This tool converts your text into all 12 formats simultaneously. Use the table below to identify the right format for your context.

FormatExamplePrimary Use Case
UPPER CASEHELLO WORLDHeadings, shouting, constants in some contexts
lower casehello worldFilenames, email addresses, plain text
Title CaseHello WorldArticle titles, book names, headings
Sentence caseHello worldBody text, paragraphs, UI labels, captions
camelCasehelloWorldJavaScript/Java/Swift variables and functions
PascalCaseHelloWorldClass names, React components, C# methods
snake_casehello_worldPython variables/functions, database columns
kebab-casehello-worldCSS classes, HTML IDs, URLs, slugs
UPPER_SNAKE_CASEHELLO_WORLDConstants in JS/Python/Java/C, environment variables
dot.casehello.worldJava packages, Python modules, config file keys
aLtErNaTiNghElLo WoRlDMeme text, social media, creative typography
iNVERSE cASEhELLO wORLDFun effect, flips existing capitalisation

Programming Naming Conventions by Language

Each programming language has its own established naming conventions. Using the correct case for each context improves readability and signals intent to other developers.

LanguageVariables / FunctionsClassesConstantsFiles
JavaScript / TypeScriptcamelCasePascalCaseUPPER_SNAKE_CASEkebab-case
Pythonsnake_casePascalCaseUPPER_SNAKE_CASEsnake_case
JavacamelCasePascalCaseUPPER_SNAKE_CASEPascalCase
C# / .NETcamelCasePascalCaseUPPER_SNAKE_CASEPascalCase
CSS / HTMLkebab-case
GocamelCasePascalCaseUPPER_SNAKE_CASEsnake_case
Rustsnake_casePascalCaseUPPER_SNAKE_CASEsnake_case
SQLsnake_caseUPPER_SNAKE_CASE

How to Use This Case Converter — Step by Step

  1. 1
    Paste or type your text into the input area. You can also click “Load Sample” to test the tool with example text before using your own content.
  2. 2
    View all 12 results instantly. Every case format updates in real time as you type. Each card shows the format name, a brief description, and the converted text in a monospace font.
  3. 3
    Copy or download your chosen format. Each card has its own copy icon (copies to clipboard) and download icon (saves as a .txt file). Click the copy icon and it briefly shows a checkmark to confirm.
  4. 4
    Use Copy All for bulk work. The Copy All button captures all 12 results as a labelled list (e.g., “UPPER CASE: HELLO WORLD”) — ideal for pasting into documents, sharing with a team, or comparing formats side by side.

Frequently Asked Questions

  • What is a text case converter?

    A text case converter is a tool that transforms text from one capitalisation format to another — for example, converting a sentence into camelCase for use as a JavaScript variable, or into snake_case for a Python function name. It eliminates manual typing and reduces errors when reformatting text for code, content, or design work. This tool supports 12 case formats and processes all of them simultaneously from a single input.

  • What is the difference between camelCase and PascalCase?

    Both camelCase and PascalCase join multiple words without spaces, capitalising the first letter of each word — except camelCase keeps the very first letter lowercase (helloWorld) while PascalCase capitalises every first letter including the first (HelloWorld). camelCase is used for variables and functions in JavaScript, Java, and Swift. PascalCase is used for class names, React components, and C# methods. Choosing the wrong one is a common source of naming convention bugs.

  • When should I use snake_case vs kebab-case?

    Use snake_case (words joined by underscores) for programming identifiers — especially in Python, where it is the official PEP 8 standard for function and variable names, and in database column names. Use kebab-case (words joined by hyphens) for CSS class names, HTML IDs, URL slugs, and file names — contexts where the hyphen reads as a word separator to both humans and search engines. Hyphens are invalid in most programming identifiers, so they're reserved for the web layer.

  • What is UPPER_SNAKE_CASE used for?

    UPPER_SNAKE_CASE (also called SCREAMING_SNAKE_CASE or CONSTANT_CASE) is the standard convention for declaring constants and environment variables. In JavaScript and TypeScript, constants like MAX_RETRIES or API_BASE_URL are written this way by convention. Python uses it for module-level constants. Many CI/CD tools and operating systems follow this pattern for environment variables (e.g., DATABASE_URL, NODE_ENV). The all-caps format visually signals to developers that the value should not change at runtime.

  • What is dot.case and where is it used?

    dot.case joins words with periods and uses all lowercase. It appears in Java package names (com.example.myapp), Python module paths (os.path.join), configuration file keys (server.port, database.host), and some logging systems. It is less common than kebab-case or snake_case in everyday web development but is essential in Java and enterprise software ecosystems. This tool converts any text to dot.case instantly.

  • What is alternating case?

    Alternating case (also called spongecase or mocking case) transforms text so that each character alternates between lowercase and uppercase — producing output like hElLo WoRlD. It originated as internet slang to mockingly imitate text and became widely used in memes (particularly the SpongeBob Mocking meme). It has no functional use in programming but is popular for humorous social media posts, stickers, and creative typography.

  • What is inverse case and when would I use it?

    Inverse case (also called toggle case or flip case) reverses the capitalisation of every letter — uppercase letters become lowercase and lowercase letters become uppercase. So 'Hello World' becomes 'hELLO wORLD'. It is occasionally used for creative text effects, pranks, or visual emphasis. It can also be handy when correcting text that was accidentally typed with Caps Lock on — just paste and flip.

  • Does the tool preserve punctuation and numbers?

    Yes. For case formats that only change letter capitalisation (UPPER CASE, lower case, Title Case, Sentence case, aLtErNaTiNg, iNVERSE), punctuation and numbers are completely preserved. For programming formats like camelCase, PascalCase, snake_case, and kebab-case, non-word characters are used as word boundaries and stripped during the join, as these formats require clean identifiers. Numbers embedded within words are generally retained.

  • Can I convert long paragraphs or just single words?

    You can convert any amount of text — from a single word to thousands of words. The tool processes your entire input in real time using browser-side JavaScript with no size limit. However, note that programming formats like camelCase and snake_case are designed for identifiers, so converting a long paragraph will produce a single long joined string. These formats are best used on short phrases intended as variable or function names.

  • What is sentence case and how is it different from title case?

    Sentence case capitalises only the first letter of the first word in a sentence (and proper nouns, if handled manually), treating the rest in lowercase — matching how normal prose sentences are written. Title Case capitalises the first letter of every word, making it suitable for article titles, book titles, and headings. Sentence case is the default for body text, social media captions, and UI labels. Title Case is used for formal headings, newspaper headlines, and marketing copy.

  • Why does converting to camelCase or snake_case remove spaces?

    Spaces are not valid characters in programming identifiers in most languages. camelCase, PascalCase, snake_case, kebab-case, UPPER_SNAKE_CASE, and dot.case all use a different delimiter (capitalisation, underscores, hyphens, or dots) to signal word boundaries, making spaces unnecessary and invalid. The converter splits your text on spaces and special characters, then rejoins the resulting words using the format's designated separator.

  • Is this case converter free to use?

    Yes, this Case Converter is completely free with no usage limits, no account required, and no text is sent to any server. All 12 case transformations happen instantly in your browser. You can copy individual results with one click, download them as .txt files, or use Copy All to grab every format at once as a formatted list — all at no cost.