snake_case to PascalCase converter
Paste snake_case names and get them in PascalCase, where every word starts with a capital and nothing separates them.
Loading the tool…
Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.
How to use it
- Enter snake_case names (one per line or inside text).
- The result appears straight away and updates as you edit.
- Copy the result, or copy a link that keeps the same values to share it.
How it is calculated
Each snake_case name is split into words at the underscores, and at any capital that follows a lowercase letter. Every word then starts with a capital and the rest of it is lowercase, with no separator. Symbols and spaces around the names are left as they are. Example: user_profile becomes UserProfile.
Example
Result: PascalCase result: UserProfile OrderLineItem PaymentMethod; Names processed: 3.
user_profile order_line_item payment_method
UserProfile OrderLineItem PaymentMethod
Limits and caveats
- Every word in the pasted text is converted, including keywords and library names, so review the result before pasting it into code.
- Arabic and other scripts without capital letters lose their word breaks in this style, so the words run together.
Questions about this tool
When do I need PascalCase?
For class names in Python, Java and C# and for React component names, so the model for a table called order_line_item is usually named OrderLineItem.
What happens to numbers?
They stay in place with no separator, so sales_2025_report becomes Sales2025Report.
Is the plural s removed from a table name?
No, the words themselves are not changed, so user_accounts becomes UserAccounts; make it singular yourself if needed.
