QREndless

Text Case Converter

12 case styles — camel, snake, kebab, Title and more.

100% on-device
Converted Output0 words · 0 chars
Input Text14 words · 63 chars
Case Format
Free online text case converter converting text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, and kebab-case

The Best Text Case Converter

9 Case Formats

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE with a single click — perfect for headings, code identifiers, slugs and constants.

Live Preview

Output updates as you type, debounced to 200ms so typing stays snappy. Click another case button and the same input is reconverted instantly — no copy-pasting between tabs.

100% Private

All conversion happens entirely in your browser. Your text is never uploaded, logged, or sent to any server. No signup, no tracking, no rate limits — works offline.

Word & Char Count

Live word and character counts for both the input and the converted output, so you can keep an eye on length limits for tweets, meta titles, slugs or commit messages.

How to Use It in 3 Steps

  1. Paste Your Text

    Type or paste any text — a headline, a list of names, code identifiers, a sentence. Live word and character counts track both the input and the output.

  2. Pick a Case Format

    Click one of 9 case buttons: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, or CONSTANT_CASE. Output regenerates as you type.

  3. Copy or Chain Conversions

    Copy the result with one click, hit Swap to feed the output back in as the new input (e.g. camelCase → snake_case in two clicks), or Clear to start over.

Text Case Converter for Every Need

Developers

Turn “user account id” into userAccountId, UserAccountId, user_account_id or USER_ACCOUNT_ID — variable names, class names, and enum keys without retyping.

Writers & Editors

Fix headlines stuck in ALL CAPS from a chat or spreadsheet: convert to Title Case for titles or Sentence case for body copy, and normalize messy pastes in one click.

SEO & Slugs

kebab-case is the search-engine-friendly format for URLs. Convert a page title to kebab-case, trim it, and paste it straight into your CMS slug field.

Config & Env Files

CONSTANT_CASE is the convention for environment variables and settings keys (MAX_RETRY_COUNT). Convert a whole list of option names without hand-editing each line.

Designers & CSS

CSS custom properties and BEM classes use kebab-case (--card-shadow-color), while React components use PascalCase. Convert between naming systems while you prototype.

Students & Office Work

Clean up imported data: turn SHOUTING exports into normal sentences, standardize product names into Title Case, or make names uniform before a mail merge.

Complete Guide

Text Case Converter: The Complete A-to-Z Guide

Every case format explained — UPPERCASE to camelCase — where each one is used, and how the converter splits words so your identifiers come out right.

What Is a Text Case Converter?

A text case converter takes any text and rewrites it in a different capitalization style without changing the words. It sounds trivial — until you have pasted 200 rows of SHOUTING spreadsheet names into a system that expects snake_case, or had to hand-retype a headline because a CMS exported everything in caps. This tool converts between 9 formats instantly, entirely in your browser, and lets you chain conversions with the Swap button so you can go camelCase → kebab-case in two clicks instead of retyping.

The 9 Case Formats at a Glance

  • UPPERCASE — every letter capitalized. Used for warnings, acronyms (NASA), and SQL keywords (SELECT, WHERE).
  • lowercase — no capitals at all. Email addresses, domains, and most of the internet’s URLs.
  • Title Case — First Letter Of Every Word Capitalized. Headlines, book titles, menu items.
  • Sentence case — Only the first letter after a . ! or ? is capitalized. Body copy, subtitles, most modern UI text.
  • camelCase — firstWordLowercaseThenCapitalized. JavaScript variables and functions.
  • PascalCase — EveryWordCapitalizedIncludingTheFirst. Class names, React components, C#/Java types.
  • snake_case — lowercase_words_joined_by_underscores. Python, Ruby, Rust, and database columns.
  • kebab-case — lowercase-words-joined-by-hyphens. URLs, CSS classes, file names, Git branches.
  • CONSTANT_CASE — UPPERCASE_WORDS_JOINED_BY_UNDERSCORES. Environment variables, config keys, enum values.

camelCase vs PascalCase: Which Goes Where

Both formats squash words together and capitalize each new word — the only difference is the very first letter. camelCase starts lowercase (getUserById), PascalCase starts uppercase (UserController). The convention in most ecosystems: camelCase for variables and functions, PascalCase for types, classes, and anything you can instantiate. In React it is not even style — it is syntax: components must start with an uppercase letter or the JSX compiler treats the tag as HTML.

A useful side effect: converting user_account_id → camelCase and back is lossless with this tool, because the word splitter detects both underscores and internal capital letters. Paste existing code identifiers in and they re-format cleanly instead of merging into one word.

snake_case vs kebab-case vs CONSTANT_CASE

