Convert a list of names

Use this page for names such as database columns, properties or variables. Conversion runs in the browser without sending the entered names in conversion requests.

  1. Paste the names or load the example: order_id; auth_code; total_amount; on separate lines.
  2. Choose To PascalCase to get OrderId; AuthCode; TotalAmount;, keeping the semicolons and line breaks. Choose To snake_case for the reverse naming style.
  3. Copy the result. Editing the input or loading the example clears the previous result; Clear empties both areas.

Naming rules used by this converter

Capital boundaries and abbreviations

CamelCaseTest becomes camel_case_test and getHTTPResponse becomes get_http_response. An uppercase run is kept together until a following capital begins a lowercase word. XMLHTTPRequest therefore becomes xmlhttp_request: the tool cannot infer a boundary between XML and HTTP.

PascalCase joins underscore-separated ASCII letter and digit groups and capitalizes each group's first character. user__name becomes UserName; leading and trailing underscores remain, so __private_value__ becomes __PrivateValue__. Existing capitals inside a group remain: ORDER_ID becomes ORDERID.

Text conversion, not a source-code parser

Spaces, tabs, punctuation and line breaks are kept; spaces and hyphens do not join words. user-name becomes User-Name in the PascalCase direction. The text area normalizes pasted CR and CRLF line endings to LF.

Only ASCII letter casing and boundaries are processed. Non-ASCII characters remain themselves, but nearby ASCII runs can change: école becomes éCole in PascalCase. JSON values, comments and quoted strings are not protected from conversion.

Questions about naming conversion

Does the tool produce lowerCamelCase?

The underscore-to-capitals action produces PascalCase, with an uppercase initial, preserving the original tool's direction. There is no separate lowerCamelCase or kebab-case output mode.

Can every result be converted back exactly?

No. snake_case lowercases ASCII capitals, and PascalCase can remove repeated internal underscores. Acronym spelling and original separators cannot always be reconstructed. Input is limited to 6,000 UTF-16 code units; an emoji usually uses two. Empty input and errors clear the old result.

Recent tools: