Free Online Case Converter
Input Text
Convert To
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 usePascalCase. Constants useUPPER_SNAKE_CASE. - JavaScript / TypeScript — Variables and functions use
camelCase. Classes and constructors usePascalCase. Constants sometimes useUPPER_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 usecamelCase.
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
Related Free Tools
Need a custom tool built for your business?
Get a Free Quote