Try the Case Converter

Case Converter β€” Transform Text to Any Case Style Instantly

Learn the difference between upper, lower, title, sentence, camelCase, PascalCase, snake_case, and kebab-case, when each is used in writing and programming, and how to convert text instantly with a free case converter.

By sadiqbd Β· June 6, 2026

Case Converter β€” Transform Text to Any Case Style Instantly

Text case is more consequential than it looks

You're writing a headline and can't remember whether title case capitalises prepositions. You've pasted a block of text in all caps that needs to become sentence case. You're generating a slug and need lowercase with no spaces. You're writing code and need camelCase or SCREAMING_SNAKE_CASE. Each of these is a different transformation of the same underlying text β€” and doing them manually, character by character, is exactly the kind of tedious work a tool should handle.

A case converter applies any of these transformations instantly, in any direction.


The Main Case Types

UPPER CASE

Every character converted to capital letters. the quick brown fox β†’ THE QUICK BROWN FOX

Used for: acronyms, headings in some design contexts, emphasis in informal communication, constants in programming (MAX_VALUE, API_KEY).

lower case

Every character converted to lowercase. THE QUICK BROWN FOX β†’ the quick brown fox

Used for: URL slugs (before hyphenation), email addresses, code identifiers in many languages, normalising text before processing.

Title Case

The first letter of each major word capitalised. The rules get complex β€” minor words (articles, short prepositions, coordinating conjunctions) are typically not capitalised unless they begin or end the title. the quick brown fox jumps over the lazy dog β†’ The Quick Brown Fox Jumps Over the Lazy Dog

Used for: book titles, article headlines, section headings, product names.

Sentence case

The first letter of the sentence (and proper nouns where identified) capitalised; everything else lowercase. THE QUICK BROWN FOX β†’ The quick brown fox

Used for: body text, paragraph beginnings, most written communication.

camelCase

Words run together with each word (except the first) capitalised. No spaces or separators. the quick brown fox β†’ theQuickBrownFox

Used for: variable names in JavaScript, Java, Swift, and most object-oriented languages.

PascalCase (UpperCamelCase)

Like camelCase but the first word is also capitalised. the quick brown fox β†’ TheQuickBrownFox

Used for: class names in most programming languages, component names in React, type names.

snake_case

Words separated by underscores, all lowercase. the quick brown fox β†’ the_quick_brown_fox

Used for: variable and function names in Python, Ruby, database column names.

SCREAMING_SNAKE_CASE

Like snake_case but all uppercase. the quick brown fox β†’ THE_QUICK_BROWN_FOX

Used for: constants in Python, environment variable names, macro definitions in C.

kebab-case

Words separated by hyphens, all lowercase. the quick brown fox β†’ the-quick-brown-fox

Used for: CSS class names, HTML IDs, URL slugs, file names in web projects.


How to Use the Case Converter on sadiqbd.com

  1. Paste your text β€” any amount, any case
  2. Select the target case β€” upper, lower, title, sentence, camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, or kebab-case
  3. Read the converted output β€” transformed text appears instantly
  4. Copy β€” ready to use

Real-World Examples

Cleaning up pasted text

You copy text from a PDF that uses ALL CAPS for body text (a common PDF artefact). Paste into the case converter, select Sentence case, and the text becomes readable in seconds β€” without manually retyping.

Preparing a URL slug

A blog post title: "How to Calculate EMI: Step-by-Step Guide for Bangladesh"

Select kebab-case: how-to-calculate-emi-step-by-step-guide-for-bangladesh

Clean, lowercase, hyphenated β€” ready to use as a URL path.

Code naming convention conversion

You're refactoring a Python project that used camelCase variable names (a common mistake for Python newcomers) and need to convert to snake_case:

calculateMonthlyPayment β†’ calculate_monthly_payment getUserProfile β†’ get_user_profile

Database column naming

A spreadsheet has column headers: First Name, Last Name, Email Address, Phone Number

Converting to snake_case for database columns: first_name, last_name, email_address, phone_number

CSS class name generation

Component names from a design file in PascalCase: PrimaryButton, CardContainer, HeaderNavigation

Converting to kebab-case for CSS: primary-button, card-container, header-navigation


Title Case Rules β€” Why They're Complicated

Title case has competing style guides with different rules for which words to capitalise:

APA style: Capitalise all words of four letters or more. "the," "a," "an," "and," "but," "for," "or," "nor," "to" stay lowercase unless first or last.

Chicago style: Capitalise all words except articles (a, an, the), coordinating conjunctions (and, but, for, nor, or, so, yet), and prepositions of fewer than five letters β€” unless they start or end the title.

AP style (journalism): Similar to Chicago; capitalise all words of four or more letters.

Sentence case for many blog posts: Many content sites (including major tech blogs) use sentence case for article titles rather than title case β€” simpler and more readable.

The case converter's title case function follows a standard rule set. If your specific style guide differs, use it as a starting point and adjust.


Case Sensitivity in Programming

Different languages have different case conventions β€” and mixing them up is a frequent source of bugs and style violations:

Language Variables/Functions Classes Constants
Python snake_case PascalCase SCREAMING_SNAKE
JavaScript camelCase PascalCase SCREAMING_SNAKE
Java camelCase PascalCase SCREAMING_SNAKE
CSS kebab-case N/A N/A
Database snake_case N/A N/A
URLs kebab-case N/A N/A

The case converter makes moving between these conventions instant β€” particularly useful when translating requirements between a database schema, backend code, and frontend components where the same concept has different naming conventions.


Tips for Using the Case Converter

For title case, review proper nouns. Automated title case can't reliably identify proper nouns like country names, brand names, and acronyms. After conversion, quickly review for any that got lowercased when they should stay capitalised.

Use sentence case for most web content. Research consistently shows sentence case is more readable and feels more natural than title case in body text and most headings.

Lowercase before slug generation. Always convert to lowercase before creating URL slugs β€” even if the text looks lowercase, mixed case text can cause URL inconsistencies.

Use kebab-case for filenames. Consistent kebab-case for HTML files, CSS files, and image filenames prevents issues when deploying to case-sensitive Linux servers.


Frequently Asked Questions

What's the difference between camelCase and PascalCase? camelCase starts with a lowercase letter: myVariableName. PascalCase starts with an uppercase letter: MyClassName. Both use capital letters to mark word boundaries without spaces.

Is title case the same across different style guides? No β€” AP, Chicago, APA, and MLA all have slightly different rules for which small words to capitalise. The converter applies a standard rule set; for publication-specific requirements, verify against your target style guide.

Can I convert case for text with mixed language content? Case conversion for Latin-script languages (English, French, Spanish, German, etc.) works reliably. Some scripts (Arabic, Chinese, Japanese) don't have uppercase/lowercase distinctions, so case conversion doesn't apply to those characters.

What about text with numbers and special characters? Most case converters pass numbers and special characters through unchanged β€” only alphabetic characters are transformed.

Is the case converter free? Yes β€” completely free, no sign-up required.


Case conversion is one of those small tasks that appears constantly in writing, development, and data work. The converter makes it instant for any volume of text β€” no manual editing, no error risk, no time spent on mechanical transformation.

Try the Case Converter free at sadiqbd.com β€” convert text to upper, lower, title, sentence, camelCase, snake_case, kebab-case, and more instantly.

Try the related tool:
Open Case Converter

More Case Converter articles