HandyTools Hub
← Back to Tools

Case Converter

Convert text between different case formats instantly

Case Options

Case converter instantly rewrites text in ten different capitalization styles, from UPPER CASE headlines to camelCase identifiers. Paste a title, a variable name, or an entire document and flip it to the convention you need. It saves writers from retyping headings and saves developers from hand-editing identifier names.

How to Use

  • Enter text: Type or paste your text into the input box. Multi-line content is fine — line breaks are preserved.
  • Choose format: Click one of the ten case buttons, such as Title Case, snake_case, or kebab-case.
  • View result: The converted text appears instantly, with no submit button to press.
  • Copy: Use the copy button to send the result to your clipboard.

A Guide to Naming Conventions

Developers run into case styles constantly, because every ecosystem picked a different favorite. JavaScript variables and functions use camelCase (getUserName), while classes and React components use PascalCase (UserProfile). Python and most SQL databases prefer snake_case (user_name), and URLs, CSS classes, and npm packages favor kebab-case (user-profile). Constants and environment variables are conventionally CONSTANT_CASE (MAX_RETRY_COUNT), while dot.case shows up in some configuration formats.

For prose, the choice is stylistic rather than technical. Title Case capitalizes the main words of a heading, which is standard in English publishing, while Sentence case capitalizes only the first word — the norm in many modern style guides and most European languages. When in doubt, match whatever the surrounding code or document already uses.

Features

  • 10 case formats: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case
  • Real-time conversion as you type
  • Multi-line input with line breaks preserved
  • One-click copy to clipboard
  • Handles numbers, punctuation, and special characters correctly

Use Cases

  • Headlines: Convert article titles to Title Case or Sentence case to match a style guide.
  • Renaming variables: Turn user_name into userName when moving from Python to JavaScript.
  • URL slugs and CSS: Generate kebab-case names for classes and file paths.
  • Environment variables: Format CONSTANT_CASE keys for .env files and CI configs.

Frequently Asked Questions

What case formats are supported?

This tool supports 10 case formats: UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and dot.case.

Can I convert multiple paragraphs?

Yes, the tool handles multi-line text and preserves line breaks during conversion. You can paste entire paragraphs, lists, or code blocks.

What's the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (e.g., myVariableName), while PascalCase starts with an uppercase letter (e.g., MyClassName).