Text Case Converter Online

Convert text between uppercase, lowercase, title case, camelCase, snake_case, kebab-case, and more. Free online tool.

UPPERCASE
HELLO WORLD, THIS IS A SAMPLE TEXT!
lowercase
hello world, this is a sample text!
Title Case
Hello World, This Is A Sample Text!
Sentence case
Hello world, this is a sample text!
camelCase
helloWorldThisIsASampleText!
PascalCase
HelloWorldThisIsASampleText!
snake_case
hello_world,_this_is_a_sample_text!
kebab-case
hello-world,-this-is-a-sample-text!
CONSTANT_CASE
HELLO_WORLD,_THIS_IS_A_SAMPLE_TEXT!
dot.case
hello.world,.this.is.a.sample.text!
aLtErNaTiNg
hElLo wOrLd, ThIs iS A SaMpLe tExT!
iNVERSE cASE
hELLO wORLD, THIS IS A sAMPLE tEXT!

Text Case Styles

Different naming conventions are used in programming and writing. camelCase and PascalCase are common in JavaScript and TypeScript. snake_case is standard in Python and Ruby. kebab-case is used in CSS and URL slugs. CONSTANT_CASE is used for constants in many languages.

When to Use Each Case

Use Title Case for headings, UPPERCASE for emphasis or constants, Sentence case for regular text, and language-specific conventions (camelCase, snake_case, etc.) for variable and function naming.

About This Tool

The Text Case Converter instantly transforms your text between uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and more. It is perfect for developers formatting variable names, writers fixing capitalization, and anyone needing consistent text styling.

Key Features

  • Multiple Case Formats — Converts text to uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE in one place.
  • Instant Conversion — Results appear immediately as you type or paste text, with no button press needed.
  • Developer-Friendly Formats — Includes camelCase, PascalCase, snake_case, and kebab-case used in variable naming conventions across programming languages.
  • Copy to Clipboard — One-click copy button for each output format makes it easy to paste the result directly into your code or document.
  • Free and No Signup — Convert text case without creating an account or paying anything.

Common Use Cases

  • Converting a user-input string to snake_case for use as a Python variable or database column name
  • Transforming a blog post title to title case for consistent heading capitalization
  • Converting a phrase to camelCase or PascalCase for JavaScript function or class names
  • Fixing ALL CAPS text copied from a legacy system back to readable sentence case
  • Converting words to kebab-case for use as CSS class names or URL slugs

How to Use

Paste or type your text in the input field. All case conversions appear instantly in the output panels below. Click the Copy button next to any format to copy that result to clipboard. No settings or configuration required.

Frequently Asked Questions

What is the difference between camelCase and PascalCase?

In camelCase the first word is lowercase and subsequent words are capitalized (myVariableName). In PascalCase (also called UpperCamelCase) every word including the first is capitalized (MyVariableName). PascalCase is common for class names while camelCase is used for variables and function names.

When should I use snake_case vs kebab-case?

snake_case (underscores) is standard for Python variables, function names, and database column names. kebab-case (hyphens) is used for CSS class names, HTML attributes, and URL slugs. JavaScript and TypeScript typically use camelCase for variables and PascalCase for classes.

Does title case capitalize every word?

Standard title case capitalizes major words but lowercases short prepositions (of, in, at), conjunctions (and, but, or), and articles (a, an, the) unless they are the first word. Simple title case tools may capitalize all words regardless of grammatical function.

How is sentence case different from lowercase?

Sentence case capitalizes only the first letter of the first word in each sentence, matching normal written English. Lowercase converts all characters to lowercase with no capitalization at all. Sentence case is more readable for body text while lowercase is often used for technical identifiers.