Case Converter - Upper, Lower, Title, and Code Case
Convert text to uppercase, lowercase, sentence, title, or code cases with language, acronym, and line trim options.
🔒 Data Safety: We process everything securely and never store or share it.
How to Use
- Enter or paste your text, open a local file, or drop it into the input box.
- Choose a Case Mode and Language Rules above, then check Keep Acronyms or Trim Lines if needed.
- Review your converted text in real time, then copy or download it from the result box.
Options Explained
- Case Mode: Picks from seven writing cases including Sentence, lower, UPPER, Capitalized, Title, Inverse, and Alternating. It also converts words or variable names into camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, or dot.case. Capitalized Case capitalizes every word, while Title Case keeps minor words like "and" or "in" lowercase mid-title.
- Language Rules: Applies standard global letter casing by default, or switches to language-specific rules when needed. Turkish / Azeri preserves dotted İ and dotless ı, Dutch capitalizes IJ together, and Greek strips uppercase accents.
- Keep Acronyms: Keeps uppercase abbreviations such as API, JSON, UTF-8, or IDs intact (except the first word in camelCase). This option works in Sentence, Capitalized, Title, camelCase, and PascalCase modes, and disables itself in other modes.
- Trim Lines: Removes leading and trailing spaces, tabs, and Unicode whitespace from every line before case conversion. Leave it unchecked to keep your original code indentation, padding spaces, and spaces inside blank lines.
Key Features
- Convert between seven writing styles and six code cases including camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, and dot.case.
- Handle English contractions, French apostrophes, common abbreviations like Dr. or vs., and minor title words accurately.
- Keep uppercase acronyms like API, JSON, UTF-8, and APIs intact or split mixed-case variable names cleanly.
- Support Turkish dotted İ and dotless ı, Dutch IJ capitalization, Greek uppercase accent rules, and emojis.
- Preserve exact 1:1 row order and blank lines for spreadsheet lists, and optionally trim edge spaces per line.
- Show live converted line, word, character, and kept empty-line counts locally inside your browser with zero server storage.
About This Online Case Converter
The case converter is a client-side utility that converts multi-line text between writing cases and code naming formats. It detects word boundaries, contractions, uppercase acronyms, and language-specific letter rules while keeping your original line order intact.
Developed and maintained by the PU Tools team, this tool gives you fast, accurate, safe, and easy results in just a few clicks.
Common Use Cases
- Headline and Article Editing: Convert article headings and drafts into Title Case or Sentence case, or fix all-caps text.
- Code Variable and Column Naming: Convert plain field labels into camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, or dot.case for variables, CSS classes, and SQL columns.
- Multilingual Text Publishing: Apply Turkish, Azeri, Dutch, or Greek letter casing rules so names, cities, and headings keep proper regional spelling.
- Spreadsheet List Standardization: Normalize uppercase or lowercase customer names, product titles, and CSV columns line by line without shifting empty rows.
Example Input and Output
Example Input
the quick brown fox jumps on a lazy dog. l'été à paris & crème brûlée 🚀 check user's JSON & HTTP API keys
Options used: Case Mode: Title Case | Language Rules: Standard (Global) | Keep Acronyms: ON | Trim Lines: OFF
Example Output
The Quick Brown Fox Jumps on a Lazy Dog. L'Été À Paris & Crème Brûlée 🚀 Check User's JSON & HTTP API Keys
Title Case capitalizes major words while keeping minor words, French accents, uppercase acronyms, and the blank line intact.
Frequently Asked Questions
What is the difference between Title Case and Capitalized Case?
Capitalized Case capitalizes the first letter of every single word in your text. Title Case keeps minor words like "and" or "in" lowercase unless they appear first, last, or after colons.
How can I keep uppercase acronyms like API or JSON unchanged?
Enable the Keep Acronyms checkbox below the input box before converting your text. It keeps acronyms like API, JSON, and UTF-8 intact in Sentence, Capitalized, Title, camelCase, and PascalCase (except the first word in camelCase).
How does the tool convert between camelCase, snake_case, and kebab-case?
The converter splits words across spaces, underscores, hyphens, dots, and uppercase transitions automatically. It then rejoins those words on each line using the separator or casing of your chosen format.
When should I switch the Language Rules dropdown from Standard?
Choose Turkish / Azeri, Dutch, or Greek whenever your text follows regional alphabet casing rules. It keeps Turkish dotted İ and dotless ı, capitalizes Dutch IJ together, and strips accents from uppercase Greek.
Does converting multi-line text remove blank lines or shift row order?
No, the converter processes your text line by line and keeps every blank row in its original position. Your output line count always matches your input so pasted spreadsheet columns stay aligned row for row.
Are my text lines or variable names sent to any external server?
No, every case conversion runs directly inside your web browser memory on your own device. Your drafts, lists, and code snippets never leave your computer and are never stored anywhere.