Smart Unit ConvertersSmart Unit Converters

Case Converter

Convert text between UPPERCASE, lowercase, Title Case, camelCase, and more.

UPPERCASE

lowercase

Title Case

Sentence case

camelCase

PascalCase

snake_case

kebab-case

?What is the Case Converter?

A case converter transforms text between eight common letter-case styles: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case. Each style is a convention used by different programming languages, databases, document formats, and design systems — mixing them in a codebase or document creates inconsistency and bugs. This tool instantly converts any input to all eight styles, with a copy button for each, so you can rename variables, normalize filenames, clean up data, or standardize headings without manual retyping.

The Formula

Each style follows a specific pattern. camelCase: first word lowercase, subsequent words' first letter capitalized. snake_case: lowercase with underscores. kebab-case: lowercase with hyphens. PascalCase: every word capitalized including first.

Each case style applies a mechanical rule to the input tokens. UPPERCASE and lowercase simply apply to all alphabetic characters. Title Case capitalizes the first letter of every word. Sentence case capitalizes only the first letter of the text and of the first word after terminal punctuation. camelCase and PascalCase join words without separators, using internal capitalization as the word boundary. snake_case and kebab-case lowercase everything and use _ or - as word separators. All transformations ignore numbers and symbols, preserving them in place.

Practical Examples

1

Input 'hello world' converts to UPPER: HELLO WORLD, Title: Hello World, camelCase: helloWorld, snake_case: hello_world.

2

Input 'My File Name' converts to snake_case: my_file_name (good for filenames) or kebab-case: my-file-name (good for URLs).

3

Renaming variables: 'user first name' → userFirstName (JavaScript camelCase), UserFirstName (C# PascalCase), user_first_name (Python snake_case).

4

Sentence case is ideal for flowing body text; Title Case is traditional for headings, books, and song titles.

5

URLs prefer kebab-case (my-blog-post) because hyphens are treated as word separators by search engines, improving SEO.

6

Database column names often use snake_case (first_name, created_at) while JSON APIs typically return camelCase (firstName, createdAt).

Frequently Asked Questions

camelCase starts with a lowercase letter (helloWorld, userFirstName) and is conventionally used for JavaScript variables and functions. PascalCase capitalizes every word including the first (HelloWorld, UserFirstName) and is used for class names, React components, and types. Choose based on your language's convention — JavaScript uses both (variables camel, classes Pascal).