Text & Writing Tools

Text Case Converter

Convert text to UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, kebab-case, snake_case, and more. Instant, free, no sign-up.

Did this calculator help you?

What is Text Case Converter?

A text case converter transforms your text from one case format to another with a single click. Whether you need UPPER CASE for headings, camelCase for JavaScript variables, kebab-case for CSS classes, or snake_case for Python variables, this tool handles all common case formats instantly. No retyping, no copy-paste errors — just select your target format and get the result immediately.

When to Use This Calculator

  • When converting variable names between different programming language conventions
  • When formatting headings or titles in a specific case style
  • When creating SEO-friendly URL slugs from page titles
  • When standardizing text formatting across a codebase or document
  • When learning or teaching programming naming conventions

Steps:

  1. Type or paste your text in the input area above
  2. All 10 case conversions are generated instantly as you type
  3. Click the Copy button next to any result to copy it to your clipboard
  4. Use Copy All to copy every conversion format at once
  5. Clear the input to start fresh with new text

Formula

Each case format has its own rules: UPPER CASE converts all characters to uppercase. lower case converts all characters to lowercase. Title Case capitalizes the first letter of each word. Sentence case capitalizes only the first letter of each sentence. camelCase removes spaces and capitalizes each word after the first. PascalCase is like camelCase but starts with a capital. kebab-case uses hyphens between lowercase words. snake_case uses underscores between lowercase words.

Use Cases

  • Web developers converting variable names between camelCase and snake_case
  • Content writers formatting headings in Title Case vs Sentence case
  • SEO specialists optimizing URL slugs in kebab-case
  • Python developers converting between camelCase and snake_case conventions
  • CSS developers creating class names in kebab-case format
  • Database administrators formatting column names
  • Copy editors converting between title case styles
  • Students learning different naming conventions in programming

Key Benefits

  • Save time by converting text instantly instead of retyping manually
  • Eliminate errors from manual case conversion in code and content
  • Supports 10 different case formats for every use case
  • Works with all writing systems including accented characters and special symbols
  • Copy individual results or all formats at once for maximum efficiency
  • Completely private — all conversions happen in your browser

Pro Tips

  • Use camelCase for JavaScript variables and functions
  • Use PascalCase for class names and React components
  • Use kebab-case for CSS class names and URL slugs
  • Use snake_case for Python variables and environment variables
  • Use Title Case for headings and Sentence case for body text
  • Copy all formats at once when you need to compare different conventions

Common Mistakes to Avoid

  • Confusing camelCase (starts lowercase) with PascalCase (starts uppercase)
  • Using UPPER CASE for body text — it is harder to read and considered shouting
  • Forgetting that kebab-case and snake_case are different conventions
  • Manually retyping text when the converter can do it instantly
  • Using spaces in variable names — most case formats remove them automatically

Key Terms Explained

Related Concepts

Example

Converting 'Hello World Example' produces: UPPER CASE → HELLO WORLD EXAMPLE, lower case → hello world example, Title Case → Hello World Example, camelCase → helloWorldExample, PascalCase → HelloWorldExample, kebab-case → hello-world-example, snake_case → hello_world_example.

Frequently Asked Questions

What is a text case converter?
A text case converter is an online tool that transforms your text from one case format to another — such as UPPER CASE, lower case, Title Case, or camelCase — with a single click. It saves you from manually retyping text when working with different formatting requirements.
What cases does this tool support?
This tool supports 10 case formats: UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, kebab-case, snake_case, alternating case, and swap case. It covers virtually every case convention used in programming, writing, and content creation.
What is camelCase and when is it used?
camelCase is a naming convention where each word after the first starts with a capital letter, with no spaces or underscores — like 'myVariableName'. It is widely used in JavaScript for variable and function names, and in many other programming languages for identifiers.
What is kebab-case?
kebab-case uses lowercase letters with hyphens separating words — like 'my-variable-name'. It is commonly used in CSS class names, HTML attributes, URL slugs, and configuration file keys. The name comes from the hyphens resembling the stick holding a kebab together.
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myFunction), while PascalCase starts with an uppercase letter (MyFunction). camelCase is used for variables and functions in most languages, while PascalCase is used for class names, component names in React, and type names in TypeScript.
What is snake_case?
snake_case uses lowercase letters with underscores separating words — like 'my_variable_name'. It is the standard naming convention in Python, Ruby, and many other languages. It is also used in database column names and environment variable names.
What is Title Case?
Title Case capitalizes the first letter of each word — like 'The Quick Brown Fox'. It is used for headings, titles, and headlines in English writing. Different style guides (APA, Chicago, MLA) have slightly different rules for which words to capitalize.
What is Sentence case?
Sentence case capitalizes only the first letter of the first word in each sentence — like 'This is sentence case. And this is a new sentence.' It is the standard format for body text, paragraphs, and most written content in English.
Is my text stored or sent to a server?
No. All case conversions happen entirely in your browser using JavaScript string methods. Your text is never transmitted to any server, stored in any database, or accessible to anyone else. Your data stays completely private.
Can I use this for code formatting?
Absolutely. The camelCase, PascalCase, kebab-case, and snake_case conversions are specifically designed for code formatting. Use them to quickly convert variable names, function names, CSS class names, and database column names between different naming conventions.
Does it work with special characters and numbers?
Yes. The converter preserves all special characters, numbers, punctuation, and whitespace exactly as they appear in your input. Case conversions only affect letter casing — everything else remains unchanged.

Discover More Tools

Fresh picks from across our tool library.