Skip to main content

Free static site hosting

Static hosts serve pre-built HTML, CSS and JavaScript from a CDN. They are the most generous free tiers on the web because a static file costs almost nothing to serve. Pick one when your site can be built ahead of time: portfolios, docs, blogs, landing pages and single-page apps.

12 options · limits checked 1 Nov 2026 · ranked by free-tier score

12 static sites

  • 1.Cloudflare Pages

    Edge static hosting

    100

    Static and full-stack sites served from Cloudflare's network, with no bandwidth charge.

    Bandwidth
    Unlimited
    Builds
    500 / month, 1 at a time
    Files per site
    20,000

    The catch: A site cannot hold more than 20,000 files or any single file over 25 MiB on the free plan.

    No cardNo end date
    Paid from $5/mo (Workers Paid)
  • 2.Netlify

    Static + serverless

    100

    Git-based hosting for static and Jamstack sites, with functions, forms and edge features.

    Monthly credits
    300
    Production deploy
    15 credits each
    Bandwidth
    Charged at 20 credits per GB

    The catch: Every production deploy costs 15 credits, so about 20 deploys a month uses the whole free allowance before any traffic.

    No cardNo end date
    Paid from $9/mo (Personal)
  • 3.Codeberg Pages

    Non-profit pages

    93

    Static hosting from a Codeberg repository, run by a German non-profit.

    Price
    Free, donation funded
    Repo
    Must be public
    Publish method
    Webhook on a pages branch or Forgejo Actions

    The catch: New users must use the new git-pages setup, which needs a webhook; the old v2 server is closed to new users.

    No cardNo end date
    Paid from Usage-based
  • 4.GitLab Pages

    Repo static hosting

    93

    Static sites built by GitLab CI/CD and served from a GitLab project.

    Max site size
    1 GB (artifact limit)
    Custom domains
    150 per site
    CI/CD minutes
    400 / month (Free tier)

    The catch: Builds run on the shared 400 CI/CD minutes a month, which other pipelines also use.

    No cardNo end date
    Paid from $29/mo (Premium (per user, billed yearly))
  • 93

    Static hosting from the team behind Kinsta, deployed from Git.

    Sites
    100 per account
    Bandwidth
    100 GB / month
    Build minutes
    600 / month

    The catch: Only static sites are free; app hosting starts at $5 a month after a trial.

    No cardNo end date
    Paid from $5/mo (Application hosting)
  • 6.Surge

    CLI static hosting

    93

    Publishes any local folder as a website with one terminal command.

    Projects
    Unlimited
    Project size
    450 MB
    Files per project
    10,100

    The catch: Redirects, rewrites and password protection are only on the $30 Pro plan.

    No cardNo end date
    Paid from $30/mo (Pro)
  • 7.GitHub Pages

    Repo static hosting

    88

    Publishes a static site straight from a GitHub repository.

    Published site size
    1 GB
    Bandwidth
    100 GB / month (soft)
    Builds
    10 / hour (soft, branch builds)

    The catch: On a free account the repo must be public, and GitHub says Pages is not meant for online shops or SaaS.

    No cardNo end date
    Paid from $4/mo (GitHub Pro (Pages from private repos))
  • 8.Vercel

    Frontend cloud

    88

    Git-connected hosting built around Next.js that also runs most other modern frontend frameworks.

    Fast data transfer
    100 GB / month
    Edge requests
    1M / month
    Function invocations
    1M / month

    The catch: Hobby is for personal, non-commercial use only, so a business site has to move to Pro.

    No cardNo end date
    Paid from $20/mo (Pro)
  • Serves plain static files from a specially named Bitbucket repository.

    Sites
    1 per workspace
    Server-side code
    Not supported
    Cache
    Changes can take 15 minutes

    The catch: There is no build step and no custom domain, so you commit the finished HTML yourself.

    No cardNo end date
    Paid from Standard (per user)
  • 10.Neocities

    Indie web hosting

    85

    Hand-made personal websites edited in the browser, in the spirit of GeoCities.

    Storage
    1 GB
    Bandwidth
    200 GB / month
    File types
    Limited list on free

    The catch: Custom domains and unrestricted file types need the $5 Supporter plan.

    No cardNo end date
    Paid from $5/mo (Supporter)
  • 78

    Microsoft's static hosting with GitHub or Azure DevOps builds and optional Azure Functions APIs.

    Bandwidth
    100 GB / month, no overage
    Apps
    10 per subscription
    Storage
    250 MB per environment

    The catch: Each app is capped at 250 MB and there is no SLA on the Free plan.

    Card neededNo end date
    Paid from $9/mo (Standard (per app))
  • 12.Tiiny Host

    Drag-and-drop hosting

    70

    Upload a ZIP, HTML file or PDF and get a shareable link in seconds.

    Active projects
    1
    Upload size
    3 MB (0.5 MB for PDFs)
    Custom domain
    Paid plans only

    The catch: The 3 MB upload cap rules out anything with many images or a sizeable framework build.

    No cardNot confirmed; free links may be time-limited
    Paid from $5/mo (Tiny (billed yearly))

Compare them head to head

Static & Jamstack: questions

What is the best free static hosting?

For most people it is Cloudflare Pages, GitHub Pages or Netlify. Cloudflare Pages does not meter bandwidth on static files, GitHub Pages is the simplest if your code is already on GitHub, and Netlify adds forms and functions. Check the limits table on each provider page before you choose.

Can I use a custom domain on free static hosting?

Yes. Every static host in this lane lets you point your own domain at the free plan and issues a free HTTPS certificate for it.

Other ways to host for free

Tools for your new site