Host a header file and share it as a link

Put a .h file at a public address that displays as readable source — the interface others code against.

You can host:

Free to use. Your H file is live at your-name.99helpers.site in about ten seconds.

What is a .h file?

A header file declares the functions, types and constants that other code can use — the interface rather than the implementation. Single-header libraries take this further, putting an entire library in one .h file precisely so it can be dropped into a project without a build system.

What people use H files for

  • API and interface documentation
  • Single-header libraries
  • Shared type definitions
  • Examples showing how to use a library

What opens a H file

  • Any browser, which displays it as text
  • Every C and C++ compiler
  • VS Code, CLion and every editor

How to host a H file

  1. 1

    Drop your H file in

    Drag it onto the box at the top of this page, or click to choose it. Files up to 25 MB are supported, and nothing is uploaded until you publish.

  2. 2

    Pick an address

    Type a name and we'll tell you straight away whether it's free. That becomes the link: library.99helpers.site

  3. 3

    Publish and share

    Create a free account — that step exists so the file is yours to update, replace or delete — and the link is live within seconds.

The same three steps work for any file — see how file hosting works on 99helpers.com.

What happens when someone opens the link

The source displays as text, so the interface can be read directly in the browser.

Why host a H file instead of emailing it?

A single-header library is the one case where a file genuinely is the whole library, and a stable URL is a perfectly reasonable way to distribute it.

Worth knowing before you publish

  • Single-header libraries are the classic case for hosting a .h on its own.
  • Include the licence in a comment at the top, as single-header libraries conventionally do.
  • Never include credentials or internal system details in a public header.

H hosting questions

Will the header code display or download?
It displays as text in the browser, with formatting and indentation exactly as uploaded — so people can read it before copying or running anything.
Is it safe to host source code publicly?
The file is readable by anyone with the link, so it's fine for code you'd put in a public repository and wrong for anything containing keys, tokens or credentials.
Can I host a whole project?
Yes — upload the folder rather than a single file and it publishes as a set of files, or host a .zip of the project for people to download.

Put your H file online now

It takes about ten seconds, and you only make an account once the file is ready to go live.