Skip to main content

Repo static hosting · Static & Jamstack

No cardNo end date

GitLab Pages free tier

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

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

What GitLab Pages's free plan gives you

Free on GitLab.com, with HTTPS and custom domains; builds use the free monthly CI/CD minutes.

GitLab Pages free plan limits
LimitFree plan
Max site size1 GB (artifact limit)
Custom domains150 per site
CI/CD minutes400 / month (Free tier)
Storage10 GiB per project

The catch

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

Pros and cons

Good

  • Any static generator works
  • Generous custom-domain limit
  • Private projects allowed

Watch out

  • Needs a .gitlab-ci.yml file
  • CI minutes are shared
  • Private groups capped at 5 users on Free

How to start on GitLab Pages

  1. 1

    Create a GitLab.com project

  2. 2

    Add a .gitlab-ci.yml from a Pages template

  3. 3

    Commit and let the pipeline run

  4. 4

    Open Deploy, then Pages for your URL

GitLab Pages compared

GitLab Pages: questions

Is GitLab Pages free?

Free on GitLab.com, with HTTPS and custom domains; builds use the free monthly CI/CD minutes. Free plan ends: Never.

Does GitLab Pages need a credit card?

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

What is the catch with GitLab Pages's free plan?

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

Can I use my own domain on GitLab Pages for free?

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

What are the best free alternatives to GitLab Pages?

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

Alternatives to GitLab Pages

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