PascalCase Converter
Convert text to PascalCase. Capitalise every word, remove spaces and punctuation — the convention for class names, React components, and .NET types.
Enter some text above to see all case conversions
About PascalCase
PascalCase capitalises the first letter of every word and removes whitespace and punctuation. "user profile form" becomes "UserProfileForm"; "http request context" becomes "HttpRequestContext". Named after the Pascal programming language (which used the style in its system identifiers), PascalCase is sometimes called "UpperCamelCase" to distinguish it from regular camelCase — which differs only in the first letter. When to reach for PascalCase: JavaScript and TypeScript class names (UserProfile, HttpClient), React component names (a hard requirement — JSX treats lowercase tags as HTML elements and capitalised tags as components), TypeScript interface and type names (preferred by the official TS style guide), C# classes, properties, and public methods (.NET conventions use PascalCase for almost everything public), Go exported identifiers (Go uses initial-capital as the export-visibility marker, equivalent to PascalCase for multi-word names), Swift type names, Rust types and traits (but not variables, which use snake_case). Acronym handling varies by style guide. Modern JavaScript and TypeScript favour "HttpRequest" / "ParseXml" (only first letter of acronyms capitalised beyond the initial word). Older .NET and Java style often prefer "HTTPRequest" / "ParseXML". Both parse the same; consistency per codebase matters more than picking the universally correct answer (there isn't one).
Features
- Convert text to uppercase, lowercase, or title case
- Support for camelCase, snake_case, and kebab-case
- Sentence case and other formatting options
- Copy converted text to clipboard instantly
How to Use
- Paste or type your text into the input area
- Click the desired case conversion button
- View the converted text in the output area
- Copy the result using the copy button
Frequently Asked Questions
Is PascalCase the same as UpperCamelCase?
Yes, exactly. PascalCase and UpperCamelCase are synonyms for the same style: first letter of every word capitalised, no separators. "PascalCase" is the more common name in modern documentation; "UpperCamelCase" still appears in older style guides (especially Sun's original Java conventions).
Why must React component names be PascalCase?
JSX's naming rule: lowercase first letter = DOM element (<div>, <span>), capitalised first letter = React component (<MyComponent>). Without this rule the transpiler can't tell components from elements. Naming a component "myButton" instead of "MyButton" will cause React to render nothing and silently fail.
What's the difference between PascalCase and Title Case?
PascalCase has no whitespace ("UserProfile"). Title Case keeps whitespace ("User Profile"). Title Case is for display text (book titles, section headings); PascalCase is for identifiers. Converting from one to the other is just a question of whether you strip the spaces.
Do Python and Ruby use PascalCase for anything?
Yes — class names. Python class naming (PEP 8) and Ruby class naming both use PascalCase (Python calls it CapWords, Ruby just follows the de-facto convention). Methods, variables, and constants in both languages use snake_case or CONSTANT_CASE, so the contrast between class name and method name is visual-grep-friendly.
Other Text Case Converter variants
camelCase
Convert any text to camelCase. Remove spaces and punctuation, lowercase the first word, capitalise the rest. Standard JavaScript variable-naming convention.
snake_case
Convert any text to snake_case. Lowercase words joined by underscores — the Python, Ruby, and SQL column convention.
kebab-case
Convert any text to kebab-case. Lowercase words joined by hyphens — the standard for CSS class names, URL slugs, and npm package names.
Title Case
Convert any text to Title Case. Capitalise the first letter of each word, keep whitespace — for book titles, chapter headings, and AP-Style headlines.