Skip to main content

Text Case Converter

Convert between camelCase, snake_case, kebab-case, PascalCase, and more in one paste.

Case Options

Convert text between different naming conventions and case styles including camelCase, snake_case, kebab-case, PascalCase, UPPERCASE, lowercase, Title Case, sentence case, CONSTANT_CASE, and dot.case. Essential for developers working with multiple programming languages, APIs with different naming conventions, and code formatting standards.

What is Text Case Converter?

Text case conversion transforms the capitalization and word separation style of text. Different programming languages and systems use different naming conventions: JavaScript uses camelCase, Python uses snake_case, CSS uses kebab-case, and constants use UPPER_CASE. A case converter helps you quickly transform text between these formats without manual editing.

Common Use Cases

  • Code formatting - convert variable names between different language conventions
  • API integration - transform field names to match API requirements
  • Database migration - convert column names between naming conventions
  • Configuration files - transform keys between different format requirements
  • Code refactoring - rename variables and functions to match style guides
  • Multi-language development - adapt naming conventions for different languages
  • Data transformation - convert keys in JSON/CSV between case styles

How It Works

The text case converter analyzes your input text, identifies word boundaries (spaces, underscores, hyphens, or capitalization changes), and then reformats the text according to the selected case style. It handles edge cases like acronyms, numbers, and special characters, ensuring proper conversion while preserving the original meaning. The tool supports conversion between all major naming conventions used in programming.

Examples

camelCase conversion

Input:
my variable name
Output:
myVariableName

snake_case conversion

Input:
My Variable Name
Output:
my_variable_name

kebab-case conversion

Input:
My Variable Name
Output:
my-variable-name

ThenCatch is a free developer toolkit. Learn more about us.