GitHub Pages
GitHub Pages offers free static website hosting directly from your GitHub repositories. · GitHub · Hosting
Overview
GitHub Pages is a free static site hosting service that lets you publish websites directly from your GitHub repositories, ideal for personal, project, or documentation sites. Sites are limited to 1 GB each, with soft limits of 100 GB of bandwidth per month and 10 builds per hour — GitHub Free requires the source repository to be public.
Good fit
Use when you need to host static websites or documentation directly from a GitHub repository with minimal setup and no cost.
- personal-sites
- documentation
- open-source-projects
Not a fit
Avoid if you need dynamic backend features, private site hosting, or advanced server-side processing.
- dynamic-sites
- private-sites
- backend-required
Quickstart · 5 steps
- Create a public repository on GitHub.
- Add your static site files (HTML, CSS, JS) to the repository.
- Commit and push your changes.
- Go to the repository Settings > Pages.
- Select the branch and folder to publish, then save.
Other free hosting options
Free tierWhat you get freeRiskCard
Google Cloud · Hosting
All fonts are open source and without cost · Commercial use is allowed
Billing risk: None
No card
Vercel · Hosting
1 team seat (Hobby plan) · Unlimited deployments · 100 GB Fast Data Transfer/month included
Billing risk: None
No card
Cloudflare · Hosting
500 builds/month · 100 projects per account · 20,000 files per site
Billing risk: None
No card
Google Cloud · Hosting
10 GB storage · 360 MB/day data transfer (~10 GB/month) · SSL included
Billing risk: None
No card