RewritePal

Free camelCase Converter

Convert any text to camelCase, PascalCase, snake_case, kebab-case, and more — all at once.

A naming convention converter transforms any text into the correct format for your programming language or style guide — instantly. Paste a phrase in any format and get all seven naming conventions at once: no manual reformatting, no typos.

  • ✓ camelCase — JavaScript variables & functions
  • ✓ PascalCase — classes & React components
  • ✓ snake_case — Python, Ruby, SQL columns
  • ✓ kebab-case — CSS classes, URLs, CLI flags
  • ✓ SCREAMING_SNAKE_CASE — constants & env vars
  • ✓ dot.case — config keys & package names
  • ✓ Title Case — headings and display labels
  • ✓ Live conversion as you type
camelCasehelloWorldExample
PascalCaseHelloWorldExample
snake_casehello_world_example
kebab-casehello-world-example
SCREAMING_SNAKE_CASEHELLO_WORLD_EXAMPLE
dot.casehello.world.example
Title CaseHello World Example

How to Use the Naming Convention Converter

  1. Type or paste your identifier in any format — spaces, hyphens, underscores, or camelCase all work.
  2. All seven formats update live as you type. No button to press.
  3. Click Copy next to the format you need and paste it into your code, config file, or CMS.

Naming Convention Quick Reference

  • camelCase — JavaScript, TypeScript, Java, Swift variable and function names.
  • PascalCase — Class names, React components, C# types, and TypeScript interfaces.
  • snake_case — Python variables and functions, Ruby methods, PostgreSQL and MySQL column names.
  • kebab-case — CSS class names, HTML data attributes, URL slugs, npm package names, and CLI flags.
  • SCREAMING_SNAKE_CASE — Constants in Python, JavaScript, and most languages; environment variables in shell and Docker.
  • dot.case — Java package names, .NET namespaces, config file keys (e.g. Spring Boot, TOML).

Related guides

Frequently Asked Questions

What is camelCase?
camelCase joins words together with no separator, capitalizing the first letter of each word except the first (e.g. helloWorldExample). It is widely used for variable and function names in JavaScript, TypeScript, Java, and many other languages.
What is the difference between camelCase and PascalCase?
Both join words without separators and capitalize each word — but PascalCase (also called UpperCamelCase) capitalizes the very first letter too (e.g. HelloWorldExample). PascalCase is common for class names and React components; camelCase is used for variables and functions.
When should I use snake_case vs kebab-case?
snake_case (words joined by underscores) is the convention for Python variables, Ruby methods, and database column names. kebab-case (words joined by hyphens) is used in CSS class names, HTML attributes, URL slugs, and CLI flag names.
What is SCREAMING_SNAKE_CASE?
SCREAMING_SNAKE_CASE is snake_case in all capitals. It is the standard for constants and environment variables in most languages (e.g. MAX_RETRY_COUNT, DATABASE_URL).
How does the converter detect word boundaries?
The tool splits on spaces, underscores, hyphens, and dots — and also detects camelCase and PascalCase transitions (e.g. "helloWorld" becomes two words). This means you can paste input in any format and all seven outputs will be correct.
Is my text stored anywhere?
No. All conversion happens locally in your browser using JavaScript. Nothing is sent to any server.