Case Converter

Transform your text between different cases instantly

0 characters0 words

UPPERCASE

Convert all letters to uppercase

HELLO WORLD

lowercase

Convert all letters to lowercase

hello world

Title Case

Capitalize the first letter of each word

Hello World

Sentence case

Capitalize first letter of sentences

Hello world. This is a test.

camelCase

First word lowercase, rest capitalized, no spaces

helloWorld

PascalCase

All words capitalized, no spaces

HelloWorld

snake_case

Words separated by underscores, all lowercase

hello_world

kebab-case

Words separated by hyphens, all lowercase

hello-world

iNVERT cASE

Swap uppercase and lowercase letters

hELLO wORLD

aLtErNaTiNg CaSe

Alternate between lowercase and uppercase

hElLo WoRlD

Capitalize Words

Capitalize first letter, lowercase rest

Hello World

Common Use Cases

  • β€’ Programming: Convert variable names (camelCase, snake_case)
  • β€’ Writing: Fix capitalization in titles and sentences
  • β€’ URLs: Create SEO-friendly slugs (kebab-case)
  • β€’ Data Processing: Standardize text formats
  • β€’ Content Creation: Format headings and titles

Quick Tips

  • β€’ Click the copy button to copy any converted text
  • β€’ All conversions happen instantly as you type
  • β€’ Works with any language that has uppercase/lowercase
  • β€’ Perfect for batch text processing
  • β€’ No character limit - convert as much text as you need

Understanding Text Case Conversion

Text case conversion is the process of transforming text between different capitalization styles. Whether you're a developer naming variables, a writer formatting titles, or a content creator optimizing URLs, understanding different text cases is essential.

Types of Text Cases Explained

UPPERCASE

All letters are capitalized. Commonly used for emphasis, headings, or constants in programming.

Example: HELLO WORLD

lowercase

All letters are in lowercase. Used for URLs, email addresses, and certain programming conventions.

Example: hello world

Title Case

The first letter of each word is capitalized. Standard for book titles, headlines, and article titles.

Example: Hello World Example

Sentence case

Only the first letter of sentences is capitalized. This is standard for regular writing and paragraphs.

Example: Hello world. This is a sentence.

camelCase

First word lowercase, subsequent words capitalized, no spaces. Popular in JavaScript, Java, and Swift.

Example: helloWorldExample

PascalCase

All words capitalized, no spaces. Used for class names in many programming languages.

Example: HelloWorldExample

snake_case

Words separated by underscores, all lowercase. Common in Python, Ruby, and database naming.

Example: hello_world_example

kebab-case

Words separated by hyphens, all lowercase. Ideal for URLs, CSS classes, and file names.

Example: hello-world-example

iNVERT cASE

Swaps uppercase and lowercase letters. Useful for creative text effects or fixing incorrectly typed text.

Example: hELLO wORLD

aLtErNaTiNg CaSe

Alternates between lowercase and uppercase letters. Often used for stylistic or humorous purposes.

Example: hElLo WoRlD

Programming Naming Conventions

Language/FrameworkVariablesFunctionsClasses
JavaScriptcamelCasecamelCasePascalCase
Pythonsnake_casesnake_casePascalCase
JavacamelCasecamelCasePascalCase
C#camelCasePascalCasePascalCase
Rubysnake_casesnake_casePascalCase

Best Practices

  • Use Title Case for headlines, article titles, and book titles
  • Use sentence case for body text and descriptions
  • Use kebab-case for URLs and file names (SEO-friendly)
  • Follow your programming language's naming conventions
  • Be consistent within your project or document
  • Consider readability when choosing a case style

SEO and URL Optimization

For URLs and web content, kebab-case (also called slug case) is the preferred format. Search engines treat hyphens as word separators, making your URLs more readable and SEO-friendly. For example, "how-to-create-strong-passwords" is better than "HowToCreateStrongPasswords" or "how_to_create_strong_passwords".

Common Use Cases by Industry

  • Web Development: camelCase for JavaScript, kebab-case for CSS
  • Data Science: snake_case for Python variables and functions
  • Content Writing: Title Case for headlines, sentence case for body
  • Database Design: snake_case for table and column names
  • Marketing: Title Case for ads, UPPERCASE for emphasis