TC

Header-Case Converter — Free Online Tool

Last updated: January 2025

Your text is processed locally — we never store your data. Free forever, no signup.
0 characters
Your Header Case Converter result will appear here

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

  1. 1Paste your text
  2. 2Click 'Convert' for Header-Case output
  3. 3Copy for HTTP header names

Examples

InputOutput
content typeContent-Type
x api keyX-Api-Key
cache controlCache-Control
accept encodingAccept-Encoding
authorization bearerAuthorization-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.