Case Converter

Convert text between 15 case styles — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, Toggle Case, and more. Pick a style from the dropdown and the result updates instantly. Everything runs in your browser.

Your Text

Paste or type — choose a case style below
Pick a style from the dropdown — the result updates instantly. Your text stays in your browser.

Converted Output

—
Words
0
Characters
0
Lines
0

Your converted text will appear here

Paste some text and choose a case style from the dropdown.

What does the Case Converter do?

This free online case converter changes the capitalisation of your text. Paste any block of text, pick a case style from the dropdown, and the tool instantly converts it to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, and ten other common formats.

Unlike simple tools that only handle one or two conversions, this case converter covers everything you need in one place — from every-day writing tasks like fixing headings and titles, to developer tasks like converting variable names between camelCase and snake_case.

Everything runs locally in your browser using JavaScript. The text you paste never leaves your device — there is no server processing, no logging, and no data storage. Close the tab and it's gone.

How to use the Case Converter

  1. Paste or type your text: Drop any text into the input box on the left. It can be a heading, a paragraph, a variable name, a URL slug, or a full document.
  2. Pick a case style from the dropdown: The Case Style dropdown groups all 15 styles into 4 categories — Writing, Fun / Utility, Programming, and Other. Pick the one you need and the conversion happens instantly.
  3. Review the result: The output panel shows the converted text along with live word, character, and line counts. You can switch between case styles without retyping.
  4. Copy or download: Use the Copy Output button to grab the converted text, or download it as a .txt file.
Shortcut: Press Ctrl + Enter (or Cmd + Enter on Mac) inside the input box to copy the converted output instantly.

Why use this Case Converter?

15 case styles

UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, dot.case, Toggle, Alternating, Inverse, Capitalize Words, and No Case — all in one dropdown.

Instant conversion

Pick a style and the result appears immediately. No button to press, no page refresh, no waiting.

Built for developers

camelCase, PascalCase, snake_case, kebab-case, and SCREAMING_SNAKE_CASE are all included — great for converting identifiers and variable names.

Built for writers

Title Case and Sentence case handle heading and title formatting with the same rules as Word and Google Docs.

100% private

Everything runs in your browser. The text you paste never leaves your device — no server, no logs, no tracking.

Works on mobile

Fully responsive design. Convert case on your phone, tablet, or desktop — no app install required.

All 15 case styles explained

StyleExampleBest for
UPPERCASETHE QUICK BROWN FOXHeadings, emphasis, labels, code constants
lowercasethe quick brown foxCasual text, removing styling, normalising input
Title CaseThe Quick Brown FoxBook titles, articles, headings, blog post titles
Sentence caseThe quick brown foxNormal prose, lists, captions, subtitles
Capitalize WordsThe Quick Brown FoxNames, labels, headings where every word is capitalised
Toggle CasetHE qUICK bROWN fOXPranks, testing, generating mixed-case strings
Alternating CasetHe qUiCk bRoWn fOxMeme text, sarcastic commentary (sPoNgEbOb case)
Inverse Casethe QUICK brown FOXFlipping the case pattern of already-styled text
camelCasetheQuickBrownFoxVariables in JavaScript, Java, Kotlin, Swift, TypeScript
PascalCaseTheQuickBrownFoxClass names, React components, public APIs
snake_casethe_quick_brown_foxPython variables, Ruby methods, SQL columns
kebab-casethe-quick-brown-foxURL slugs, CSS class names, HTML attribute names
SCREAMING_SNAKE_CASETHE_QUICK_BROWN_FOXConstants in C, Python, Java, Go, Rust
dot.casethe.quick.brown.foxConfig keys, namespaced identifiers, Java packages
No Casethe-quick-brown-foxClean slug generation with hyphens between words

Title Case vs Sentence case — which should you use?

These two styles look similar but follow different rules, and choosing the wrong one for a heading or title can look unprofessional. Here's the short version:

  • Sentence case capitalises only the first letter of the first word, plus proper nouns. It's the standard for most modern prose, web copy, captions, subheadings, and body text. Example: The quick brown fox jumps over the lazy dog.
  • Title Case capitalises the first letter of every major word — nouns, verbs, adjectives, adverbs — and leaves short articles, conjunctions, and prepositions lowercase (unless they start or end the title). It's the standard for book titles, article titles, headlines, and blog post titles. Example: The Quick Brown Fox Jumps Over the Lazy Dog.

Style guides disagree on exactly which short words to leave lowercase. Most follow the rule: a, an, and, as, at, but, by, for, in, nor, of, on, or, per, the, to, up, via, and similar short words stay lowercase unless they are the first or last word. This tool follows that convention.

Programming case conventions at a glance

If you write code in more than one language, this table is a handy cheat-sheet for which case style belongs where:

Language / contextConventionExample
JavaScript / TypeScript variablescamelCaseuserName
JavaScript / TypeScript classesPascalCaseUserProfile
Python variables / functionssnake_caseuser_name
Python classesPascalCaseUserProfile
Python constantsSCREAMING_SNAKE_CASEMAX_RETRIES
Java / Kotlin / C# variablescamelCaseuserName
Java / Kotlin / C# classesPascalCaseUserProfile
SQL columnssnake_caseuser_name
CSS class nameskebab-case.user-profile
HTML / Vue attributeskebab-casedata-user-name
URL slugskebab-case/user-profile
Java package namesdot.case (lowercase)com.example.app
Environment variablesSCREAMING_SNAKE_CASEDATABASE_URL
React component filesPascalCaseUserProfile.jsx
Angular fileskebab-caseuser-profile.component.ts

