Text Case Converter

Convert text to uppercase, lowercase, title case, sentence case and more.

Input
Output

                        

About Text Case Converter

Convert text between different case formats. Transform your text to uppercase, lowercase, title case, or sentence case.

Common Use Cases:

  • Formatting titles and headings
  • Normalizing text data
  • Preparing text for display
  • Text data processing

Developers: see the CI/CD & pipeline guide. More tutorials: guides hub · by Nalla.

Text case conventions, when they matter and why

Case conventions determine readability and convey meaning across different contexts. In prose and UI copy, the choice between title case and sentence case affects tone: "Click the Submit Button" feels like 1990s software; "Click the submit button" reads naturally in modern interfaces. Most design systems (Google's Material Design, Apple's HIG, Microsoft's Fluent) standardise on sentence case for UI labels and title case only for formal headings. In code, case conventions are non-optional in most languages, using the wrong convention produces code that fails style reviews even when it runs correctly.

ConventionExampleStandard use
camelCasegetUserByIdJS/TS/Java/C# variables and functions
PascalCaseUserProfileClasses, React components, C# types
snake_caseuser_profilePython, Ruby, SQL columns, URLs
kebab-caseuser-profileCSS classes, HTML attributes, URL paths
SCREAMING_SNAKEMAX_RETRY_COUNTConstants in most languages
Title CaseUser Profile PageDocument headings, proper names
Sentence caseUser profile pageUI labels, tooltips, error messages

Practical uses for a batch case converter

Common workflows: converting a list of database column names (snake_case) into display labels (Title Case) for a report; converting a block of copy that came from a client in ALL CAPS into sentence case for a webpage; normalising a set of variable names from one language convention to another during a codebase migration; generating both the display name and URL slug from a product name in a single paste-and-convert step. Paste the whole block, multiple lines are processed individually.

Related: URL encoder for encoding slug values, Code minifier.

Frequently Asked Questions

Title Case capitalizes the first letter of every word: "The Quick Brown Fox Jumps." Sentence case capitalizes only the first letter of the first word and proper nouns: "The quick brown fox jumps." Title case is used for headings, article titles, book titles, and navigation labels. Sentence case is used for body text, email subjects, and most UI labels in modern design systems.

CamelCase writes compound words with no spaces, capitalizing each word except the first: "myVariableName". It is the standard naming convention for variables and functions in JavaScript, Java, C#, Swift, and many other languages. PascalCase (every word capitalized: "MyClassName") is used for class names and components. snake_case (words separated by underscores) is standard in Python and Ruby.

Inconsistent casing causes matching failures in databases and code. "Apple", "apple", and "APPLE" are different strings, a database query for "apple" won't match "Apple" without case normalization. Lowercasing all text before comparing or storing is a fundamental data quality step in any data pipeline, search engine, or user authentication system.