Text Case Converter

Paste or type text, choose a format — converts instantly. Supports camelCase, snake_case, PascalCase, kebab-case, and 8 more.

Free · No Signup
Converted
Select a case format to convert your text.
Export

Complete Guide to Text Case Formats

Converting text between different case formats is an everyday task for developers, writers, and content creators. This free online text case converter handles 12 distinct formats instantly — no signup required, and your text never leaves your browser.

Programming & Developer Formats

camelCase writes multi-word identifiers with the first word lowercase and each subsequent word capitalised: helloWorld. It's the standard convention for variable and function names in JavaScript, Java, Swift, Kotlin, and Dart.

PascalCase (also called UpperCamelCase) capitalises every word including the first: HelloWorld. Used for class names, React and Vue component names, TypeScript interfaces, and C# types.

snake_case joins words with underscores in lowercase: hello_world. It's the dominant convention in Python (PEP 8), database column names, REST API response fields, and Unix file names.

SCREAMING_SNAKE_CASE is uppercase snake_case: HELLO_WORLD. Used for constants, environment variables, and macros in Python, C, C++, shell scripts, and many other languages where constants are visually distinguished from variables.

kebab-case uses hyphens as separators in lowercase: hello-world. The standard for URLs, HTML data attributes, CSS class names, and npm package names. Also called "slug case" or "lisp-case".

dot.case separates words with dots in lowercase: hello.world. Found in Java package names, Spring Boot configuration keys (app.server.port), and some logging frameworks.

Editorial & Writing Formats

UPPER CASE capitalises every letter in the text. Use it for headings, acronyms, abbreviations, legal document labels, and wherever strong visual emphasis is needed.

lower case converts all characters to small letters. Useful for normalising strings before comparison in code, informal social media captions, and certain brand styleguides.

Title Case capitalises the first letter of every major word, following standard English headline rules. Minor words — articles (a, an, the), short prepositions (in, of, at, to, by), and coordinating conjunctions (and, but, or, nor) — are kept lowercase unless they open the title.

Sentence case capitalises only the first letter of each sentence, just like standard prose. Ideal for blog post titles written in a natural tone, email subject lines, product descriptions, and social media posts.

Fun & Stylistic Formats

aLtErNaTiNg CaSe alternates each character between uppercase and lowercase: hElLo WoRlD. A staple of internet culture, meme captions, and sarcastic commentary.

iNVERSE cASE flips every character's existing case — uppercase letters become lowercase, lowercase letters become uppercase. Useful for correcting text accidentally typed with Caps Lock on, or for creating a stylised opposite effect.

How to Use This Tool

  1. Type or paste your text into the input box on the left.
  2. Click the dropdown to choose a case format — the output appears instantly on the right.
  3. Click Copy to copy the converted text to your clipboard.
  4. Use the Upload File tab to process .txt, .rtf, or .docx documents entirely in your browser — no server upload.
  5. The Quick Copy row lets you copy any format with a single click without changing the active selection.

Frequently Asked Questions

How do I convert text to camelCase?
Paste or type your text in the input box, then click the "camelCase" option in the dropdown. The converter joins all words and capitalises the first letter of each word except the first one — instantly.
What is snake_case?
snake_case writes all words in lowercase separated by underscores (hello_world). It's widely used in Python, database column names, and file naming.
Can I convert a whole document?
Yes — click the "Upload File" tab inside the text input area to upload a .txt, .rtf, or .docx file. All processing happens in your browser; your file is never sent to a server.
What is the difference between camelCase and PascalCase?
In camelCase the first word is lowercase (helloWorld). In PascalCase every word including the first is capitalised (HelloWorld). PascalCase is also called UpperCamelCase.