Skip to content
ONE HTML FILE: UP TO 10 MB, FREE

GitHub Pages for a single HTML file, without a repository

GitHub Pages always publishes from a repository, so to host a single HTML file without a repo and without a signup for free, drop it straight onto ship.page or serve a GitHub Gist through raw.githack. ship.page is free forever with no credit card and turns an .html file up to 10 MB, a folder or a .zip up to 25 MB (100 MB unpacked, 100 files per upload) into a live HTTPS link in seconds.

Ready to ship

A file. A folder. A fresh start.

Your static site, one link away.

No account needed

Shipping…

Uploading publishes your file. The link is public but unlisted, not password-protected, so leave out secrets and confidential content.

Needed on ship.page or with a Gist and raw.githack
0 repos
Max single HTML file size on every ship.page plan
10 MB
Free ZIP limit on ship.page (100 MB unpacked, 100 files)
25 MB ZIP
Free forever with no signup, no credit card and no ads
$0

How to publish one HTML file without creating a repository

  1. Name your file index.html or keep your single .html file

    If you have one self-contained .html file up to 10 MB, you can upload it directly. If your page uses separate CSS, JavaScript or images, put them in a folder or a .zip up to 25 MB with index.html as the homepage.

  2. Drop the file, folder or ZIP onto ship.page

    Open ship.page in your browser and drag in your .html file, folder or .zip, pick it from your computer, or paste the HTML code directly. You do not need a GitHub account, a repository, an email address or a credit card.

  3. Share the live HTTPS link or QR code

    Your page goes live in seconds on its own subdomain over HTTPS, and the success screen gives you a QR code with a PNG download. Publish without an account, or claim the page with a free account (no card) to manage it from a dashboard.

Three ways to put a single HTML file online

RouteNeeds a repositoryAccountAddress
ship.pageNo, upload the file, ZIP or folderNone required to publishIts own HTTPS subdomain
raw.githackNo if you use a GitHub Gist (or yes for a repo)GitHub account to create the Gistraw.githack.com URL
GitHub PagesYes, a public repo on GitHub FreeGitHub account requiredusername.github.io/repository

Can GitHub Pages work without a repository?

No. GitHub Pages always publishes from a repository, so even one HTML file requires a GitHub account, a public repository on GitHub Free, and Pages enabled in your settings. Once you turn it on, the page goes live a few minutes later at username.github.io/repository.

You do not need Git installed on your computer to do this. GitHub's web uploader (Add file, then Upload files) accepts up to 100 files at a time and 25 MiB per file in the browser, and you then pick the branch under Settings, then Pages.

GitHub Pages is a strong choice when you want a custom domain or a site up to 1 GB with a 100 GB monthly soft bandwidth limit and 10 builds an hour. Keep in mind that GitHub Pages is not allowed as free hosting for a commercial, e-commerce or SaaS business. For a deeper side-by-side breakdown, see our GitHub Pages comparison.

How to render an HTML file from GitHub or Gist with raw.githack

If you already have a GitHub account and want to skip creating a full repository, you can paste your HTML into a GitHub Gist. GitHub serves raw Gist and repository files as plain text rather than web pages, so opening the raw link in a browser only shows your source code.

raw.githack.com serves HTML files from GitHub, Gist, GitLab and Bitbucket with the right content type so browsers render them as live pages. You paste your file's URL into raw.githack.com and copy the generated link.

Production URLs on raw.githack that are pinned to a specific tag or commit are cached permanently. The service is free, comes with no uptime guarantee, and shows visitors a one-time confirmation page per repository every 24 hours.

When to skip GitHub and upload the HTML file directly

When your goal is simply to turn an HTML file into a URL in a few seconds, creating a repository or a Gist adds steps you do not need. On ship.page, you drag in the .html file, a folder (up to roughly 7 MB of files encoded in a single 10 MB request) or a .zip, or paste your HTML straight into the browser.

Every upload is served over HTTPS with a noindex header so search engines leave it out, and ship.page never lists uploads anywhere public. Only people with the link can open it, whereas a free GitHub Pages repository is public to anyone browsing your GitHub profile.

If you want to publish HTML without GitHub and later need to update the page in place, ship.page Pro is $4 a month (billed monthly, cancel anytime). Pro pages don't expire while you're on Pro, let you re-upload or edit a page while keeping the same link, remove the small closable badge, add password protection, raise limits to 100 MB ZIPs (400 MB unpacked) and 10,000 files, and include up to 5 custom subdomains like yourname.ship.place.

  • Pick ship.page for instant, unlisted sharing of a single HTML file up to 10 MB with no account.
  • Pick raw.githack when your HTML file already lives in a GitHub Gist, GitLab or Bitbucket.
  • Pick GitHub Pages when you want version control, a custom domain or a public project site up to 1 GB.

Tip: If you only have one standalone document, follow our guide to host a single HTML page for tips on inlining images, CSS and scripts.

Questions

Can I host a single HTML file on GitHub Pages without creating a repository?

No. GitHub Pages only builds and publishes from a GitHub repository. Even if you only have one index.html file, you must create a repository, upload the file and enable Pages under the repository settings.

Can I use GitHub Pages without installing Git on my computer?

Yes. Inside a GitHub repository, click Add file and then Upload files to drag up to 100 files at a time (up to 25 MiB per file) in your browser. Then go to Settings, open Pages, pick your branch and wait a few minutes for username.github.io/repository to go live.

How do I host a single HTML file from a GitHub Gist?

GitHub Pages does not publish Gists directly, and raw Gist links open as plain text. You can copy the Gist URL into raw.githack.com, which serves the HTML file with the right content type so it renders as a web page, with a one-time confirmation screen per repository every 24 hours.

What is the fastest way to host one HTML file with no account at all?

Drag the .html file (up to 10 MB) or a .zip (up to 25 MB, 100 MB unpacked) onto ship.page in your browser, or paste the HTML code. It gives you a live HTTPS link and a downloadable QR code in seconds with no signup and no credit card.

Can I update my HTML file on ship.page and keep the same URL?

On the free plan, a page cannot be updated in place, so uploading a new version creates a new link. On the $4 a month Pro plan, Pro pages don't expire while you're on Pro and you can re-upload or edit your page while keeping the exact same link.

Keep reading

Publish your HTML file without a repo

Drop an HTML file, folder or ZIP onto ship.page and get a live HTTPS link in seconds, free and with no signup.

Bitgate blog