Text

Case to PascalCase

Free and instant online tool to convert normal text, strings, or variables into PascalCase.

Input Text
pascal-case Result
100% Secure
Fast Conversion
High Accuracy

Free Online PascalCase Converter

Our string formatting tool instantly transforms your normal text, sentences, or code variables into PascalCase. Simply paste your content, and the tool will automatically handle spaces and capitalization.

How to convert

1. Paste Case text

Paste or type your Case content into the input area.

2. Conversion Process

Our tool automatically converts your text to PascalCase format with the best possible settings.

3. Copy PascalCase

The conversion is complete. You can now copy the result directly to your clipboard.

Frequently Asked Questions

Conversion Specs

InputCase
OutputPascalCase
SafetyHTTPS / Auto-delete
Price
Free

Using code

pascalCase

Converts a given string to PascalCase by splitting it into words (handling spaces, underscores, and camelCase/UPPERCASE boundaries), capitalizing the first letter of each word, lowercasing the rest, and joining them together without any separator.

Parameters

NameTypeDescription
textstringThe string.

Returns

stringThe pascal cased string.
npm i @razomy/string-case
import {pascalCase} from '@razomy/string-case';

pascalCase('foo bar');
// => FooBar

pascalCase('foo_bar');
// => FooBar

pascalCase('FOO BAR');
// => FooBar