Text Case Converter — Uppercase, Lowercase, Title Case and More Explained

Text case conversion is something developers, writers, marketers, and data teams do dozens of times a week — fixing inconsistent capitalisation in exported data, formatting titles correctly, converting database field names between naming conventions, or preparing content for different platforms. Doing it manually for anything more than a sentence is tedious and error-prone. A case converter handles it in one click.

Convert text between any case format instantly with our free Case Converter tool. For counting characters in your converted text, use our Character Counter. For removing duplicate lines from formatted data, our Duplicate Lines Remover pairs well with case conversion workflows.

The Main Case Formats and When to Use Each

UPPERCASE

Every letter is capitalised. ALL CAPS is used for: acronyms and abbreviations (NASA, HTML, API), emphasis in informal contexts, legal document headings and definitions, warning labels, and keyboard key names (CTRL, ALT, DELETE). In email and online communication, ALL CAPS is widely interpreted as shouting — use it sparingly in body text. For data processing, UPPERCASE is often used to normalise field values before comparison to avoid case-sensitivity issues.

lowercase

Every letter is lowercase. Used for: URL slugs, CSS class names, HTML attributes, email addresses, Unix filenames and command names, and database column names in many conventions. Lowercase is also the default for most programming identifiers in languages like Python. For SEO specifically, URL slugs should always be lowercase — our Slug Generator generates properly formatted lowercase slugs from any title.

Title Case

The first letter of each major word is capitalised. Minor words — articles (a, an, the), coordinating conjunctions (and, but, or), and short prepositions (in, on, at, by) — are usually lowercase unless they appear as the first or last word. Title case is used for: article headlines, book and film titles, product names, page headings, and any heading in formal documents. Different style guides (AP, Chicago, APA, MLA) have slightly different rules for which words to capitalise.

Sentence case

Only the first letter of the sentence is capitalised, plus proper nouns. This is how normal sentences are written in body text. Many modern brands and user interfaces have moved toward sentence case for headings and button labels — it feels more conversational and is easier to read than title case for longer phrases. Google's Material Design guidelines recommend sentence case for most UI text.

camelCase

The first word is lowercase, subsequent words start with uppercase, no spaces. Used for: JavaScript variable names (myVariableName), JSON property keys, and many programming languages. lowerCamelCase (starting lowercase) is the most common variant. UpperCamelCase (also called PascalCase, starting uppercase) is used for class names in most object-oriented languages.

snake_case

Words are all lowercase, separated by underscores. Used for: Python variable and function names, database column names, file names in many Unix conventions, and REST API field names in many APIs. SQL column names are conventionally snake_case. The choice between camelCase and snake_case is often determined by language convention — Python uses snake_case, JavaScript uses camelCase.

kebab-case

Words are all lowercase, separated by hyphens. Used for: URL slugs, HTML attribute names, CSS class names, and file names in web projects. "kebab-case" is the preferred format for anything that will appear in a URL, because hyphens are word separators in Google's index while underscores are not.

Convert text to any case format instantly — uppercase, lowercase, title case, camelCase and more

Try Case Converter Free →

Case Conversion in Programming

JavaScript

"hello world".toUpperCase() gives "HELLO WORLD" "HELLO WORLD".toLowerCase() gives "hello world" For title case, there is no built-in method — you need a custom function or library like lodash's _.startCase(). For camelCase conversion: lodash provides _.camelCase("hello world") giving "helloWorld".

Python

"hello world".upper() gives "HELLO WORLD" "HELLO WORLD".lower() gives "hello world" "hello world".title() gives "Hello World" (capitalises after any non-letter, including apostrophes — "it's" becomes "It'S" which is a known quirk) "hello world".capitalize() gives "Hello world" (only first character capitalised)

CSS

text-transform: uppercase converts display to uppercase without changing the underlying HTML. text-transform: lowercase converts display to lowercase. text-transform: capitalize converts the first letter of each word to uppercase. This is display-only — the actual HTML content is unchanged. Screen readers read the original text, not the transformed display.

Frequently Asked Questions

Title case capitalises the first letter of each major word in a heading or title. Sentence case capitalises only the first letter of the sentence plus proper nouns. Title case is traditional for formal headings and published titles. Sentence case is increasingly preferred in modern UI design and conversational content because it reads more naturally and is less visually heavy. Most major tech companies including Google, Apple, and Microsoft use sentence case in their product interfaces.
A text case converter online is a free tool that quickly changes your text into different formats, such as uppercase, lowercase, title case, sentence case, or capitalized case.
Select the text you want to convert, then press Shift+F3 to cycle through lowercase, UPPERCASE, and Title Case. Alternatively, go to Home tab and click the Change Case button (Aa icon) in the Font group for a dropdown with all case options. On Mac, the shortcut is the same: Shift+F3. In Google Docs, go to Format → Text → Capitalisation for the same options.
CamelCase joins multiple words without spaces, capitalising the start of each word except the first (lowerCamelCase) or including the first (UpperCamelCase or PascalCase). It is the standard naming convention in JavaScript for variables and functions, in Java for variables and methods, and in many JSON APIs for property names. UpperCamelCase is used for class names in Java, C#, JavaScript, and most object-oriented languages. The name comes from the humps created by the capital letters.
Always. URL slugs should always be lowercase for three reasons: URLs are technically case-sensitive on most servers, meaning /My-Page and /my-page can be treated as different URLs causing duplicate content issues; many users type URLs in lowercase and would get a 404 error if the URL requires uppercase; and Google recommends lowercase URLs. Use our Slug Generator to create properly formatted lowercase URL slugs from any title automatically.
Scroll to Top
Checker Tools