Text Tool

Text Case Converter

Convert text between 9 different case formats: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, and CONST_CASE. Instant results, one click.

text case converteruppercase converterlowercase convertercamelCase convertersnake_case converterkebab-case generatortitle case converterPascalCase online

🛠️ Text Case Converter

Converted text appears here.

❓ Frequently Asked Questions — Text Case Converter

What is a text case converter and what does it do?

A text case converter transforms text between different letter case formats instantly. Vicspot's free converter supports 9 formats:

  • UPPERCASE — ALL CAPITAL LETTERS
  • lowercase — all small letters
  • Title Case — First Letter Of Each Word
  • Sentence case — Only first letter of sentence
  • camelCase — firstWordLower, RestCapitalized (JavaScript)
  • PascalCase — EveryWordCapitalized (Classes)
  • snake_case — words_separated_by_underscores (Python)
  • kebab-case — words-separated-by-hyphens (CSS)
  • CONST_CASE — CONSTANT_VARIABLE_NAMES

What is the difference between camelCase, PascalCase, snake_case, and kebab-case?

These are standard programming naming conventions used in different contexts:

  • camelCasegetUserData — JavaScript variables, JSON keys, React props
  • PascalCaseUserProfile — Class names in Python, Java, C#, TypeScript
  • snake_caseget_user_data — Python variables, Ruby, database columns
  • kebab-caseuser-profile — CSS classes, HTML attributes, URL slugs
  • CONST_CASEMAX_RETRIES — Constants in all major languages

Use our free camelCase converter and snake_case generator to switch between any of these formats instantly.

Which naming convention should I use for CSS class names?

kebab-case is the universally accepted standard for CSS class names. Examples: .nav-bar, .hero-section, .btn-primary, .card-title.

This is consistent with CSS's own property syntax (background-color, font-size, border-radius). All major frameworks use it: Bootstrap, Tailwind CSS, Bulma, and BEM methodology.

Use our free kebab-case converter to convert any variable or class name instantly.

What naming convention does Python use?

Python follows PEP 8 — its official style guide:

  • snake_case → variables, functions, methods: user_name, get_data()
  • PascalCase → class names: UserProfile, DatabaseConnection
  • CONST_CASE → constants: MAX_RETRIES, API_BASE_URL
  • snake_case → module and package names: my_module, data_utils

Use our snake_case generator online to quickly convert any text to Python-compatible naming.

What is Title Case and when should I use it?

Title Case capitalizes the first letter of every word. Example: the quick brown foxThe Quick Brown Fox.

Use Title Case for:

  • Blog post titles and article headlines
  • Book and chapter titles
  • HTML <title> tags and browser tab titles
  • Product names and brand names
  • Navigation menu items

Our free title case converter converts any text to Title Case instantly — no signup needed.

How do I convert text to camelCase for JavaScript?

Paste your text above and click camelCase. Examples:

  • get user data from apigetUserDataFromApi
  • background colorbackgroundColor
  • on click handleronClickHandler

Our camelCase converter removes special characters, lowercases the first word, and capitalizes each subsequent word — ready to paste as a JavaScript variable, function name, object property, or React prop name.

What is Sentence case vs Title Case?

Sentence case — Only the first word is capitalized (like a normal sentence):

The quick brown fox jumps over the lazy dog

Title Case — Every word is capitalized:

The Quick Brown Fox Jumps Over The Lazy Dog

Sentence case is used for body text, UI button labels, social media captions, and conversational content. Google's Material Design and Apple's HIG both recommend Sentence case for UI text. Title Case is for formal titles, headlines, and document names.

How to Use the Text Case Converter

  1. Type or paste your text into the input box above.

  2. Click any of the case conversion buttons: UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, or CONST_CASE.

  3. The converted text appears instantly in the output box below the buttons.

  4. Click Copy to copy the result to your clipboard.

Text Case Formats Explained