Header-Case Converter — Free Online Tool
Last updated: January 2025
What is Header-Case Converter?
Header-Case (identical to Train-Case) capitalizes the first letter of each word separated by hyphens.
When to use Header-Case Converter?
Use Header-Case for HTTP headers like Content-Type, Authorization, and X-API-Key.
How to use this tool
- 1Paste your text
- 2Click 'Convert' for Header-Case output
- 3Copy for HTTP header names
Examples
| Input | Output |
|---|---|
| content type | Content-Type |
| x api key | X-Api-Key |
| cache control | Cache-Control |
| accept encoding | Accept-Encoding |
| authorization bearer | Authorization-Bearer |
Rules & Behavior
- First letter of each word is capitalized
- Words separated by hyphens
- Standard for HTTP header names
Related Tools
Frequently Asked Questions
What is Header-Case?
Header-Case (also called Train-Case) capitalizes each word and separates them with hyphens: Content-Type, Cache-Control, X-Forwarded-For.
Is Header-Case the same as Train-Case?
Yes, Header-Case and Train-Case describe the same convention.
Why is it called Header-Case?
Because it's the standard formatting for HTTP request and response header names.
Are HTTP headers case-insensitive?
HTTP/1.1 headers are case-insensitive by specification, but conventional tools use Title-Case (Header-Case) formatting for readability.
What's the difference from Title Case?
Title Case is for human-readable titles (spaces between words). Header-Case uses hyphens and follows the same capitalization but for code identifiers.