Free Online Case Converter

Advertisement · 728×90
Input Text
Words: 0 Characters: 0 Characters (no spaces): 0 Lines: 0
Convert To
Converted Output UPPERCASE
Result
Your converted text will appear here…
Advertisement · 336×280

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and more. Instant results, no signup needed.

What Is Text Case Conversion?

Text case conversion is the process of transforming a string of text from one capitalisation format to another. Every programming language, writing convention, and platform uses different case standards — a function name in Python looks nothing like one in JavaScript or a heading in a Word document. Case conversion tools like this one let you instantly switch between formats without manually retyping or editing every word.

Whether you are a developer naming variables, a writer formatting chapter titles, a student preparing a reference list, or a content editor standardising headings across a site, the right case format matters. Our free case converter handles ten different formats instantly — just paste your text, click the format you need, and copy the result.

When to Use Each Case Format

  • UPPERCASE — All letters are capitalised. Used for acronyms, ALL-CAPS emphasis, constants in some programming languages (MAX_VALUE), warning labels, and legal document headings.
  • lowercase — All letters are lowercase. Used in URLs, HTML attributes, CSS class names, email addresses, and general text normalisation for database storage.
  • Title Case — The first letter of every major word is capitalised. Used for book titles, article headings, movie names, and formal document titles in English.
  • Sentence case — Only the first letter of the first word is capitalised. Standard for body text, captions, UI labels, and general writing in American and British English.
  • camelCase — First word is lowercase, subsequent words start with uppercase, no spaces. The standard naming convention for JavaScript variables, Java methods, and Swift properties (firstName, getUserData).
  • PascalCase — Every word starts with uppercase, no spaces. Used for class names in most object-oriented languages including C#, Java, and TypeScript (UserProfile, OrderService).
  • snake_case — All lowercase, words separated by underscores. Standard for Python variables, functions, and file names, as well as database column names (user_id, created_at).
  • kebab-case — All lowercase, words separated by hyphens. Used in CSS class names, HTML attributes, URL slugs, and file names (main-header, blog-post-title).
  • AlTeRnAtInG cAsE — Letters alternate between uppercase and lowercase starting with uppercase. Used for mocking text in internet culture and social media. No practical professional use.
  • iNVERSE — Uppercase letters become lowercase and vice versa. Useful for quick reversal of accidental Caps Lock input.

Case Conventions for Developers

Programming style guides are strict about naming conventions, and mixing them causes code review failures and readability issues. Here is a quick reference for the most common languages:

  • Python (PEP 8) — Variables and functions use snake_case. Classes use PascalCase. Constants use UPPER_SNAKE_CASE.
  • JavaScript / TypeScript — Variables and functions use camelCase. Classes and constructors use PascalCase. Constants sometimes use UPPER_SNAKE_CASE.
  • CSS — Class names and IDs use kebab-case.
  • HTML — Attributes and data attributes use kebab-case.
  • SQL — Column names and table names typically use snake_case.
  • Go — Exported (public) names use PascalCase. Unexported (private) names use camelCase.

This case converter is particularly useful when copying names between languages — for example, converting a Python snake_case API response field name into a JavaScript camelCase variable, or converting a database column name into a TypeScript interface property.

Frequently Asked Questions

Yes. You can paste or type multiple lines and paragraphs. The converter processes the entire block of text and applies the chosen case format to all words. Line breaks are preserved in most formats.

This tool uses a simplified Title Case that capitalises every word. Style guides like the Chicago Manual of Style prescribe leaving short prepositions, conjunctions, and articles lowercase (unless they are the first or last word). For a quick formatting job, capitalising every word is the most predictable and widely understood approach.

For developer-friendly formats like camelCase, PascalCase, snake_case, and kebab-case, the converter strips leading and trailing whitespace, splits on spaces and common delimiters, and then joins the words in the target format. Punctuation is removed. This produces clean, identifier-safe output suitable for variable names and function names.

No. All text processing happens entirely in your browser using JavaScript. Nothing you type or paste is ever sent to our servers. Your text is completely private and disappears when you close the tab.

Yes. If you accidentally typed a paragraph in ALL CAPS with Caps Lock on, paste it here and click "Sentence case" or "lowercase" to fix it instantly. No need to retype anything.

The word count splits text by whitespace and counts non-empty tokens. The character count includes all characters including punctuation and spaces. The "Characters (no spaces)" count excludes space characters. These match the behaviour of standard word processors like Microsoft Word and Google Docs.

Related Free Tools

Advertisement · 336×280

Need a custom tool built for your business?

Get a Free Quote