Skip to main content

CLI static hosting · Static & Jamstack

No cardNo end date

Surge free tier

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

Checked against Surge's official pages on 1 Nov 2026. Free tiers change, so confirm before you commit.

What Surge's free plan gives you

Free plan allows unlimited projects and custom domains, including automatic certificates, with no bandwidth billing.

Surge free plan limits
LimitFree plan
ProjectsUnlimited
Project size450 MB
Files per project10,100
BandwidthNot metered

The catch

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

Pros and cons

Good

  • Deploy in seconds from the terminal
  • No account dashboard needed
  • Custom domains on free

Watch out

  • No Git integration
  • No redirects on free
  • Basic feature set

How to start on Surge

  1. 1

    Install Node.js

  2. 2

    Run npm install --global surge

  3. 3

    Go to your site folder and run surge

  4. 4

    Pick a subdomain or enter your own domain

Surge: questions

Is Surge free?

Free plan allows unlimited projects and custom domains, including automatic certificates, with no bandwidth billing. Free plan ends: Never.

Does Surge need a credit card?

No, you can sign up for Surge's free plan without a card.

What is the catch with Surge's free plan?

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

Can I use my own domain on Surge for free?

Yes, you can connect your own domain on the free plan. You also get a free address at *.surge.sh.

What are the best free alternatives to Surge?

Cloudflare Pages, Netlify, Codeberg Pages. Compare their limits on this page or open each one for details.

Alternatives to Surge

  • 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)
  • 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)
  • 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
  • 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))
  • Sevalla Static Sites

    Static hosting

    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)
  • 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))

Tools for your new site