ToolNest

Free Online Text Case Converter

Convert text to UPPER, lower, Title, camelCase, snake_case, kebab-case and more.

Text never leaves your browser
characters words lines

Select Case Format

What Is a Text Case Converter?

A text case converter is a tool that transforms the capitalization pattern of a string without changing its words. Writers use it to fix headings, developers use it to format variable names, and SEO specialists use it to standardize URLs. Our free online converter handles eight of the most common formats and updates your text instantly as you type.

The Eight Case Formats Explained

UPPERCASE
Every letter is a capital. Use it for constant names in most programming languages (MAX_RETRIES), acronyms, or headlines designed to grab attention.
lowercase
Every letter is small. Standard for email addresses, most URLs, HTML attributes, and many programming contexts where case-sensitivity matters.
Title Case
The first letter of each significant word is capitalized; minor words like a, an, the, and, in, of remain lowercase (unless they open the title). This follows AP and Chicago style — correct for article headlines and book titles.
Sentence case
Only the very first word and proper nouns are capitalized, exactly as you would write a normal sentence. Best for descriptions, captions, and UI labels.
camelCase
Spaces are removed; each word after the first starts with a capital. The dominant naming convention in JavaScript, TypeScript, Java, and Swift — e.g., getUserProfile.
PascalCase
Like camelCase but the very first letter is also capitalized. Standard for class names, PHP namespaces, and React components — e.g., UserProfile.
snake_case
Words are separated by underscores, all lowercase. The convention in Python, Ruby, and most database table and column names — e.g., user_first_name.
kebab-case
Words are separated by hyphens, all lowercase. Used in CSS class names, HTML element IDs, and URL slugs — e.g., hero-section or /blog/my-first-post.

How to Use This Tool

  1. Paste or type your text into the Input box.
  2. Click any of the eight format buttons — the output updates instantly.
  3. Click Copy to copy the result to your clipboard.

The word count, character count, and line count update live so you can track your content length as you work. Everything runs in your browser; no text is ever sent to a server.

How to Use Text Case Converter

  1. 1

    Paste or type your text

    Enter any text in the input area. It can be a single word, a sentence, a paragraph, or a chunk of code.

  2. 2

    Click a case button

    Choose from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, or kebab-case. The result updates instantly.

  3. 3

    Copy the result

    Click the Copy button next to the output field to copy the converted text to your clipboard, ready to paste anywhere.

Share this tool: X / Twitter WhatsApp

Frequently Asked Questions

In camelCase, the first word is all lowercase and each subsequent word starts with a capital — for example, myVariableName. In PascalCase, every word (including the first) starts with a capital — for example, MyClassName. PascalCase is typically used for class names and React components; camelCase is the standard for variables and functions in JavaScript, Java, and C#.
Use snake_case (underscores) in Python variable and function names, Ruby, and database column names — e.g., user_first_name. Use kebab-case (hyphens) in CSS class names, HTML element IDs, and URL slugs — e.g., hero-section. The key rule: hyphens are invalid in most programming variable names (they look like subtraction), so kebab-case belongs in HTML/CSS/URLs.
Yes. The converter handles any amount of text, including multiple lines and paragraphs. Line breaks are preserved in all formats except camelCase, PascalCase, snake_case, and kebab-case, which are designed for single identifiers. For large blocks of prose, Uppercase, Lowercase, Title Case, and Sentence Case work best.
Standard English Title Case follows editorial style guides (AP, Chicago) that keep short prepositions, conjunctions, and articles lowercase unless they are the first or last word of the title — words like a, an, the, and, but, or, for, in, of. For example: "The Lord of the Rings". Our converter applies this rule automatically.
No. All conversion happens entirely in your browser using JavaScript. Your text is never transmitted to any server, stored, or logged. The tool works offline once the page has loaded.

We use cookies only for essential site functionality. No tracking or advertising cookies. Learn more