Word Counter - Count Words, Characters & Reading Time
Essays, speeches, blog posts and application forms all come with word limits. Paste or type your text below and every count updates live - no button to press, nothing uploaded, and the estimate of reading and speaking time helps you plan presentations and videos.
Free Train-Case Converter
Convert any text to Train-Case instantly. Paste your text — the result updates live, free, with no sign-up.
About this tool
Train-Case (also called HTTP-Header-Case) capitalises each word and joins with hyphens: Content-Type, X-Request-Id, Cache-Control. It is the casing of HTTP headers, where it has been the convention since the web began.
Outside headers it is rare, which is exactly why it is memorable — use it where you need a capitalised, hyphenated label, such as CSS custom properties in some design systems.
Worked example
['An API document lists the header as X-Rate-Limit-Remaining — Train-Case makes it instantly recognisable as a header, not a variable.']
Where Train-Case is used
Train-Case — every word capitalised, joined by hyphens — has one habitat so universal that you used it today: HTTP headers. Content-Type, User-Agent, X-Requested-With and Cache-Control are all Train-Case, a convention inherited from email headers of the 1980s that the entire web still runs on. Header names are technically case-insensitive, but Train-Case is how they are written everywhere.
It also survives as a headline style in some print traditions and in title-like identifiers where both readability and a separator are needed. If you are defining custom headers, naming header-like fields in an API, or matching a document standard that writes names this way, this converter applies the pattern consistently — including to words you would otherwise have to judge one by one.
Frequently asked questions
Train-Case or Title Case?
Both capitalise words; Train-Case joins them with hyphens into one identifier (Content-Type), Title Case leaves spaces (Content Type). Headers need the hyphens.
Is Train-Case used anywhere in code?
Rarely — mainly in header names and some design tokens. For identifiers in code, PascalCase fills the same niche.
Are HTTP headers really case-insensitive?
Yes — the HTTP specification says header names are case-insensitive, so content-type and Content-Type are the same header. Train-Case is pure convention, but it is a convention every framework, document and developer follows, so matching it keeps your code and API documentation looking native.
Related Text Tools
Embed this tool on your website — free
Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.