Case converter

Transform text between 12 different case formats instantly

Overview

The Case Converter transforms text between 12 different capitalization styles. Whether you need to fix text stuck in CAPS LOCK, create proper titles, convert to programming naming conventions like camelCase or snake_case, or clean up messy spacing - this tool handles it all instantly.

12 case formats
Text cases, programming cases, and space cleaner
Auto-convert
Results update instantly as you type
File upload
Drop or upload 13 different file formats
Fullscreen mode
Focus mode for distraction-free editing
100% private
All processing happens in your browser
Live statistics
Track characters, words, lines, and changes

Interface overview

The Case Converter has a clean two-panel layout with the case format selector at the top. Here's what you'll see:

1

Case format selector (top)

At the top, you'll find Select case format: a collapsible grid showing all 12 case formats. Each format button displays:
Icon (colored square) showing a preview of the format
Format name (e.g., UPPER CASE, camelCase)
Brief description (e.g., ALL CAPS, forCode)

Click the arrow on the right to collapse/expand this section.

2

Original text panel (left)

The left panel is where you enter your text:
Header with keyboard icon and Original text label
Action buttons (top right) - Upload, Paste, Clear
Drop zone: Drop files here or start typing
Supported formats displayed as badges - TXT, MD, CSV, TSV, JSON, XML, HTML, CSS, JS, SQL, DOCX, ODT, LOG

3

CONVERT button (center)

The orange CONVERT button sits between the two panels. Click it to convert your text using the selected case format.

Note: If Auto-convert is enabled (default), you don't need to click this button - conversion happens automatically.

4

Converted text panel (right)

The right panel shows your converted result:
Header with magic wand icon and Converted text label
Action buttons (top right) - Trim, Copy, Download, Fullscreen
Output area: displays Converted text will appear here... before conversion

5

Options row (bottom left)

Below the panels, you'll find three checkboxes:
Auto-convert (checked by default) - converts automatically as you type
Preserve line breaks (checked by default) - keeps your text's line structure
Sync scroll (unchecked by default) - scrolls both panels together

6

Statistics (bottom right)

Four counters track your text in real-time:
CHARS: total character count
WORDS: total word count
LINES: total line count
CHANGED (orange) - number of characters that were modified

7

Download button & Fullscreen mode

In the output panel header:
Download button (download icon) - save the converted text as a file
Fullscreen button (expand icon) - enter distraction-free focus mode for editing larger texts

Fullscreen mode hides all other UI elements and lets you focus on your text.

8

Favorites (top right)

Click the heart icon in the top right corner to add Case Converter to your favorites for quick access from the homepage.

Case Converter interface showing case format selector, input/output panels, and statistics
Case Converter interface overview

The 12 case formats

Case Converter offers 12 different formats organized into three categories:
Text cases (6 formats) - for general text transformation
Programming cases (5 formats) - for code naming conventions
Space cleaner (1 utility) - for cleaning up whitespace

Each format is represented by a button with a colored icon showing a preview of how text will look.

Text cases (6 formats)

These formats are perfect for everyday text transformation:

UPPER CASE
Icon: AB
Description: ALL CAPS

Converts all letters to capitals.
Input: "hello world"
Output: "HELLO WORLD"

Use for: Headlines, acronyms, emphasis, fixing caps lock mistakes
lower case
Icon: ab
Description: all small

Converts all letters to lowercase.
Input: "HELLO WORLD"
Output: "hello world"

Use for: Usernames, URLs, email addresses, code variables
Title Case
Icon: Ab
Description: Each Word

Capitalizes the first letter of each word.
Input: "hello world"
Output: "Hello World"

Use for: Headlines, book titles, proper names, article titles
Sentence case
Icon: A.
Description: First letter

Capitalizes only the first letter of each sentence.
Input: "HELLO WORLD. HOW ARE YOU?"
Output: "Hello world. How are you?"

Use for: Normal paragraphs, fixing ALL CAPS text, proper sentences
aLtErNaTiNg case
Icon: aA
Description: MiXeD

Alternates between lowercase and uppercase letters.
Input: "hello world"
Output: "hElLo WoRlD"

