Command Palette

Search for a command to run...

Case Converter Tool

Convert text between different case formats
Input Text
0 characters
0 words
1 lines
Tool Options
Customize text conversion options
Shortcut:Ctrl + Enterto convert
Output TextSentence case
0 characters
0 words
1 lines

Text Case Converter - Convert Text Between 13 Case Formats

Need to switch text between camelCase, snake_case, kebab-case, Title Case or any other style without retyping it by hand? This free online Case Converter does it instantly, right in your browser. Type or paste your text and every one of the 13 formats shows a live preview of your actual content, so you can pick the right one at a glance. Turn on auto-update for real-time results, chain conversions by sending the output back to the input, then copy or download with a single click. Nothing is ever uploaded to a server.

How to Use

1
Enter or Paste Your Text

Type directly into the input box, or click the Paste button to pull text straight from your clipboard. Character, word, and line counts update as you go.

2
Pick a Case Format

Choose from 13 formats. Each option card shows a live preview of your own text in that style, so you can compare results before selecting.

3
Get the Result Instantly

With auto-update on, the output refreshes as you type. Prefer manual control? Turn it off and convert with the button or Ctrl/Cmd + Enter.

4
Copy, Download or Chain

Copy the result, download it as a .txt file named after the chosen case, or send the output back to the input to apply another format on top.

Key Features

👁️Live Preview for Every Format

See your actual text rendered in all 13 cases at once. No guesswork — just pick the format that looks right.

🔠13 Case Formats

From Sentence case and Title Case to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case and more.

Real-Time Conversion

Auto-update converts your text as you type. Toggle it off for manual control whenever you need it.

📋Paste from Clipboard

Pull text in with a single click instead of switching windows and pressing Ctrl+V inside the box.

🔁Chain Conversions

Send the output back to the input with one button to stack formats — perfect for multi-step transformations.

📊Live Statistics

Instant character, word, and line counts for both input and output keep your text in check.

💾Copy & Download

Copy results to the clipboard or download them as a .txt file automatically named after the selected case.

⌨️Keyboard Shortcut

Press Ctrl + Enter (or Cmd + Enter on Mac) to convert instantly without reaching for the mouse.

🔒100% Private & Offline

All processing happens in your browser. Nothing is uploaded, and it keeps working offline after the first load.

Case Formats Explained

📝Sentence case

Only the first letter is capitalized, like a normal sentence. Example: 'This is a sample sentence.' Ideal for body text and descriptions.

🔡lowercase

Every letter in lower case. Example: 'this is lowercase text.' Useful for URLs, tags, and case-insensitive matching.

🔠UPPERCASE

Every letter capitalized. Example: 'THIS IS UPPERCASE.' Great for headings, emphasis, or acronyms.

🔤Capital Case (Title Case)

The first letter of each word is capitalized. Example: 'This Is Capital Case.' Common for titles and product names.

🐫camelCase

First word lowercase, following words capitalized, no spaces. Example: 'camelCaseExample.' Standard for variables and functions in JavaScript and Java.

🏛️PascalCase

Every word capitalized with no spaces. Example: 'PascalCaseExample.' Used for class and component names.

🐍snake_case

Lowercase words joined by underscores. Example: 'snake_case_example.' Popular in Python, Ruby, and database columns.

🍢kebab-case

Lowercase words joined by hyphens. Example: 'kebab-case-example.' Ideal for URLs, file names, and CSS classes.

📌CONSTANT_CASE

Uppercase words joined by underscores. Example: 'CONSTANT_CASE_EXAMPLE.' The convention for constants and environment variables.

dot.case

Lowercase words joined by dots. Example: 'dot.case.example.' Handy for file names, namespaces, and config keys.

📁path/case

Words joined by slashes. Example: 'path/case/example.' Mirrors URL paths and directory structures.

🚂Train-Case

Capitalized words joined by hyphens. Example: 'Train-Case-Example.' Used for HTTP headers and stylized titles.

🧩Pascal_Snake_Case

Capitalized words joined by underscores. Example: 'Pascal_Snake_Case_Example.' Seen in some constant and type naming styles.

Naming Conventions by Language

🟨JavaScript / TypeScript

camelCase for variables and functions, PascalCase for classes and components, CONSTANT_CASE for constants.

🐍Python

snake_case for variables and functions, PascalCase for classes, CONSTANT_CASE for module-level constants.

Java

camelCase for variables and methods, PascalCase for classes, CONSTANT_CASE for static final constants.

#️⃣C#

camelCase for private fields, PascalCase for public properties and methods, CONSTANT_CASE for constants.

🎨CSS

kebab-case for class names and custom properties, following BEM and standard conventions.

🗄️SQL

snake_case for table and column names, CONSTANT_CASE for keywords and constants.

Common Use Cases

🧑‍💻Programming & Refactoring

Convert variable, function, and class names between conventions when switching languages or cleaning up code.

🔗URL Slugs

Turn article and product titles into clean kebab-case slugs for SEO-friendly URLs.

🗄️Databases & APIs

Standardize field names to snake_case or camelCase to match your schema and API contracts.

📰Titles & Headings

Format document, article, and report titles in Title Case or Sentence case in seconds.

🌿Config & Environment Variables

Generate CONSTANT_CASE keys for .env files, settings, and feature flags.

📱Content & Social Media

Quickly restyle captions, hashtags, and headlines for posts and marketing copy.

Frequently Asked Questions

Q

What's the difference between camelCase, PascalCase, and snake_case?

A

camelCase keeps the first word lowercase and capitalizes the rest (myVariableName), PascalCase capitalizes every word (MyVariableName), and snake_case joins lowercase words with underscores (my_variable_name). Each suits different languages and contexts.

Q

Does the tool support Vietnamese and accented characters?

A

Yes. The converter fully supports Vietnamese and other accented text, preserving diacritics wherever the format allows.

Q

Is there a limit on text length?

A

There's no hard limit, but for the smoothest experience we recommend keeping input under around 10,000 characters.

Q

Is my text sent to a server?

A

No. All conversion happens locally in your browser, so your text never leaves your device.

Q

Can I use it offline?

A

Yes. After the page loads once, the tool keeps working without an internet connection.

Q

Is it really free?

A

Completely free, with no registration, installation, or usage limits.

Whether you're naming variables, building URL slugs, or formatting titles, this Case Converter takes the tedium out of reformatting text. With live previews for all 13 formats, real-time conversion, and one-click copy, download, and chaining — all running privately in your browser — it's the fastest way to get your text in exactly the right case.