All three keep words visibly separated — they differ in separator and capitalization, and each owns a territory:

  • snake_case is the default in Python, Ruby, Rust, and SQL column names (created_at). Underscores survive case-insensitive systems and read as spaces.
  • kebab-case is the right choice for URLs — hyphens are the word separator search engines understand (underscores join words: blue_running_shoes reads as one token). Also CSS custom properties (--main-color) and file names, because hyphens never need escaping in shells or URLs.
  • CONSTANT_CASE signals that a value should never change: MAX_FILE_SIZE, API_BASE_URL, DEFAULT_TIMEOUT_MS. The visual weight is the point — a SCREAMING value in code draws the eye and says “config, not logic.”

Title Case vs Sentence Case for Headlines

Title Case (The Quick Brown Fox Jumps) dominates news headlines, book covers, and US marketing copy. Sentence case (The quick brown fox jumps) dominates modern UI design, European publications, and documentation — it is calmer and easier to scan. Neither is wrong; consistency is what matters. This converter’s Title Case capitalizes the first letter of every word and lowercases the rest, so THE QUICK BROWN FOX becomes The Quick Brown Fox in one click. Sentence case lowercases everything, then re-capitalizes the first letter of the text and after every . ! or ? — so stray capitals from an ALL-CAPS paste get cleaned up too.

One caveat: the Title Case algorithm capitalizes every word, including small words like “of” and “the”. Strict editorial style guides (Chicago, AP) skip those mid-title — if you write to one, glance over the result before publishing.

How the Converter Splits Words (Camels, Acronyms, Digits)

Converting fooBar to snake_case only works if the tool can see where one word ends and the next begins. The splitter here handles the three cases that actually occur in real data:

  • Lowercase → uppercase boundary: fooBar splits into foo + Bar.
  • Acronym runs: HTTPRequest splits into HTTP + Request — the all-caps run stays intact instead of shattering into single letters.
  • Digit runs: UserID123 splits into User + ID + 123, so numbers become their own word.

Any run of non-alphanumeric characters (spaces, dashes, dots, punctuation) also acts as a separator and disappears from the joined output — that is why Best-Seller List! becomes bestSellerList with no residue.

Step-by-Step: Using the Text Case Converter

  1. Paste or type your text into the input box. Word and character counts update live.
  2. Click a case button. The output area updates immediately (debounced 200 ms while typing so it stays snappy).
  3. Compare formats. Clicking another button re-converts the same input — try camelCase, then snake_case, without retyping anything.
  4. Chain with Swap. Swap feeds the output back in as the new input, so you can go UPPERCASE → Title Case → kebab-case in three clicks.
  5. Check the counters. Meta titles (≤60 chars), tweet limits, and slug lengths are all easier to hit when the count is visible.
  6. Copy the result. One click copies the output; the confirmation clears itself after a moment.

Ready to Convert Your Text?

You now know all 9 formats, where each one belongs — camelCase for JS variables, PascalCase for components, snake_case for Python, kebab-case for URLs, CONSTANT_CASE for env vars — and how the word splitter handles acronyms and digits. Scroll back up, paste your text, and convert it in one click.

Jump back to the text case converter above ↑

Frequently Asked Questions

Everything you need to know about text case converter.
What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word: "the quick brown fox" → "The Quick Brown Fox". Sentence case only capitalizes the first letter of each sentence (after a `.`, `!` or `?` and at the start of the text), leaving all other words lowercase: "the quick brown fox. he runs!" → "The quick brown fox. He runs!".

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter and capitalizes only the first letter of each subsequent word: "user account id" → "userAccountId". PascalCase (also called UpperCamelCase) capitalizes the first letter of every word including the first one: "user account id" → "UserAccountId". camelCase is used for JS variables, PascalCase for TypeScript/Java class names and React components.

When should I use snake_case, kebab-case or CONSTANT_CASE?

snake_case joins lowercase words with underscores (used for Python, Ruby, Rust variables). kebab-case joins them with hyphens (used for CSS classes, URL slugs, file names). CONSTANT_CASE uppercases everything and joins with underscores (used for enum values, configuration keys, environment variables like `MAX_FILE_SIZE`).

How are case boundaries detected in camelCase input?

The split algorithm handles three patterns: (1) lowercase → uppercase (fooBar → foo, Bar), (2) ALL-CAPS run followed by a Capitalized word (HTTPRequest → HTTP, Request), and (3) digit runs (UserID123 → User, ID, 123). Non-alphanumeric characters (spaces, dashes, dots, punctuation) also act as separators.

Is this tool free and private?

Yes — completely free with no signup, no daily limit, and no upload. All conversion runs in your browser using JavaScript string operations only. Open your browser DevTools Network tab and you will see zero requests while typing: nothing leaves your device.

Ready to use the Text Case Converter?

Open the tool