CcConvertCase

Train-Case Converter โ€“ Convert Text to Train-Case

Published 2026-03-25 ยท convertcase.in

Train-Case is a variant of kebab-case where the first letter of each word is capitalised. It resembles Title-Case with hyphens: "My-Component-Name".

Try it now โ€” free instant conversion

No signup ยท No limits ยท Works on all devices

Open ConvertCase โ†’

1What is Train-Case?

"My-Component-Name", "Get-User-Profile" โ€” words separated by hyphens, first letter of each word capitalised.

2Where It's Used

HTTP headers are the most common use: Content-Type, X-Api-Key, Accept-Encoding. Some CSS frameworks and component libraries also use it.

3Converting

Split on spaces โ†’ capitalise each word โ†’ join with hyphens.

Frequently Asked Questions

Is Train-Case the same as HTTP header format?

Yes โ€” HTTP headers follow Train-Case or Pascal-Kebab-Case: Content-Type, Accept-Language.

Related Guides

Free Kebab-case Converter OnlineCOBOL-CASE โ€“ What It Is and Where It's UsedWhat is kebab-case? Definition, Examples & Usage