Text Case Converter
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and more text formats instantly.
Text Input
No text entered
Conversion Results
Enter some text and click Convert to see all case conversions
About Text Case Converter
A text case converter is a versatile formatting tool that transforms text between different case styles including uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, and kebab-case. This tool ensures consistent text formatting across different platforms and coding standards.
Why use a Text Case Converter?
Using a text case converter eliminates manual formatting errors and saves significant time when working with large amounts of text or code. It ensures consistency in naming conventions, improves readability, and helps maintain professional standards across different programming languages and documentation formats.
Who is it for?
This tool is essential for programmers converting variable names between different coding conventions, content creators formatting headings and titles, technical writers maintaining consistent documentation, data analysts preparing datasets, and anyone who needs to quickly transform text formatting for different use cases.
How to use the tool
Enter or paste your text into the input field
Select the desired case format from the available options
View the instantly converted text in your chosen format
Copy the formatted text for use in your project
Switch between different case formats as needed
Frequently Asked Questions
How do I convert text case?
Paste text and choose the target case: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or alternating case. The tool converts instantly. Copy the result. Useful for: formatting code identifiers (different conventions per language), titles for blog posts (Title Case), database column names (snake_case), CSS class names (kebab-case). Runs entirely in your browser.
What are the different case conventions?
**camelCase** — first word lowercase, subsequent capitalized (JavaScript variables: `userName`). **PascalCase** — every word capitalized (class names: `UserName`). **snake_case** — lowercase with underscores (Python variables, database: `user_name`). **kebab-case** — lowercase with hyphens (CSS classes, URL slugs: `user-name`). **CONSTANT_CASE** — uppercase with underscores (constants: `USER_NAME`). **Title Case** — every major word capitalized (book titles: 'A Tale Of Two Cities' — this tool capitalizes every word, including minor ones like 'of'). **Sentence case** — first letter capitalized, rest lowercase (regular prose). Each language and framework has conventions.
Is my text sent to a server?
No — case conversion runs entirely in your browser via JavaScript string methods. Your text never reaches a server, never gets logged. Verify in DevTools' Network tab: zero HTTP requests during conversion. Safe for sensitive content.
What's the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word: 'A Tale Of Two Cities' (style guides usually keep minor words like 'a', 'of' lowercase; this tool does not). Sentence case capitalizes the first letter of each sentence and lowercases the rest, including proper nouns: 'A tale of two cities'. Both modes lowercase the rest of each word, so an acronym such as NASA becomes Nasa; restore acronyms by hand afterwards. Title Case for headlines, titles, names. Sentence case for normal prose. Different style guides have different rules (AP Style: capitalize words 4+ letters in titles; Chicago Manual: capitalize all 'major' words; APA: capitalize first letter only).
When should I use snake_case vs camelCase vs kebab-case?
Language conventions. **JavaScript/TypeScript/Java/C#**: camelCase for variables and methods, PascalCase for classes. **Python/Ruby**: snake_case for variables and functions, PascalCase for classes. **Rust/Go**: similar to JavaScript pattern (camelCase or snake_case depending on the project). **CSS**: kebab-case for class names and IDs (`my-button`). **URL slugs**: kebab-case (Google's recommendation). **JSON keys**: usually camelCase (JavaScript convention). **Database columns**: usually snake_case (SQL convention).
How does it handle special characters and Unicode?
Letters: converted per case rules. Numbers, punctuation, and special characters: preserved as-is (case has no meaning). Unicode: letters from any script are handled, including accents and Cyrillic. Examples: 'CAFÉ' → 'café' (lowercase preserves the accent); 'мир' → 'МИР' (Cyrillic uppercase). The identifier cases (camelCase, snake_case, kebab-case, etc.) keep accented and non-Latin letters and split words on spaces and punctuation; apostrophes inside words are dropped ('don't' becomes `dont`). Casing uses JavaScript's default rules, not locale-specific ones (for example Turkish 'i' / 'İ').
Can I convert multi-line text in one go?
Yes — paste any amount of text. The case conversion applies to all letters in the input regardless of line breaks (for identifier cases such as snake_case, line breaks count as word separators, so the result is a single line). For converting case on a per-line basis with different rules per line, you'd need to split and process separately. For converting case on specific selections within larger text, use a text editor with selection-based case-change commands. For bulk file conversion, scripts (sed, awk, Python) are more efficient.
Why is title case tricky for certain words?
Different style guides have different rules for which words to lowercase. AP Style: lowercase 'a, an, the, and, but, for, or, nor', plus prepositions under 4 letters. Chicago: capitalize all 'major' words (including longer prepositions). APA (academic): just capitalize first word + proper nouns. This tool's Title Case simply capitalizes every word, including short connectors like 'of' and 'the'. For style-guide adherence, manually lowercase those words in the output per your specific guide.
Share This Tool
Found this tool helpful? Share it with others who might benefit from it!
💡 Help others discover useful tools! Sharing helps us keep these tools free and accessible to everyone.