Skip to content

Text Case Converter

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Handy for headlines, variable names, file names and slugs.

Runs in your browserFreeNo sign-up

Processed on your device. Files and text stay in your browser and are not uploaded to our servers. How privacy works

How to use the text case converter

  1. Type or paste text into the input.
  2. Click a case style. The output updates instantly and shows an example of each style.
  3. For code styles (camel, Pascal, snake, kebab, constant) each line is converted separately, so a list of names converts in one go.
  4. Copy the result, download it, or click Use as input to chain conversions.

Features

  • Ten styles including title case with smart handling of small words
  • Sentence case that capitalises after full stops, question marks and line breaks
  • Identifier styles that understand existing camelCase, acronyms, underscores and hyphens
  • Line-by-line conversion for lists of variable or file names
  • Instant, private, no length limit

Which case for what

Conventions differ by language and platform, but these are the common defaults:

  • camelCase – variables and functions in JavaScript, TypeScript, Java, Kotlin, Swift
  • PascalCase – classes, types, components and C# methods
  • snake_case – Python variables and functions, Ruby, database columns
  • kebab-case – URLs, CSS classes, file names, npm packages
  • CONSTANT_CASE – environment variables and constants
  • Title Case – headlines and titles; Sentence case – UI text and body copy

How words are detected

Input is split into words at spaces, punctuation, underscores and hyphens, and also at case changes inside a word, so parseHTTPResponse becomes parse, HTTP and Response. That lets you convert existing identifiers between styles, not just plain sentences. Title Case keeps short words such as of, the and and lowercase except at the start or end of a title.

Frequently asked questions

Does Title Case follow a specific style guide?

It follows the common rule of lowercasing articles, conjunctions and short prepositions unless they start or end the title. Chicago, AP and APA differ in details; adjust by hand for strict compliance.

How are acronyms handled in camelCase?

Acronyms are treated as words: HTTP request becomes httpRequest, and getHTTPResponse splits into get, HTTP, Response before conversion.

Does it work with non-English text?

Upper, lower, sentence and title case use Unicode-aware casing, so accented and non-Latin letters convert correctly where the script has case.

Is my text uploaded?

No. Conversion happens in your browser.

Other tools people use alongside Text Case Converter.

You might also like

Something useful from another corner of VoltKit.