Converts a string into Pascalcase format, where each word starts with an uppercase letter and no separators remain. Use it when you need class-like or identifier-style naming.
-
Convert a product type to pascalcase
{{pascalcase record.product.type}}Input:
{ "record": { "product": { "type": "hand crafted item" } } }Output:
HandCraftedItem
-
Convert from dash-separated string
{{pascalcase record.category}}Input:
{ "record": { "category": "new-arrival-products" } }Output:
NewArrivalProducts
-
Preserve numbers
{{pascalcase record.code}}Input
{ "record": { "code": "order_123_id" } }Output
Order123Id
Tip
-
Numbers remain unchanged but are preserved in the output (e.g.,
"order_123_id"→Order123Id). -
Non-string datatype inputs (like numbers or boolean) are converted to strings before processing. Arrays of primitive types (like strings or numbers) are converted into a comma-separated string before processing. If inputs are objects or object arrays, the output will be unusable.
-
Supported separators: space, dash, underscore, and mixed combinations.
-
Useful for naming conventions in code generation, integration keys, or system identifiers.
-
Unlike
camelcase, the first letter is always uppercase.