Free Online Case Converter

Instantly convert text between 13 different case formats. Essential for developers working across multiple programming languages and naming conventions.

🔤 Case Converter

Click Convert to see all case formats.

Why Naming Conventions Matter in Programming

Every programming language and framework has its own preferred naming convention. JavaScript uses camelCase for variables, Python prefers snake_case, CSS uses kebab-case, and C# follows PascalCase. Using the wrong convention doesn’t break your code, but it violates community standards, makes code harder to read, and can trigger linter warnings that clutter your development workflow.

When you’re refactoring code between languages, porting a Python library to JavaScript, or converting database column names to API response fields, you need to convert between these formats repeatedly. Doing it manually is error-prone and tedious — a case converter eliminates that friction.

Supported Formats

FormatExampleUsed in
camelCasemyVariableNameJavaScript, Java, TypeScript
PascalCaseMyVariableNameC#, .NET, React components
snake_casemy_variable_namePython, Ruby, Rust, databases
SCREAMING_SNAKEMY_VARIABLE_NAMEConstants in most languages
kebab-casemy-variable-nameCSS, HTML attributes, URLs
dot.casemy.variable.nameJava packages, property files
path/casemy/variable/nameFile paths, REST API routes
Title CaseMy Variable NameHeadings, UI labels
Sentence caseMy variable nameParagraphs, descriptions
UPPER CASEMY VARIABLE NAMEAcronyms, emphasis
lower casemy variable nameNormalization, search
AlternatingmY vArIaBlE nAmEMeme text, sarcasm
Reverseeman elbairaV yMPuzzles, encoding

Real-World Conversion Scenarios

Database to API

SQL columns are typically snake_case (user_first_name), but JSON API responses use camelCase (userFirstName). Convert column names when building serializers.

Python to JavaScript

Porting a Python module to JS means converting every snake_case function and variable name to camelCase.

CSS class naming

Converting component names from PascalCase (React) to kebab-case (CSS) when writing corresponding stylesheets.

Environment variables

Config values in .env files follow SCREAMING_SNAKE_CASE. Convert readable names to this format for deployment configs.

Frequently Asked Questions

Can I convert multiple variable names at once?

Yes. Paste multiple names separated by newlines, and each one will be converted independently. This is especially useful when refactoring a list of database columns or API fields.

How does the converter detect the input format?

The converter splits your input into individual words by detecting separators (underscores, hyphens, dots, spaces, slashes) and camelCase boundaries (lowercase-to-uppercase transitions). It then reassembles the words in your chosen output format.

Does it handle acronyms correctly?

Acronyms like “API” or “HTML” in input text are treated as single words. So parseHTMLResponse converts to parse_html_response in snake_case. This follows the convention used by most code style guides.

Is my text sent to a server?

No. All conversion happens in your browser using JavaScript string manipulation. Your code and variable names are never transmitted anywhere.

More Generators & Tools

🔐
Password
👤
Username
🔑
UUID
#️⃣
Hash
🗝️
API Key
🎨
Color Palette
🔤
Case Converter
📄
Diff Checker

Explore All 46+ Generators

Names, passwords, UUIDs, test data, and much more.

View All Generators