SlugGenerator.app

PascalCase Converter

Convert any text to PascalCase format. Used for class names, React components, TypeScript types, and programming identifiers.

Try:

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

ConventionExampleFirst letterUsed for
PascalCaseMyVariableUppercaseClasses, types, components
camelCasemyVariableLowercaseVariables, 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

Slugify Online

Slugify text instantly online

🔒

Permalink Generator

Create clean permanent URLs

🌐

WordPress Slug Generator

Generate slugs for WordPress

✍️

Blog Slug Generator

Generate slugs for blog posts

🏷️

Product Slug Generator

Generate slugs for product pages

Aa

Case Converter

Convert text to any case format

aA

CamelCase Converter

Convert text to camelCase

Tt

Title Case Converter

Capitalize text in title case

Ss

Sentence Case Converter

Convert text to sentence case

k-c

Kebab Case Converter

Convert text to kebab-case

s_c

Snake Case Converter

Convert text to snake_case

aLt

Alternating Case

Convert text to aLtErNaTiNg CaSe

d.c

Dot Case Converter

Convert text to dot.case

C_C

Constant Case Converter

Convert text to CONSTANT_CASE

🔢

Word Counter

Count words, characters & sentences

📄

Lorem Ipsum Generator

Generate placeholder text

📋

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

Em Dash Remover

Replace em dashes with commas or hyphens

👁

Invisible Character Detector

Find hidden Unicode characters with code points

%20

URL Encoder / Decoder

Encode & decode URLs online

📊

UTM Builder

Build campaign tracking URLs

{}

JSON Keys to camelCase

Convert JSON keys to camelCase

{_}

JSON Keys to snake_case

Convert JSON keys to snake_case