Text Case Converter

Convert text between various cases entirely in your browser. Quick buttons, code-style conversions, custom rules, and find-replace.

?
Highlight:
Boundary:
?
All processing runs locally in your browser. Your data is never sent to any server.
Type or paste text above
Case Conversion (camelCase, snake_case, ...) ?
Character / Word Rules ?
Find & Replace ?
How to Use

Quick Buttons

UPPERCASE
Converts all characters to uppercase. Example: hello world → HELLO WORLD
lowercase
Converts all characters to lowercase. Example: HELLO WORLD → hello world
Title Case
Capitalizes the first letter of every word. Example: hello world → Hello World
Sentence case
Capitalizes only the first letter of each sentence. Example: hello world. goodbye. → Hello world. Goodbye.
1 Space
Collapses multiple consecutive spaces into a single space. Tabs and newlines are not affected.
Lines → Space
Replaces all line breaks with a single space, merging multiple lines into one.

Highlight & Boundary

Off
No highlighting. The default mode.
All
Colors the first letter of every word — blue for uppercase, orange for lowercase.
A↑
Colors only words whose first letter is uppercase (blue).
a↓
Colors only words whose first letter is lowercase (orange).
Boundary: Space
Words are split only by spaces. Useful for normal prose.
Boundary: All
Words are split by spaces and special characters (underscore, hyphen, dot, slash, comma, etc.). Useful for code and technical text.

Case Conversion

Select the current format of your text (Input) and the desired format (Output), then click Apply. Each line is converted independently.

Space separated
Normal text with spaces between words. Example: my variable name
camelCase
First word lowercase, subsequent words capitalized, no separator. Example: myVariableName
PascalCase
Every word capitalized, no separator. Example: MyVariableName
snake_case
All lowercase, separated by underscores. Example: my_variable_name
kebab-case
All lowercase, separated by hyphens. Example: my-variable-name
CONSTANT_CASE
All uppercase, separated by underscores. Example: MY_VARIABLE_NAME
dot.case
All lowercase, separated by dots. Example: my.variable.name

Character / Word Rules

Enter a word or character pattern, choose an action, and click Apply All. Rules are applied in order from top to bottom. All occurrences of the pattern are affected.

UPPERCASE
Converts the entire matched text to uppercase.
lowercase
Converts the entire matched text to lowercase.
Capitalize first
Capitalizes only the first character of the matched text.
Lowercase first
Lowercases only the first character of the matched text.
Add space after
Inserts a space after every occurrence. Applying multiple times adds multiple spaces.
Add space after (if none)
Inserts a space after the match only if there isn't one already. Safe to apply repeatedly.

Find & Replace

Add one or more find-and-replace pairs. All pairs are applied in order from top to bottom when you click Apply All. Every occurrence of the 'Find' text is replaced.

Tips

Quick Buttons for Common Conversions

UPPERCASE, lowercase, Title Case, and Sentence case cover the vast majority of daily text formatting needs. One click to transform your entire text.

Case Conversion for Code

Use the Case Conversion section to transform between camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Select the input format so the tool knows how to split words.

Find & Replace Multiple Pairs

Add multiple find-and-replace pairs and apply them all at once. Useful for batch renaming variables, fixing typos, or normalizing terminology.

Visual Highlighting Helps Verify

Turn on the highlight feature to color-code the first letter of each word — blue for uppercase, orange for lowercase. A quick visual check after converting.

Common Use Cases

📝

Writing & Editing

Fix capitalization in blog posts, articles, or emails. Convert headings to Title Case or body text to Sentence case in seconds.

💻

Variable Naming

Convert between camelCase, snake_case, PascalCase, and kebab-case when moving code between languages or following naming conventions.

📊

Data Cleanup

Normalize inconsistent capitalization in CSV exports, database dumps, or spreadsheet data before importing into another system.

🔤

Social Media & Marketing

Create attention-grabbing UPPERCASE headers or clean lowercase aesthetic text for social media posts and captions.

📋

Batch Text Processing

Apply multiple find-and-replace rules at once to clean up large blocks of text. Combine with case conversion for powerful transformations.

🌐

Internationalization

Prepare text for i18n by normalizing case before translation. Ensure consistent formatting across language files.

Frequently Asked Questions

Is my text data sent to a server?
No. All text processing happens entirely in your browser using JavaScript. Your data never leaves your device. You can verify this by disconnecting from the internet — the tool continues to work.
What is the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word (e.g., "The Quick Brown Fox"). Sentence case capitalizes only the first letter of each sentence (e.g., "The quick brown fox").
How do I convert between camelCase and snake_case?
Open the "Case Conversion" section below the editor. Select the input format (e.g., camelCase) and the output format (e.g., snake_case), then click Apply. The tool splits words by the input format's rules and joins them in the output format.
Can I apply multiple transformations at once?
Yes. Use the "Character / Word Rules" section to define multiple rules, or the "Find & Replace" section to set up multiple replacement pairs. Click "Apply All" to execute them in order.
Does it work offline?
Yes. All code is served from this site with no external dependencies. Once the page is loaded and cached by your browser, it works without an internet connection.