Web ToolBox

Text Case Converter

Real-time conversion to upper/lower/various cases

Enter text to convert case

Conversion result

What is Text Case Converter?

A tool that instantly converts text between various naming conventions used in programming and data processing. Streamline your development workflow by standardizing variable names, formatting file names, and transforming API responses.

Supports 12 major formats including camelCase, snake_case, and kebab-case.

How to Use

Enter the text you want to convert in the input field, and the converted results for each format will appear in real-time. Click any result to copy it to your clipboard.

Use Cases

  • Standardize variable names - Convert to match your project's coding standards
  • Format API responses - Switch between snake_case and camelCase
  • Batch rename files - Unify naming conventions

Supported Formats

LowerCase

Converts all characters to lowercase.

Example: this is sample text

UpperCase

Converts all characters to uppercase.

Example: THIS IS SAMPLE TEXT

CamelCase

Capitalizes the first letter of each word and joins them together. The first character is lowercase. Commonly used in JavaScript and Java.

Example: thisIsSampleText

CapitalCase

Capitalizes the first letter of each word and separates words with spaces.

Example: This Is Sample Text

DotCase

Converts all characters to lowercase and separates words with periods (.).

Example: this.is.sample.text

KebabCase

Converts all characters to lowercase and separates words with hyphens (-). Commonly used in HTML/CSS and URLs.

Example: this-is-sample-text

PascalCase

Capitalizes the first letter of each word and joins them together. The first character is also uppercase. Commonly used for class names and component names.

Example: ThisIsSampleText

PascalSnakeCase

Capitalizes the first letter of each word and separates words with underscores (_).

Example: This_Is_Sample_Text

PathCase

Converts all characters to lowercase and separates words with slashes (/). File path format.

Example: this/is/sample/text

SentenceCase

Capitalizes only the first character of the sentence. Same format as regular sentences.

Example: This is sample text

SnakeCase

Converts all characters to lowercase and separates words with underscores (_). Commonly used in Python, Ruby, and databases.

Example: this_is_sample_text

TrainCase

Capitalizes the first letter of each word and separates words with hyphens (-). Used in HTTP headers.

Example: This-Is-Sample-Text