Menu

在线将 帕斯卡命名 转换为 短横线命名

帕斯卡命名 to 短横线命名 converter

Searching for a 帕斯卡命名 to 短横线命名 converter usually means you have messy text and need a dependable 短横线命名 version fast. Paste anything in the box above—sentences, product names, or variable fragments—and the result updates live. As a quick check, “Hello World Example” becomes “hello-world-example”.

How this conversion works

Words are lowercase and separated by hyphens (-).

Often used in HTML attributes, CSS classes, and route slugs. Teams often land here from 帕斯卡命名 searches when they already have a draft string and want reliable 短横线命名 output.

Worked example

Suppose you are cleaning up copy before publish:

  • Paste: Hello World Example
  • Choose 短横线命名 as the output style.
  • Second try: “Quick-Brown Fox” → “quick-brown-fox”.
You get: hello-world-example — ready to copy into your doc, CMS, or codebase.

关于单位

帕斯卡命名

PascalCase names such as UserProfileId.

Helpful reference when your source string already looks like 帕斯卡命名.

短横线命名

Produces kebab-case tokens that work in URLs and CSS.

This page outputs 短横线命名 so you can paste into docs, UI, or repositories.

When teams use this

  • Normalize variable or file names when moving between languages and style guides.
  • Fix accidental caps lock in customer-facing headings before go-live.
  • Prepare slug-friendly strings for URLs, anchors, and design tokens.
  • Compare how a phrase looks in 帕斯卡命名 versus 短横线命名 before picking a convention.

常见问题

Route from component `UserProfile`?

Type `User Profile` or `user-profile` source—hyphens appear when words are separated in input.

Custom element tags?

Web components sometimes kebab-case tag names from Pascal component names—use spaced input.

Docs URL vs export name?

URL `user-profile`, file `UserProfile.tsx`—different converters for each hop.

Glued Pascal limitation?

`UserProfile` alone becomes `userprofile` in kebab mode without hyphens—add separators first.

结论

Use this 帕斯卡命名 to 短横线命名 page when you want fast, readable 短横线命名 text without a spreadsheet formula or manual retyping. Bookmark it for the next time design, marketing, or engineering needs the same casing call.