DevToolbox

Free Online Text Case Converter

Convert text between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, and more β€” free, instant, 100% client-side.

100% Client-Side Β· Your data never leaves your browser

How to Use Text Case Converter

Type or paste any text into the input field β€” it can be a single identifier, a sentence, or multiple lines. The tool automatically detects common separators (spaces, hyphens, underscores, dots) and camelCase/PascalCase boundaries.

Click Convert (or press Ctrl/Cmd+Enter) to see all ten case formats at once. Use the Copy button next to any format to copy just that result.

Useful workflows:

  • Paste a Python snake_case variable name and copy the camelCase version for JavaScript.
  • Convert a plain English phrase into a URL-safe kebab-case slug.
  • Turn a sentence into a PascalCase React component name in one click.

Frequently Asked Questions

What is camelCase?

camelCase writes compound words with no separators, starting each word after the first with a capital letter β€” e.g. myVariableName. It is the standard naming convention for variables and functions in JavaScript, Java, and many other languages.

What is the difference between camelCase and PascalCase?

Both join words without separators, but PascalCase (also called UpperCamelCase) capitalizes the very first letter too β€” e.g. MyClassName. PascalCase is commonly used for class names, React components, and TypeScript types.

When should I use snake_case vs kebab-case?

snake_case is preferred in Python identifiers, database column names, and file names on Unix systems. kebab-case is the standard for CSS class names, HTML attributes, and URL slugs because hyphens are more readable in hyperlinks.

What is SCREAMING_SNAKE_CASE used for?

SCREAMING_SNAKE_CASE (all uppercase with underscores) is the conventional style for constants and environment variables β€” e.g. MAX_RETRIES, DATABASE_URL. It signals to readers that the value should not be changed at runtime.

Can this tool handle multiple lines at once?

Yes. Each line is treated as a separate phrase, split into words, and converted independently. This lets you paste a list of identifiers and convert them all in one shot.

Related Tools