PascalCase Converter
Convert any text to PascalCase format. Used for class names, React components, TypeScript types, and programming identifiers.
Options
What Is PascalCase?
PascalCase (also called UpperCamelCase or StudlyCase) is a naming convention where the first letter of every word is capitalized and all words are joined without spaces or separators. For example: MyClassName,UserProfileService, HttpResponseCode.
PascalCase vs camelCase
| Convention | Example | First letter | Used for |
|---|---|---|---|
| PascalCase | MyVariable | Uppercase | Classes, types, components |
| camelCase | myVariable | Lowercase | Variables, functions, methods |
Where PascalCase Is Used
- C# / .NET — classes, methods, properties, namespaces
- Java — class names and interfaces
- React / Next.js — component names (
UserProfile,NavBar) - TypeScript — interfaces, types, enums
- Go — exported (public) identifiers
- Swift — types, protocols, enum cases
- Kotlin — classes and objects
Convert snake_case to PascalCase
Paste your snake_case text (e.g., user_first_name) into the converter above. The tool splits on underscores and capitalizes each word to produce UserFirstName.
Convert kebab-case to PascalCase
Similarly, kebab-case input like my-component-nameis converted to MyComponentName. This is useful when converting CSS class names or URL slugs to React component names.
FAQ
Is PascalCase the same as Title Case?
No. Title Case keeps spaces between words (“My Variable Name”) while PascalCase removes them (MyVariableName). Title Case is for human-readable text; PascalCase is for code identifiers.
When should I use PascalCase vs snake_case?
Follow your language's convention. C#, Java, and TypeScript types use PascalCase. Python and Ruby use snake_case for most identifiers. Mixing conventions in the same codebase is considered bad practice.
Related Tools
Slug Generator
Convert text to URL slugs
URL Slug Generator
Create SEO-friendly URL slugs
Text to Slug
Transform any text into a slug
Kebab Case Converter
Convert text to kebab-case
Slugify Online
Slugify text instantly online
Permalink Generator
Create clean permanent URLs
Snake Case Converter
Convert text to snake_case
CamelCase Converter
Convert text to camelCase
Title Case Converter
Capitalize text in title case
Sentence Case Converter
Convert text to sentence case
Case Converter
Convert text to any case format
Alternating Case
Convert text to aLtErNaTiNg CaSe
Dot Case Converter
Convert text to dot.case
Constant Case Converter
Convert text to CONSTANT_CASE
JSON Keys to camelCase
Convert JSON keys to camelCase
JSON Keys to snake_case
Convert JSON keys to snake_case
WordPress Slug Generator
Generate slugs for WordPress
Blog Slug Generator
Generate slugs for blog posts
Product Slug Generator
Generate slugs for product pages
Plain Text Converter
Strip formatting, clean text
Duplicate Line Remover
Remove duplicate lines from text
Remove Empty Lines
Remove blank lines from text
Sort Lines Alphabetically
Sort text lines A-Z or Z-A
Remove Line Breaks
Join lines into one paragraph