GitHub Pages. Host · free plan.

Best for free static site hosting straight from a repo with a custom domain

GitHub Pages does host. Free plan: yes — 100 GB bandwidth.

Price checked 19 Nov 2026 · source: docs.github.com

NewOpen GitHub Pages
Free$0/mo100 GB bandwidth

Checked November 2026 · pricing page ↗

Best for
  • Docs sites
  • Portfolios
  • Open source
Do's & don'ts
  • Publish with GitHub Actions for builds
  • Set the base path to the repo
  • Verify your custom domain
  • Don't run a shop or business site
  • Don't put secrets in a public repo
  • Don't expect server code or APIs
Best settings
  • Source: GitHub Actions
  • Site size: Max 1 GB
  • Bandwidth: 100 GB/month (soft)
  • HTTPS: Enforce

What changed

No price changes since 19 Nov 2026.

All price changes

Pros & cons

Watch out
  • Not allowed for running an online business or shop
Alternatives

Community

Actions deploy

Set up GitHub Pages for my Vite site about space facts. Write .github/workflows/deploy.yml that builds on every push to main and publishes with actions/upload-pages-artifact and actions/deploy-pages, and set the Vite base option to the repository name so assets load.

Next.js static export

Make my Next.js site about space facts work on GitHub Pages: set output to export, set basePath to the repository name, turn off image optimization, add a .nojekyll file, and write the GitHub Actions workflow that publishes the out folder.

Custom domain

Explain step by step how to put my GitHub Pages site about space facts on my own domain: the DNS records for the apex domain and www, where to set the domain in the repository settings, how to verify the domain, and turning on Enforce HTTPS.

Questions

Is GitHub Pages free?

Yes, the Free plan gives 100 GB bandwidth.

How much does GitHub Pages cost?

Free: $0/mo. Checked on 19 Nov 2026 on the official pricing page.

Does GitHub Pages add a watermark?

No, none of the plans add a watermark.

Can I use GitHub Pages for commercial work?

No, none of the plans allow commercial work.