All tools
Writing tools

Text Case Converter

Convert text between camelCase, snake_case, SCREAMING_SNAKE_CASE, PascalCase, Title Case, kebab-case and more — paste text and all formats appear instantly.

camelCase snake_case PascalCase kebab-case Title Case SCREAMING_SNAKE
Get started free Sign in

Free · No credit card · 50 credits/day

Case format reference

Format Example Used in
camelCase myVariableName JS variables, React props, JSON keys
PascalCase MyClassName Classes, React components, TypeScript interfaces
snake_case my_variable_name Python, Ruby, SQL column names
SCREAMING_SNAKE_CASE MY_CONSTANT_NAME Constants in Python, JS, C, environment variables
kebab-case my-component-name CSS classes, HTML attributes, URL slugs
Title Case My Variable Name Article titles, headings, UI labels

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase: first word lowercase, subsequent words capitalised — myVariableName. Used for JS variables, React props, JSON keys. PascalCase: every word capitalised — MyClassName. Used for class names, React components, TypeScript interfaces. Both join words without spaces or symbols.

When should I use snake_case vs kebab-case?

snake_case: Python variables/functions (PEP 8), Ruby, database column names. kebab-case: CSS class names, HTML attributes, URL slugs. SCREAMING_SNAKE_CASE: constants in Python, JavaScript ES6, C. The choice is dictated by the language's official style guide.

What case should I use for CSS class names?

kebab-case is the accepted convention: .my-component, .btn-primary. BEM extends this: .block__element--modifier. HTML attributes are also kebab-case. Avoid camelCase in CSS — it works but goes against convention and can be confused with JavaScript identifiers.

How do I convert text to Title Case correctly?

True Title Case doesn't capitalise every word. Articles (a, an, the), coordinating conjunctions (and, but, or) and short prepositions (in, on, at, of) are lowercase unless first or last. Example: "The Rise of AI in Everyday Life" — not "The Rise Of Ai In Everyday Life". Sentence case (first word only) is increasingly used in UI and content marketing.

Related writing tools

More text transformation tools.

TTS Script Formatter

Clean and reformat text for speech engines.

Sentence Rewriter

Rewrite sentences with AI while preserving meaning.

Emoji Picker & Search

Search and copy emojis to add to converted text.

Convert any text case in one click

Free account. 50 credits per day. Access to 75+ tools instantly.

Create free account →