The exact convention varies by project and style guide, but the table above reflects the most widely used defaults in each ecosystem.

Common use cases for the Case Converter

1. Fixing accidentally-caps-locked text

If you accidentally type with Caps Lock on, paste the text into this tool and pick lowercase or Sentence case to fix it in one click. No need to retype anything.

2. Formatting headings and titles

Copy a headline, pick Title Case, and paste it back. This is especially useful when you need consistent title formatting across a document, or when you're preparing blog posts and article headers.

3. Converting between programming naming conventions

Got a variable in snake_case that needs to be camelCase for JavaScript? Paste it and pick the target style. The tool handles multi-word conversions correctly, including handling existing separators.

4. Creating URL slugs

Copy a heading like "How to Write a Blog Post in 2025" and convert it to kebab-case to get how-to-write-a-blog-post-in-2025 — ready to paste into a URL field.

5. Standardising data before import

If you're importing a list of names, tags, or categories into a system that expects a specific case format, run everything through this tool first. It avoids manual retyping and catches mistakes.

6. Preparing social media captions

Use Alternating Case (sPoNgEbOb case) for meme captions, UPPERCASE for emphasis, or Title Case for polished headlines. All in one click.

7. Cleaning up imported CSV / Excel data

Data exported from spreadsheets often has inconsistent capitalisation. Paste it in, convert to Title Case or UPPERCASE, and re-import to get a clean list.

Tips and best practices

  • Watch proper nouns in Sentence case. This tool does not detect proper nouns, so converting everything to Sentence case will lowercase names like London or iPhone. Check the output and fix names manually.
  • Title Case short words. Short prepositions and articles stay lowercase in Title Case (per most style guides), but the first and last words of the title are always capitalised.
  • Acronyms in Title Case. Words that are already fully uppercase (like NASA or SQL) are kept as-is.
  • Hyphenated words. In Title Case, hyphenated words like state-of-the-art are handled so that only the first part is capitalised, matching most style guides.
  • Mixed-case inputs. If your input has unusual casing like iPhone or eBay, the converter will treat them as normal words. Review the output if this matters.
  • Non-Latin scripts. CJK characters and other scripts without case have no case to convert, so they pass through unchanged. Cyrillic and Greek are handled correctly.
  • Copy vs. download. If you need to paste the result somewhere else, use Copy. If you want to keep it as a file, use Download.

Related tools you might need

Privacy, accuracy, and limits

Privacy: Nothing you paste into this case converter is sent to a server. The whole conversion engine is a JavaScript function that runs entirely in your browser tab. There is no upload, no queue, no analytics event that includes your text, and no server-side log.

Accuracy: The tool follows standard rules for each case style and matches how most style guides and programming conventions handle capitalisation. Some edge cases — Turkish dotted/dotless I, unusual acronyms, proper nouns in Sentence case — may need a manual review.

Limits: There is no hard limit on input size. Because everything happens in-browser, the practical limit is your device's memory. Text of several megabytes processes in well under a second on a modern browser.

Frequently asked questions

A case converter changes the capitalisation of your text. It can turn everything into UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, and many other styles, either for one block of text or line by line.
The tool supports 15 case styles: UPPERCASE, lowercase, Title Case, Sentence case, Capitalize Words, Toggle Case, Alternating Case, Inverse Case, camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, dot.case, and No Case.
Title Case capitalises the first letter of every major word (e.g. The Quick Brown Fox), with short words like a, an, the, and, of often left lowercase. Sentence case capitalises only the first letter of each sentence (e.g. The quick brown fox), just like normal writing.
camelCase joins words together with the first word lowercase and the first letter of every following word capitalised, with no spaces. Example: myVariableName. It is common in JavaScript, Java, and many other programming languages.
snake_case joins words with underscores and keeps everything lowercase. Example: my_variable_name. It is common in Python, Ruby, and SQL databases.
kebab-case joins words with hyphens and keeps everything lowercase. Example: my-variable-name. It is common in CSS class names, URLs, and HTML attributes.
Yes. Accented Latin characters (é, ñ, ü) are correctly uppercased and lowercased. CJK characters, Cyrillic, and Greek work for lowercase, uppercase, and title case too. Some special cases like Turkish dotless ı are not handled, so check your output if that matters.
No. Everything runs in your browser using JavaScript. The text you paste never leaves your device, and there is no server logging or storage.
Yes, completely free. No signup, no watermark, no hidden charges. Use it as often as you need for personal or professional work.
Yes. Once the page loads, the Case Converter works without an internet connection. All conversions happen locally in your browser.
Toggle Case flips the case of every letter. Uppercase letters become lowercase and lowercase letters become uppercase. The character positions do not change — only the case of each existing letter is inverted.
Alternating Case (also called sPoNgEbOb case) alternates between lowercase and uppercase for each character, producing text like tHiS iS sOmE tExT. It is often used for memes and sarcastic commentary.
For most cases, yes. Title Case treats an already-capitalised word as-is, and camelCase/PascalCase/snake_case/kebab-case treat acronyms as single words. If your text has unusual capitalisation (like iPhone or eBay), review the output before pasting it into code.
Yes. Copy the text from the source, paste it into the input box, choose a case style from the dropdown, and copy the converted result. If the pasted text has stray line breaks or non-breaking spaces, run it through the Text Cleaner first for the cleanest result.