Case Converter

Paste your text and convert it to any case format in one tap.

About This Case Converter

Text case conversion is one of those small but frequently needed tasks that can eat up surprising amounts of time when done manually โ€” particularly with long documents or when switching between naming conventions in code. This free case converter handles nine of the most common formats instantly, with no sign-up, no limit on text length, and no data sent anywhere.

When to Use Each Case Format

UPPERCASE is used for emphasis, headings in some contexts, acronyms, and in programming for constants (MAX_VALUE, API_KEY). Use sparingly in prose as all-caps is associated with shouting in written communication. lowercase is the natural form for most writing and for many programming identifiers in languages like Python. Title Case capitalises the first letter of each significant word โ€” standard for book titles, article headlines, and product names in most English style guides. "Small words" like articles (a, an, the) and short prepositions (in, on, at, by) are often left lowercase in the middle of a title, though conventions vary.

Sentence case capitalises only the first word and proper nouns โ€” this is how normal prose works and is increasingly used for UI labels and button text in modern software design, as it reads more naturally than title case. camelCase joins words together with each new word capitalised except the first โ€” widely used for variable and function names in JavaScript, Java, Swift, and many other languages. PascalCase is the same but capitalises the first word too โ€” conventionally used for class names and component names in React, C#, and others.

snake_case uses underscores between words with all lowercase โ€” the standard in Python for variable and function names, and widely used in database column names, file names, and configuration keys. kebab-case uses hyphens instead of underscores โ€” the standard for URLs, CSS class names, and HTML attributes. aLtErNaTiNg case alternates between lower and uppercase letters โ€” primarily used for mockery or humour in internet culture (the "mocking SpongeBob" meme), though it also occasionally appears in stylised branding.

Frequently Asked Questions

What is the difference between title case and sentence case?

Title case capitalises the first letter of most words: "The Quick Brown Fox Jumps Over the Lazy Dog." Sentence case capitalises only the first word and proper nouns: "The quick brown fox jumps over the lazy dog." Modern web and app design tends to prefer sentence case for labels and UI text as it is easier to read and more consistent. Title case is more common in editorial contexts like book titles, newspaper headlines, and formal documents.

Which case should I use for programming?

It depends on your language and what you are naming. In JavaScript and Java, camelCase is standard for variables and functions, and PascalCase for classes. In Python, snake_case is the convention for variables and functions (per PEP 8), and PascalCase for classes. In CSS, kebab-case is standard for class names and custom properties. In SQL, column names are often written in snake_case. Database table names vary โ€” snake_case and PascalCase are both common. Following the convention of your language and codebase is more important than any individual preference.

Does this work for long documents?

Yes. There is no practical limit on the amount of text you can paste in. The conversion happens instantly regardless of length because it runs entirely in your browser with no upload or server processing. You can paste entire articles, scripts, or code files and convert them in one step.

Why might title case conversion differ from what I expect?

Title case has several competing conventions regarding which words to capitalise. Some styles capitalise every word; others leave short conjunctions, articles, and prepositions lowercase unless they start the title. This tool capitalises every word โ€” the broadest interpretation of title case. If you need AP Style, Chicago Style, or another specific convention, you may need to make minor manual adjustments to small words after converting.

Practical Uses for Case Conversion

Writers use case conversion to quickly reformat headings when switching style guides. Developers use it to convert natural-language descriptions into code identifiers โ€” a description like "user account balance" becomes userAccountBalance in camelCase, UserAccountBalance in PascalCase, user_account_balance in snake_case, or user-account-balance in kebab-case. Content managers use it to clean up pasted text from external sources that came in all-caps or with inconsistent capitalisation. Teachers and quiz makers use it to format question and answer text consistently. And data analysts use it to standardise column names and category labels before importing data into tools like SQL databases or spreadsheets.