Pascal Case Converter

將每個 token 首字母大寫並移除分隔符號。

免費、私密,並在你的瀏覽器中處理。

偵測:snake_case
PascalCase 輸出
UserProfileImageUrl

所有命名格式

camelCase
userProfileImageUrl
PascalCase
UserProfileImageUrl
snake_case
user_profile_image_url
kebab-case
user-profile-image-url
CONSTANT_CASE
USER_PROFILE_IMAGE_URL
dot.case
user.profile.image.url
path/case
user/profile/image/url

轉換會在瀏覽器本機執行,輸入不會傳送到轉換伺服器。

範例

輸入輸出
user profile imageUserProfileImage
user_profile_imageUserProfileImage
user-profile-imageUserProfileImage

此轉換器如何運作

貼上文字或識別字後,工具會偵測單字邊界與常見分隔符號,再依所選命名慣例格式化結果。

  • 依常見分隔符與 case 邊界切分單字。
  • 每個 token 首字母大寫並直接串接。

常見使用情境

產生 class、type、component、enum、model 名稱。

將片語與既有識別字統一為 UpperCamelCase。