Use for: Memes, sarcastic text, stylized social media posts
camelCase
Icon: cC
Description: forCode

First word lowercase, subsequent words capitalized, no spaces.
Input: "hello world"
Output: "helloWorld"

Use for: JavaScript variables, Java methods, JSON keys

Programming cases (5 formats)

These naming conventions are standard in programming. Use them to convert variable names, function names, and identifiers:

snake_case
Icon: s_c
Description: with_underscore

All lowercase, words separated by underscores.
Input: "hello world"
Output: "hello_world"

Use for: Python variables, database columns, Ruby methods, file names
kebab-case
Icon: k-c
Description: with-dash

All lowercase, words separated by hyphens.
Input: "hello world"
Output: "hello-world"

Use for: URLs, CSS class names, HTML attributes, file names
PascalCase
Icon: PC
Description: ForClasses

Every word capitalized, no spaces or separators.
Input: "hello world"
Output: "HelloWorld"

Use for: Class names (C#, Java, TypeScript), React components, constructors
dot.case
Icon: d.c
Description: with.dots

All lowercase, words separated by dots.
Input: "hello world"
Output: "hello.world"

Use for: Configuration keys, Java package names, property paths
CONSTANT_CASE
Icon: C_C
Description: SCREAMING_CASE

All uppercase, words separated by underscores.
Input: "hello world"
Output: "HELLO_WORLD"

Use for: Constants in most languages, environment variables, enum values

Space cleaner Utility

The 12th format is a special utility for cleaning up whitespace issues:

1

What it does

Space cleaner removes excess whitespace from your text:
Trims leading/trailing spaces from each line
Collapses multiple consecutive spaces into one
Removes extra blank lines
Cleans up tabs and irregular spacing

2

Example

Input: " hello world "
Output: "hello world"

All the extra spaces are cleaned up while preserving the meaningful content.

Space cleaner example showing input with extra spaces and cleaned output
Space cleaner in action
3

When to use

Use Space cleaner when:
Text copied from PDFs has weird spacing
You need to normalize whitespace before processing
Data pasted from spreadsheets has irregular spacing
Cleaning up OCR output with spacing issues

Combine with other formats
Use Space cleaner first to normalize your text, then apply another case format. This gives cleaner, more consistent results.

How to convert text

Converting text is simple. Follow these steps:

1

Enter your text

Type directly into the Original text panel, or:
Paste from clipboard (click Paste button or Ctrl+V)
Drop a file into the drop zone
Upload by clicking the Upload button

2

Select a case format

Click one of the 12 format buttons in the Select case format section. The currently selected format is visually highlighted.

3

View the result

If Auto-convert is enabled (default), the result appears immediately in the Converted text panel.
If Auto-convert is disabled, click the orange CONVERT button to convert.

4

Copy or download

Use the output panel actions to:
Copy: copy result to clipboard
Download: save as a text file
Cut: cut to clipboard (removes from output)

5

Try different formats

Click different format buttons to see the same text in various cases. The conversion updates instantly with Auto-convert enabled.

Keyboard workflow
Fastest workflow: Ctrl+V (⌘+V on Mac) (paste) → click format button → Ctrl+C (⌘+C on Mac) (the Copy button) → done in seconds!

Input panel actions

The Original text panel has three action buttons in the header (top right):

1

Upload button

Click the upload icon to open a file picker. Select a text file from your computer. Supported formats:
Text: TXT, MD, LOG
Data: CSV, TSV, JSON, XML
Code: HTML, CSS, JS, SQL
Documents: DOCX, ODT

2

Paste button

Click the clipboard icon to paste text from your clipboard into the input panel. This is equivalent to pressing Ctrl+V (or ⌘+V on Mac).

3

Clear button

Click the trash icon to clear all text from the input panel. This also clears the output and resets statistics to zero.

Input panel action buttons - Upload, Paste, Clear
Input panel actions
Drag and drop
You can also drag files directly onto the input panel. The drop zone accepts all 13 supported file formats.

Output panel actions

The Converted text panel has four action buttons in the header (top right):

1

Trim button

Click the scissors icon to trim whitespace from the converted text. Removes leading and trailing spaces from each line.

2

Copy button

Click the copy icon to copy the converted text to your clipboard. A notification confirms the copy. The text remains in the output panel.

3

Download button

Click the download icon to save the converted text as a file. You can choose to download the file as a .txt, .md or .docx file with your converted content.

4

Fullscreen button

Click the expand icon to enter Fullscreen mode (also called Focus mode). This provides a distraction-free editing environment. See the Fullscreen mode section for details.

Output panel action buttons - Trim, Copy, Download, Fullscreen
Output panel actions

File upload feature

Case Converter can read text from 13 different file formats. Here's what's supported:

1

Plain text files

TXT: Standard text files
MD: Markdown files
LOG: Log files

These are read directly as-is.

2

Data files

CSV: Comma-separated values
TSV: Tab-separated values
JSON: JavaScript Object Notation
XML: Extensible Markup Language

Perfect for converting database exports, configuration files, and structured data.

3

Code files

HTML: Web pages
CSS: Stylesheets
JS: JavaScript files
SQL: Database queries

Useful for converting variable names or normalizing code style.

4

Document files

DOCX: Microsoft Word documents
ODT: LibreOffice/OpenOffice documents

Text is extracted from these document formats automatically.

5

How to upload

Two ways to get files into the tool:
Drag and drop: drag a file from your computer and drop it on the input panel
Click Upload: click the upload button and select a file from the file picker

The file's text content appears in the input panel ready for conversion.

File upload drop zone showing supported file formats
File upload feature
File size
Very large files may take a moment to process. For best performance, keep files under a few MB. The tool processes everything locally in your browser.

Conversion options

Three checkboxes at the bottom control how conversion works:

1

Auto-convert

Default: Checked (enabled)

When enabled, the output updates automatically as you:
Type in the input panel
Change the selected case format
Paste or upload text

When disabled, you must click the CONVERT button to convert.

Tip: Disable auto-convert for very large texts to prevent lag while typing.

2

Preserve line breaks

Default: Checked (enabled)

When enabled, your text's line structure is preserved. Multi-line text stays multi-line.

When disabled, line breaks may be modified during certain conversions (like space cleaning).

Tip: Keep this enabled unless you want to merge lines.

3

Sync scroll

Default: Unchecked (disabled)

When enabled, scrolling in one panel scrolls the other panel to the same position. This helps compare input and output for long texts.

When disabled, each panel scrolls independently.

Tip: Enable this when reviewing changes in long documents.

Conversion options - Auto-convert, Preserve line breaks, Sync scroll checkboxes
Conversion options

Statistics

Four counters in the bottom right track your text in real-time:

1

CHARS

Total number of characters in your input text, including spaces and punctuation.

2

WORDS

Total number of words in your input text. Words are separated by spaces and punctuation.

3

LINES

Total number of lines in your input text. Counts line breaks to determine this.

4

CHANGED (orange)

Number of characters that were modified during conversion. This shows you how much of your text was actually changed.
If you convert "hello" to UPPER CASE → "HELLO", CHANGED shows 5 (all 5 letters changed)
If text is already in the target format, CHANGED shows 0

Statistics bar showing CHARS, WORDS, LINES, and CHANGED counters
Statistics
Quick reference
The CHANGED counter is highlighted in orange to stand out. It's especially useful to see at a glance how significant the transformation was.

Fullscreen mode Focus mode

Fullscreen mode (also called Focus mode) provides a distraction-free editing environment. Click the expand icon in the output panel header to enter this mode.

1

Compact toolbar (top)

In fullscreen mode, all controls move to a single compact toolbar at the top:

Left side:
Case format buttons as small pills (AB, ab, Ab, A., aA, s_c, cC, PC, k-c, d.c, C_C, space icon)
Click any pill to switch case format

Center:
Statistics inline: "Characters: X Words: X Lines: X Changed: X"

Right side:
Action buttons: Convert, Copy, Cut, Paste, Clear, Download, Exit fullscreen
Checkboxes: Auto-convert, Preserve line breaks, Sync scroll

2

Full-width input panel

The Original text panel takes the top half of the screen. It spans the full width for maximum editing space.

The panel label shows a keyboard icon and Original text.

3

Full-width output panel

The Converted text panel takes the bottom half of the screen. It also spans the full width.

The panel label shows a pencil icon and Converted text.

4

Live conversion

With Auto-convert enabled, typing in the input immediately updates the output below. You can see both original and converted text simultaneously.

5

Exit fullscreen

Click the exit/collapse icon in the toolbar (rightmost button) to return to normal view. All your text and settings are preserved.

Fullscreen mode showing compact toolbar, input panel, and output panel
Fullscreen mode
When to use fullscreen
Fullscreen mode is ideal when:
Working with long documents
Need maximum screen space for editing
Want to focus without UI distractions
Comparing input and output side by side (vertically)

Common use cases

Here are practical scenarios where Case Converter saves time:

Fix CAPS LOCK mistakes
Accidentally typed a paragraph with CAPS LOCK on? Convert to Sentence case to fix it instantly instead of retyping.
Format article headlines
Convert any text to proper Title Case for article headlines, blog post titles, or presentation slides.
Convert variable names
Convert between naming conventions: "user first name" → userFirstName (camelCase) or user_first_name (snake_case).
Normalize database columns
Convert column names to consistent snake_case for PostgreSQL or camelCase for MongoDB/JSON.
Create URL slugs
Convert article titles to kebab-case for SEO-friendly URLs: "My Blog Post" → my-blog-post.
Generate constant names
Convert descriptions to CONSTANT_CASE for environment variables or configuration constants.

Tips & Best practices

Use Space cleaner first
If your text has irregular spacing, run Space cleaner first to normalize it, then apply your desired case format for cleaner results.
Disable Auto-convert for large texts
When working with very large documents (thousands of lines), disable Auto-convert to prevent lag. Convert manually with the button when ready.
Check the CHANGED counter
The orange CHANGED counter tells you how many characters were modified. If it's 0, your text was already in the target format.
Programming case recognition
The tool recognizes existing programming cases. Enter "getUserProfile" and it can convert to "get_user_profile" (snake_case) or "get user profile" (spaces).
Use fullscreen for long documents
When comparing input and output for long texts, enter fullscreen mode and enable Sync scroll to keep both panels aligned.
Process entire files
Don't copy-paste from files - upload them directly! Drop your .txt, .md, .json, or .csv files and convert the entire content at once.

Frequently asked questions

There are 12 case formats:
6 text cases: UPPER CASE, lower case, Title Case, Sentence case, aLtErNaTiNg, camelCase
5 programming cases: snake_case, kebab-case, PascalCase, dot.case, CONSTANT_CASE
1 utility: Space cleaner
Yes! The converter handles accented characters (é, ü, ñ), Cyrillic, Greek, and most Unicode letters correctly. Special characters and emojis are preserved.
camelCase starts with lowercase: getUserName
PascalCase starts with uppercase: GetUserName

Use camelCase for variables/functions, PascalCase for classes/components.
Proper title case follows style guides that keep articles (the, a, an), conjunctions (and, but, or), and prepositions (in, on, at) lowercase unless they start the title. Our tool follows standard conventions.
Yes! Enter "getUserProfile" and it recognizes word boundaries from the capitalization, allowing conversion to "get user profile" or any other format.
13 formats are supported: TXT, MD, LOG (plain text), CSV, TSV, JSON, XML (data), HTML, CSS, JS, SQL (code), and DOCX, ODT (documents).
No hard limit - everything runs in your browser. Very large texts (millions of characters) may slow down. For practical use, there's no limit you'll likely hit.
CHANGED shows how many characters were modified during conversion. If you convert "hello" to "HELLO", CHANGED = 5 (all letters changed). If text is already in the target format, CHANGED = 0.
Space cleaner removes excess whitespace: trims leading/trailing spaces, collapses multiple spaces into one, and cleans up irregular spacing. Perfect for text copied from PDFs or OCR output.
Yes, 100% private. All processing happens locally in your browser. Your text is never sent to any server. Close the tab and it's gone - we never see or store your content.

Need to change text case?

Convert text between 12 different case formats instantly.

Open Case Converter

Documentation