Skip to content
Convertto
kebabcasepascalcase

kebab-case to PascalCase Converter

Convert kebab-case text to PascalCase — one line or a whole list at once.

To convert kebab-case to PascalCase, paste your text above and the result updates as you type. user-account-id becomes UserAccountId. Word boundaries are detected from the existing casing, so an identifier does not need separators to be split correctly. PascalCase names types, classes and React components — the leading capital is what distinguishes a component from an element in JSX.

Runs in your browser

About converting KEBABCASE to PASCALCASE

kebab-case is used for URLs, CSS class names and HTML attributes. It cannot be a variable name in most languages, because the hyphen reads as subtraction. PascalCase names types, classes and React components — the leading capital is what distinguishes a component from an element in JSX. Converting kebab-case to PascalCase turns user-account-id into UserAccountId; acronyms are the awkward case in every direction, since "userID" and "userId" split differently and only one of them round-trips.

Convert PASCALCASE to KEBABCASE insteadOpen the full Case Converter

Share this converter