Skip to main content
ToolsHub

Case Converter

Paste your text and convert it to any case with one click. Perfect for coding, writing, and formatting tasks.

Files never leave your browser
0 characters0 words

How to use Case Converter

The Case Converter transforms text between any combination of cases instantly: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. It handles Unicode characters correctly, making it suitable for international text, and is indispensable for reformatting variable names when switching between programming languages, standardising data imports, and fixing text pasted from ALL CAPS PDFs.

  1. Paste or type the text you want to transform into the input area.
  2. Click the desired case format button — the output updates instantly.
  3. For programming cases (camelCase, snake_case, etc.), the tool treats spaces, hyphens and underscores as word boundaries.
  4. For Title Case, the tool respects common style guides by keeping short prepositions and articles in lowercase (e.g., "of", "the", "and").
  5. Copy the result with the Copy button or use Ctrl+A in the output field.

Your data never leaves your device — 100% private processing.

Programming naming conventions

Different programming languages and ecosystems have established naming conventions that improve code readability and consistency. camelCase (firstName, totalAmount) is standard in JavaScript and Java for variables and functions. PascalCase (FirstName, UserController) is used for classes and components in most languages, and for all identifiers in C#. snake_case (first_name, total_amount) is the Python convention for variables and functions (PEP 8). kebab-case (first-name, user-profile) is used for HTML attributes, CSS class names, URL slugs and CLI flags. CONSTANT_CASE (MAX_RETRIES, BASE_URL) indicates compile-time or module-level constants across most languages.

Naming case conventions by language
ConventionExampleCommon use
camelCasemyVariableNameJS/TS variables and functions, Java fields
PascalCaseMyClassNameClasses, interfaces, React components, C# identifiers
snake_casemy_variable_namePython variables/functions, Ruby, SQL columns
kebab-casemy-component-nameHTML, CSS classes, URL slugs, CLI flags
CONSTANT_CASEMAX_VALUEConstants, environment variables, enum members
UPPER_CASEFIRST NAMEHeadings in forms, printed documents

Title Case style guide differences

There is no single universal Title Case standard — different style guides disagree on which words to capitalise. AP Style (Associated Press), used in journalism, capitalises all words except articles (a, an, the), coordinating conjunctions (and, but, for, nor, or, so, yet) and prepositions with fewer than four letters when they are not the first or last word. Chicago Manual of Style capitalises all words except articles, prepositions of any length and coordinating conjunctions. APA Style capitalises all major words in titles of four letters or more. This tool applies a sensible default (AP-like) that satisfies most use cases.

Glossary

camelCase
A naming convention where the first word is lowercase and each subsequent word starts with an uppercase letter.
PascalCase
Like camelCase but with the first letter also capitalised; used for class and type names.
snake_case
Words separated by underscores, all lowercase; standard in Python and SQL.
kebab-case
Words separated by hyphens; used in URLs, CSS class names and CLI flags.
Title Case
A capitalisation style where major words in a heading or title start with an uppercase letter.

Related reading

Frequently Asked Questions

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Why use Case Converter?

  • Instant results with no signup or account creation
  • Works offline once the page is loaded
  • Supports Unicode and multilingual text
  • Copy results to clipboard with a single click

Common use cases

  • Count words in an essay before submission
  • Sort a list of items alphabetically
  • Remove duplicate lines from CSV exports
  • Change the case of text copied from PDFs
  • Find and replace text across large documents

Related Text Tools

Explore all Text Tools.