camelCase & PascalCase Converter

Convert any text to camelCase, PascalCase, snake_case, kebab-case and more. Paste your text below and click any conversion button.

and replace it with:
Text Editor
Characters: 0 Words: 0 Lines: 0
e.g. “hello world” → helloWorld
e.g. “hello world” → HelloWorld
e.g. “HELLO WORLD” → Hello world
e.g. “hello world” → Hello World
Capitalizes all major words
All letters lowercase
All letters uppercase
e.g. “hello world” → hello_world
e.g. “hello world” → hello-world
e.g. “hello world” → hello.world
e.g. “hello world” → HELLO_WORLD
URL-safe slug
Reverses every character
Randomly mixes upper and lowercase
Alternates upper and lowercase

🔒 Working with sensitive text or files online? NordVPN keeps your connection private and encrypts it in one click — Hide My Activity and Secure My Connection →

Case Converter Online Tool camelCase and PascalCase Converter – Free Online Tool - OnlineCaseConvert

What is camelCase and PascalCase?

CamelCase and PascalCase are naming conventions used extensively in programming. They combine multiple words into a single identifier without spaces, using capital letters to mark word boundaries. This tool converts any text into these formats — and many more developer-friendly cases — in a single click.

camelCase camelCase

The first word is entirely lowercase, and each subsequent word begins with an uppercase letter. The name comes from the “humps” that the capital letters create, resembling a camel’s back.

hello world→helloWorld
user profile photo→userProfilePhoto
get HTTP response→getHttpResponse

PascalCase PascalCase

Every word begins with an uppercase letter, including the first. Also called UpperCamelCase. It was popularized by the Pascal programming language and is now universal in class and component naming.

hello world→HelloWorld
user profile photo→UserProfilePhoto
get HTTP response→GetHttpResponse

When to use each case

Format Common Uses Languages / Frameworks
camelCase Variables, function names, method names, JSON keys JavaScript, TypeScript, Java, Swift, Dart, Go
PascalCase Class names, interfaces, type aliases, React components, constructors C#, TypeScript, React, Vue, Angular, C++, Rust
snake_case Variables, function names, database columns, file names Python, Ruby, PostgreSQL, PHP, Rust
CONSTANT_CASE Constants, environment variables, enum values All languages — universal convention
kebab-case CSS classes, HTML attributes, URL slugs, file names CSS, HTML, Vue templates, npm packages
dot.case Config keys, namespace paths, i18n keys Java properties, .NET config, i18n files
Ethan KeenEthan Keen
Last updated: September 14, 2026
Check out some of our other pages here:
Number to Words Converter – Amount in Words for Cheques & Invoices 2026

Write any number or amount in words : invoices, cheques and contracts in English, German, Spanish, Italian and Bulgarian — euro, dollar, pound or lev,...

Text Difference Compare Tool – Compare Two Texts Side by Side

Compare two texts side-by-side and see the differences highlighted. Perfect for tracking changes, comparing versions, and reviewing edits |

Remove Non-English / Non-ASCII Characters

Strip out any character that isn't standard English/ASCII text — foreign scripts, emoji, and exotic symbols — leaving only plain letters, numbers, and common punctuation...

Remove Forward Slashes From Text ✅ Online Case Converter 2026

😀 Remove Forward Slashes From Text , ☞ Remove Characters from text, remove hyphens, underline, dots and commas, brackets