Case Converter — Free Online Text Case Changer
Convert text to camelCase, snake_case, kebab-case, UPPER CASE, and more. Free, runs in your browser — no account needed.
Paste text to convert its case
Then pick a format above — or load a sample to try it.
About the Case Converter
Different contexts require different text cases. Developers use camelCase and snake_case for variable names; designers use Title Case for headings; writers use Sentence case for body text. Converting by hand is tedious — paste your text and pick the format in one click.
When to use each format
- 🐫camelCase — JavaScript variables, JSON keys, React props (
firstName,onClick) - 🐍snake_case — Python variables, database columns, file names (
user_name) - 🍢kebab-case — CSS classes, URL slugs, HTML attributes (
btn-primary) - 🏛️PascalCase — Class names, React components, TypeScript types (
UserProfile) - 📢CONSTANT_CASE — Environment variables, constants (
API_BASE_URL)
Related: JSON Formatter to clean up JSON with inconsistent key casing, or Word Counter for text analysis.
Frequently Asked Questions
Is the Case Converter free?
Yes — completely free. No account and no data sent to a server.
Is my text uploaded anywhere?
No. All conversion happens in your browser. Your text never leaves your device.
Do I need an account?
No account, no login, and no signup required.
What is the difference between camelCase and PascalCase?
Both join words without spaces. camelCase starts with a lowercase letter (firstName). PascalCase starts with an uppercase letter (FirstName). camelCase is used for variable names in most languages; PascalCase is used for class names, React components, and TypeScript types.
What is kebab-case used for?
kebab-case uses hyphens between words and is the standard for CSS class names, URL slugs, and HTML attribute names. It is not valid in most programming languages as a variable name because the hyphen is interpreted as a minus operator.