Text Case
Converter —
Free Online
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, Alternating or Inverse — plus JSON key converter. One click, instant output.
Convert Text Case in 2 Steps
Paste Your Text
Click the text area and paste any text — a sentence, a list, variable names, a blog title, database column names, code identifiers or any string you need in a different case format. There is no word or character limit.
Click a Case Format
Click any of the 12 case buttons: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, Alternating or Inverse. The converted output appears instantly in the output box — click Copy or Swap to use it.
JSON Key Converter
Click the { } JSON Keys tab to convert all keys in a JSON object between camelCase, snake_case, PascalCase or kebab-case. Paste any valid JSON and click a format — all nested keys are converted recursively. Ideal for adapting APIs to different naming conventions.
Every Case Format — When & Why to Use Each
| Format | Example Output | Used For |
|---|---|---|
| UPPERCASE | HELLO WORLD |
SQL keywords, emphasis, acronyms, old-style headings, constant labels |
| lowercase | hello world |
Hashtags, email addresses, URL slugs, normalising data for database lookups |
| Title Case | Hello World |
Book titles, article headings, product names, proper nouns — follows AP/Chicago style (small words like "the", "and", "in" stay lowercase) |
| Sentence case | Hello world. How are you? |
General writing, correcting ALL-CAPS pasted text, normalising form input |
| camelCase | helloWorld |
JavaScript/TypeScript variables and functions, Java variables, JSON keys (standard convention), Swift variables |
| PascalCase | HelloWorld |
React/Vue/Angular component names, C# classes and types, Java classes, TypeScript interfaces |
| snake_case | hello_world |
Python variables and functions, database column names (PostgreSQL, MySQL), file names in Linux/Mac, Ruby variables |
| kebab-case | hello-world |
CSS class names, HTML data attributes, URL slugs, CLI flags (--my-flag), file names for web projects |
| CONSTANT_CASE | HELLO_WORLD |
Environment variables (.env files), constants in Python, Java, C/C++, configuration keys |
| dot.case | hello.world |
Java package names (com.example.app), property keys in configuration files, i18n translation keys |
| aLtErNaTiNg | hElLo WoRlD |
Mocking sarcastic tone (internet culture), creative typography, fun social media text |
| InVeRsE | hELLO wORLD |
Flip existing capitalisation — convert a CamelCase identifier to its inverse for testing, or stylistic effect |
Case Converter — WebToolTrix vs Excel, Google Sheets, VS Code, Extensions
| Feature | WebToolTrix | Excel / Sheets | VS Code | Browser Ext. |
|---|---|---|---|---|
| UPPER / lower / Title | ✔ | ✔ Formula | ✔ Command | ✔ |
| Sentence Case | ✔ | ⚠ Complex | ✘ | ⚠ Some |
| camelCase / PascalCase | ✔ | ✘ | ✔ Extension | ⚠ Some |
| snake_case / kebab-case | ✔ | ✘ | ✔ Extension | ⚠ Some |
| CONSTANT_CASE / dot.case | ✔ | ✘ | ⚠ Extension | ✘ |
| JSON Key Converter | ✔ | ✘ | ✘ | ✘ |
| No install / no account | ✔ | ✘ Paid | ✘ Install | ✘ Install |
| 100% private | ✔ | ✔ | ✔ | ⚠ Varies |
Text Case Converter Free Online — The Complete Guide to Every Case Format
A text case converter is one of those tools that developers, writers, SEO specialists and data analysts use dozens of times a day without thinking twice. Rename a database column from camelCase to snake_case. Fix text copied from a PDF that arrived in ALL CAPS. Prepare an article headline in proper Title Case. Convert a list of variable names to kebab-case for CSS. All of these take seconds with a free online case converter — and usually cost several frustrating minutes without one.
WebToolTrix's text case converter free online supports 12 different case formats in a single tool, plus a dedicated JSON key converter that recursively converts all keys in a JSON object. No account, no install, runs entirely in your browser.
Case Converter in Excel — UPPER(), LOWER(), PROPER()
Excel has three built-in text case functions. Together they cover the basics but miss developer-specific formats:
=UPPER(A1)— converts all text in cell A1 to UPPERCASE. Works in Excel, Google Sheets, LibreOffice and Apple Numbers.=LOWER(A1)— converts all text to lowercase.=PROPER(A1)— Title Case in Excel: capitalises the first letter of every word (including small words like "the", "and", "in"). Note that Excel's PROPER() doesn't follow AP/Chicago style — it capitalises every word including articles and prepositions. WebToolTrix's Title Case follows proper style rules.
For case converter in Excel tasks beyond these three — converting a column of human-readable labels to snake_case for database use, or converting API field names to camelCase — you need either a complex formula combination or a dedicated tool like WebToolTrix. The fastest method: paste the column data into WebToolTrix, click the target case, copy the output, and paste back into Excel.
UPPERCASE Converter — When ALL CAPS is the Right Choice
UPPERCASE is appropriate for: SQL reserved words (SELECT, WHERE, FROM), abbreviations and acronyms (NASA, API, URL), constant definitions in most programming languages, section headers in older typesetting conventions, and emphasis in plain-text communications where bold isn't available. Converting large blocks of text to UPPERCASE with WebToolTrix's upper case converter is instant — paste 50,000 words and click UPPERCASE.
Lowercase Converter — The Most Common Data Normalisation Step
Lowercase conversion is one of the most common pre-processing steps in data work. Before comparing strings, sorting, hashing or storing text in a database, normalising to lowercase eliminates case-sensitivity issues. WebToolTrix's lower case converter handles any text of any length. For hashtags (all platforms display them lowercase), email addresses (case-insensitive by standard), URL slugs and CSS class names, lowercase is the required format.
Title Case Converter — AP Style vs Chicago vs PROPER()
A title case converter or title case convertor capitalises the first letter of each "major" word in a title while keeping minor words (articles, short prepositions, coordinating conjunctions) in lowercase. The rules differ by style guide:
- AP Style: Capitalise words of 4+ letters. "Into" is capitalised; "a", "the", "and" are not.
- Chicago Style: More complex rules — verbs and adjectives are always capitalised regardless of length.
- Excel PROPER(): No style — capitalises every single word including "a", "the", "in".
- WebToolTrix Title Case: Follows standard AP/Chicago rule — common small words (a, an, the, and, but, or, for, nor, so, yet, as, at, by, in, of, on, to, up) remain lowercase unless they're the first or last word.
Sentence Case Converter — Fix ALL CAPS Emails and PDFs
The most common use for a sentence case converter is fixing text that was written in ALL CAPS or random capitalisation. Text copied from old scanned documents, legacy databases or shouted email chains often arrives in UPPER or MIXED case. Sentence case applies a single simple rule: capitalise the first letter of each sentence, lowercase everything else. WebToolTrix detects sentence boundaries at full stops, question marks and exclamation points, then applies the rule across each sentence in the entire pasted text.
camelCase Converter — For JavaScript, TypeScript and JSON
camelCase (also spelled camel case) starts with a lowercase letter and capitalises the first letter of each subsequent word — myVariableName. It's the standard for JavaScript variables, function names, JSON object keys and Java variables. WebToolTrix's camel case converter handles input from any starting format:
- From spaces:
my variable name→myVariableName - From snake_case:
my_variable_name→myVariableName - From kebab-case:
my-variable-name→myVariableName - From UPPER:
MY VARIABLE NAME→myVariableName
PascalCase Converter — For Classes and Components
PascalCase (also called UpperCamelCase) follows the same rule as camelCase but the first letter is also capitalised — MyComponentName. PascalCase is standard for: React, Vue and Angular component names; C# classes and interfaces; Java classes; TypeScript type aliases; C++ class names. The only difference from camelCase is the capitalisation of the first character.
snake_case Converter — Python, PostgreSQL and File Names
snake_case uses underscores between words with all letters lowercase — my_variable_name. It is the PEP 8 standard for Python variables, functions and module names. PostgreSQL uses snake_case for table and column names by convention. Linux/Mac file names traditionally use snake_case (though kebab-case is also common). WebToolTrix's snake_case converter correctly detects word boundaries from camelCase, PascalCase, spaces and hyphens before converting, so myVariableName, MyVariableName, my variable name and my-variable-name all produce my_variable_name.
kebab-case Converter — For CSS, URLs and HTML
kebab-case uses hyphens between words with all letters lowercase — my-class-name. This is the required format for CSS class names, CSS custom properties (--my-property), HTML data attributes (data-my-attribute), URL slugs (for SEO — hyphenated URLs are preferred by Google), CLI flags (--output-file) and most modern web project file names. The converter handles all naming convention sources as input, including camelCase variable names pasted directly from code.
CONSTANT_CASE Converter — Environment Variables and Config
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE or UPPER_SNAKE_CASE) is UPPERCASE with underscores — MY_CONSTANT_VALUE. It is the universal convention for: environment variables in .env files, configuration constants in Python (MAX_RETRY_COUNT), Java (static final fields), C/C++, Rust and most other languages. WebToolTrix converts from any format to CONSTANT_CASE by first extracting word boundaries, then joining with underscores and uppercasing everything.
JSON Case Converter — Rename All Keys at Once
API responses frequently come with keys in one naming convention when your codebase needs another. A REST API might return {"first_name": "John", "last_name": "Doe"} in snake_case, but your JavaScript front-end expects camelCase — {"firstName": "John", "lastName": "Doe"}. WebToolTrix's JSON key converter handles this transformation automatically:
- Paste any valid JSON (objects or arrays of objects)
- Click camelCase, snake_case, PascalCase or kebab-case
- All keys at all nesting levels are converted recursively
- Values are never modified — only key names change
- Invalid JSON shows an error message immediately
Case Converter Extension — Do You Need One?
Browser extensions for case conversion are useful for converting text directly on web pages without leaving the current tab. A case converter extension typically lets you select text on any page, right-click and choose a case format. The trade-off: extensions require installation and browser permissions, and some have limited case format support. WebToolTrix requires no extension or installation — just open the page and paste. For most users, a bookmarked browser tab is faster than managing an extension that rarely gets used.
Case Converter — Frequently Asked Questions
Other Free Text Editing Tools
Convert Text Case Free — Right Now
12 formats · JSON key converter · No word limit · No signup · 100% private · Always free.