Tools
Uppercase and Lowercase Converter
Transform text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and PascalCase with one click. For developers, writers and content creators.
Naming conventions are an essential part of clean code
Choosing the right capitalization style is not just a matter of personal preference. It is a convention every development team follows to keep code readable and consistent. Mixing camelCase with snake_case in the same project creates cognitive friction and makes maintenance harder.
For writers and content creators, case conversion also solves practical problems: normalizing text copied from sources with inconsistent capitalization, formatting headlines correctly and adapting variable names when switching languages.
Naming conventions by programming language
Every ecosystem has its established conventions. JavaScript/TypeScript: camelCase for variables and functions, PascalCase for classes and React components, SCREAMING_SNAKE_CASE for module constants. Python (PEP 8): snake_case for variables and functions, PascalCase for classes, SCREAMING_SNAKE_CASE for constants. Java and C#: camelCase for variables and methods, PascalCase for classes and public properties.
CSS uses kebab-case for custom properties and class names: .card-header, --primary-color. SQL conventionally uses snake_case for tables and columns: users, created_at. Following your ecosystem's conventions makes it easier to work with linters, automatic documentation and other developers.
Kebab-case in URLs and its impact on SEO
For web page URLs, kebab-case (words separated by hyphens) is the best practice recommended by Google. Googlebot treats hyphens as word separators, which lets each term in the URL be indexed individually. This helps each keyword in the slug rank.
The URL /tools/password-generator is better than /tools/passwordGenerator or /tools/password_generator. Besides SEO, hyphenated URLs are easier to read when printed or shared where links are not clickable, and they work correctly on every server without case-sensitivity issues.
Fixing capitalization in copied text
A very common use of this tool is normalizing text copied from sources with irregular capitalization, such as text from scanned PDFs, data exported from legacy systems, TEXT WRITTEN ENTIRELY IN CAPITAL LETTERS or spreadsheet data with inconsistent casing.
Instead of fixing it word by word, paste the text here, pick the style you want and copy the result. For lists of people's names, converting to Title Case covers most cases. For database data that will be used in code, converting to snake_case or camelCase removes the manual reformatting work.
Case in different web development contexts
In a full-stack web project you will probably use several styles in different contexts: kebab-case in CSS files and URLs, camelCase in JavaScript variables, snake_case in database columns, PascalCase in React components and backend models. This variety is normal, since each convention is optimized for its context.
The tool is especially useful when bridging layers: when you receive a full_name field from the database and need to pass it as a fullName prop to a React component, or when you create a URL from an article title that has to become a kebab-case slug without accents.
Frequently asked questions
When should I use camelCase vs snake_case?
The convention depends on the language and context. JavaScript uses camelCase for variables and functions (myVariable, calculateTotal) and PascalCase for classes and React components (MyClass, SubmitButton). Python uses snake_case for variables and functions (my_variable, calculate_total) and PascalCase for classes. SQL and relational databases use snake_case for columns (full_name, birth_date). Follow your ecosystem's convention for consistency.
What is Title Case?
Title Case capitalizes the first letter of each major word, keeping short words such as prepositions and articles lowercase ('a', 'an', 'the', 'in', 'on'). It is widely used in article, product and movie titles. This tool capitalizes the first letter of every word, so adjust it manually if your context needs it.
Why do URLs use kebab-case and not underscores?
Google treats hyphens as word separators in URLs, which makes it easier to recognize individual terms for SEO. Underscores in URLs are treated as connectors, so 'my_page' is read as a single word 'mypage'. That is why 'how-to-create-a-site' is better than 'how_to_create_a_site' for ranking. Google's John Mueller has publicly confirmed this preference. Use kebab-case in all slugs and URL paths.
What is PascalCase and when should I use it?
PascalCase (also called UpperCamelCase) capitalizes the first letter of every word, including the first: MyClass, ModalComponent, PriceCalculator. It is the standard convention for class names in virtually every object-oriented language (Java, C#, Python, JavaScript), for components in React, Vue and Angular, and for types and interfaces in TypeScript.
How do I name constants in programming?
Global constants and fixed values are conventionally written in SCREAMING_SNAKE_CASE (all uppercase with underscores): MAX_RETRIES, MONTHLY_INTEREST_RATE, API_BASE_URL. This convention exists in JavaScript (const MAX = 100), Python, Java and many other languages. It immediately signals that the value should not be modified and has global or module scope.
Which case should I use for file names?
It depends on the project and the platform. In web projects, kebab-case is the safest convention for file names (my-component.js, about-us.html) because it works on every operating system, including case-sensitive Linux. React components often use PascalCase (SubmitButton.tsx). Avoid spaces in file names, since they cause problems in automation scripts and terminals. Pick one convention and stay consistent across the whole project.

