Free tools for developers

Text Case Converter

Convert text between different cases instantly. Click any case button to convert your text.


Text Case Formats Explained

Different programming languages and naming conventions use different case formats. Understanding when to use each one is important for writing clean, consistent code.

Programming Case Formats

camelCase is used for variables and functions in JavaScript, Java, and C#. PascalCase is used for class names in most object-oriented languages. snake_case is used in Python for variables and functions. kebab-case is used in CSS class names and HTML attributes. CONSTANT_CASE is used for constants and environment variables.

Text Case Formats

Title Case capitalises the first letter of each word. It is used in headings and titles. Sentence case only capitalises the first letter of the first word. It is used in normal prose and UI labels.


Frequently Asked Questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter and capitalises the first letter of each subsequent word. PascalCase capitalises the first letter of every word including the first one. In JavaScript functions are usually camelCase and classes are PascalCase.

When should I use snake_case vs kebab-case?

Use snake_case in Python code and for database column names. Use kebab-case in CSS class names and HTML attributes. Both separate words with a special character instead of capitalisation.

Is my text safe?

Yes. Everything runs in your browser. Your text is never sent to any server.