Case Converter Free Online

Free online text case converter. Convert to UPPERCASE, lowercase, Title Case, camelCase, snake_case and more.

0 characters
Select a case conversion above...

Case types explained

  • UPPERCASE — All letters capitalized
  • lowercase — All letters lowercase
  • Title Case — First letter of each word capitalized
  • Sentence case — First letter of each sentence capitalized
  • camelCase — Programming variable style
  • snake_case — Python/Ruby variable style
  • kebab-case — CSS class / URL style
  • Inverse — Swap upper and lower case
  • url-slug — URL-friendly lowercase with hyphens

Text case conversion comes up constantly across writing, programming, data work, and content creation. You might paste product names from a spreadsheet into a web form and need them all in Title Case. You might copy variable names from Python code and need to convert them to camelCase for JavaScript. You might have a block of ALL CAPS text from an old document and need it in readable lowercase. Or you might need to capitalise the first letter of every sentence in a bulk piece of content. This free text case converter handles all of these transformations instantly and works on any amount of text.

How to Use the Text Case Converter

1

Paste or type your text

Click the input area and type your text, or paste it using Ctrl+V (Cmd+V on Mac). The converter works with any text - single words, sentences, paragraphs, bullet lists, or entire documents. There is no length limit and the conversion is instant regardless of how much text you paste.

2

Click your target case format

Choose from the available case conversion buttons: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Each button applies the transformation immediately and displays the result in the output panel. You can try multiple conversions to compare the options.

3

Copy the result

Click the Copy button to copy the converted text to your clipboard. The original text remains unchanged in the input area, so you can try a different conversion without re-pasting. Use the Clear button to start with new text.

All Case Formats Explained

Understanding when to use each case format helps you pick the right one for your needs:

UPPERCASE - all letters are capitalised. Used for acronyms (NASA, HTML, CSS), emphasis, headings in certain design contexts, and some legal text. When used for entire paragraphs it can be perceived as shouting in digital communication contexts.

lowercase - all letters are lowercased. Used for email addresses, URLs, certain brand names (lowercase branding is a design trend), and plain prose that needs normalised case before further processing.

Title Case - the first letter of each word is capitalised. Used for headlines, article titles, book titles, product names, menu items, and any text that is being used as a heading or label. Note that strict title case rules (used in publishing) have exceptions for short prepositions and articles, but this tool applies simple title case which capitalises every word.

Sentence case - only the first letter of each sentence is capitalised, exactly like normal prose. Used for converting title-cased or all-caps text back into readable paragraph form, for social media captions, and for any body text that has been incorrectly cased.

camelCase - words are joined together with no spaces, the first word is lowercase, and each subsequent word starts with a capital letter (e.g. myVariableName). Used in programming: JavaScript variables and functions, Java variables, Swift properties, and many other languages follow camelCase conventions.

PascalCase (also called UpperCamelCase) - like camelCase but the first word also starts with a capital letter (e.g. MyClassName). Used for class names in most object-oriented programming languages including Java, C#, Python, and Swift.

snake_case - words are joined with underscores, all lowercase (e.g. my_variable_name). Used in Python for variables, functions, and file names. Also common in database column names and configuration file keys.

kebab-case - words are joined with hyphens, all lowercase (e.g. my-component-name). Used in HTML attributes, CSS class names, URL slugs, and file names in web development. Also common in command-line tool flags.

CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) - words are joined with underscores, all uppercase (e.g. MAX_RETRY_COUNT). Used for constants and environment variables in most programming languages.

Common Use Cases for Case Conversion

Fixing copy-pasted text - text copied from PDFs, old documents, or typed in all caps often needs to be converted to a readable case format. Paste the text and apply Sentence case or Title Case to make it usable immediately.

Preparing variable names for code - when you have a list of field names or column headers from a spreadsheet that need to become variable names in code, case conversion lets you convert them in bulk. Convert "First Name" to "firstName" (camelCase) or "first_name" (snake_case) with one click.

Formatting blog post and article titles - headline capitalisation is a common source of inconsistency. Apply Title Case to ensure all your article headlines follow a consistent style.

Creating URL slugs - convert article titles or product names to kebab-case for use in URLs (e.g. "How to Download TikTok Videos" becomes "how-to-download-tiktok-videos").

Cleaning CSV and database data - inconsistent case in datasets (some entries in "ALL CAPS", some in "Title Case", some in "mixed case") can be normalised quickly by pasting the data and converting to a consistent format.

Frequently Asked Questions

What case conversion formats are available?
The converter supports: UPPERCASE (all caps), lowercase (all small), Title Case (first letter of each word capitalised), Sentence case (first letter of each sentence capitalised), camelCase (joined words, first word lowercase), PascalCase (joined words, all capitalised), snake_case (words joined with underscores, lowercase), kebab-case (words joined with hyphens, lowercase), and CONSTANT_CASE (words joined with underscores, all caps). All conversions are instant and work with any amount of text.
Can I convert large blocks of text?
Yes. The converter handles text of any length - from single words to entire articles, books, or datasets - and transforms it instantly in your browser. There is no size limit and the conversion speed is unaffected by the length of the input text because all processing happens locally in JavaScript.
Does it preserve line breaks and formatting?
Yes. All line breaks, paragraph spacing, and whitespace are preserved during conversion. Only the case of alphabetic characters is changed - punctuation, numbers, spaces, and special characters remain exactly as they were in the original text.
What is the difference between Sentence case and Title Case?
Title Case capitalises the first letter of every word (e.g. "The Quick Brown Fox Jumps"). Sentence case capitalises only the first letter of the first word in each sentence, leaving all other words lowercase unless they are proper nouns (e.g. "The quick brown fox jumps"). Sentence case looks like normal prose while Title Case looks like a heading or title.
What is camelCase used for in programming?
camelCase (e.g. myVariableName, getUserData, calculateTotalPrice) is used in JavaScript for variables, functions, object properties, and method names. Java and Swift also use camelCase for variables and methods. The convention comes from the visual resemblance to a camel's humps created by the capitalised letters within the word. PascalCase (MyClassName) is used for class names in most object-oriented languages.
Is my text sent to a server?
No. All text conversion happens entirely in your browser using JavaScript. Your text never leaves your device and is never sent to any server. This makes the tool safe for converting confidential text such as internal documents, client data, code with sensitive variable names, or any proprietary content you would not want transmitted online.