Convert text between different cases instantly. Click any case button to convert your text.
Different programming languages and naming conventions use different case formats. Understanding when to use each one is important for writing clean, consistent code.
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.
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.
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.
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.
Yes. Everything runs in your browser. Your text is never sent to any server.