Text Case Converter
Paste or type your text below, then click any conversion button. Results appear instantly. No data is sent anywhere — everything runs in your browser.
When to Use Each Text Case
Text case conventions exist for readability and to follow established standards in writing, programming, and design. Here is a quick guide to each conversion this tool offers and when you should use it.
UPPERCASE
All letters are capitalised. Use for headlines, acronyms, warning labels, or anywhere you want strong visual emphasis. In code, uppercase is the standard for constants and environment variables.
lowercase
All letters are lower case. Common for plain text, email addresses, URLs, and many programming contexts. Also useful for normalising input before comparison in code.
Title Case
The first letter of each word is capitalised. Standard for book titles, article headings, product names, and most English-language titles. This tool capitalises every word, including short conjunctions and prepositions — suitable for most practical uses.
Sentence case
Only the first letter of the entire text is capitalised (and letters after sentence-ending punctuation). This is the natural case for body text, social media posts, and most prose writing.
camelCase
Words are joined with no spaces, the first word is fully lowercase, and each subsequent word starts with a capital letter. The standard naming convention for variables and functions in JavaScript, Java, Swift, and many other languages.
PascalCase
Like camelCase but the very first letter is also capitalised. Used for class names, component names in React, and constructor functions. Also known as UpperCamelCase.
snake_case
Words are joined with underscores and all letters are lowercase. The dominant convention for variable and function names in Python, Ruby, and SQL column names.
kebab-case
Words are joined with hyphens and all letters are lowercase. Standard for CSS class names, HTML attributes, URL slugs, and file names in web projects.
CONSTANT_CASE
Words are joined with underscores and all letters are uppercase. The universal convention for named constants in most programming languages, including Python, JavaScript, C, and Java.
aLtErNaTiNg & iNVERSE cASE
These two playful transforms alternate the case of each character. Alternating case starts with lowercase; inverse case flips the case of every letter in the original input. Useful for memes, novelty text, and checking that your code is truly case-insensitive.