GitHub alternatives Codeberg vs GitLab

~ git remote -v

Codeberg vs GitLab

A non-profit host for free software and a company’s hosted DevSecOps platform, side by side.

Verified Published

Independent comparison. Not affiliated with Codeberg e.V., the Forgejo project, GitLab Inc., GitHub, Inc. or Microsoft Corporation. Every figure below was read from the vendor's own page on 15 November 2026 and is linked in the sources list.

Codeberg and GitLab.com are both hosted Git services with a free way in. Codeberg is run by a registered non-profit in Berlin and hosts free and open-source projects only. GitLab.com is run by GitLab Inc. and sells paid tiers on top of a limited free tier.

This page is a directory entry, not a verdict. Each claim comes from Codeberg’s or GitLab’s own documentation.

At a glance

GitLab.com and Codeberg at a glance. Read from each vendor's pricing page on 15 November 2026. Scroll sideways on small screens.
GitLab.comCodeberg
OperatorGitLab Inc.Codeberg e.V., a registered non-profit association in Berlin, Germany
SoftwareGitLabForgejo
Who may hostAny project, public or privateProjects under a free and open-source licence. Private repositories only for things FLOSS projects need, plus small personal items
Free tier5 users per private top-level namespace, 400 compute minutes and 10 GiB storage a month. Accounts created after 27 January 2026 get at most 3 top-level groupsNo quota for valid use. Ask first above 750 MiB of Git storage or 1.5 GiB of packages, LFS and attachments. Up to 100 MB of private content
Paid plansPremium, $29 per user per month billed annually. Ultimate on custom pricingNone. Funded by donations and membership fees
CI/CDGitLab CI/CD with hosted runners, 400 compute minutes a month on FreeWoodpecker CI on request, or Forgejo Actions: hosted runners in open alpha, or your own runner
Static sitesGitLab Pages, in every tierCodeberg Pages at username.codeberg.page, from public repositories

Free limits and who may host what

GitLab.com Free caps private top-level namespaces at five users, and puts namespaces over that limit into a read-only state. Public top-level groups and personal namespaces are exempt. Free includes 400 compute minutes and 10 GiB of storage a month. Accounts created after 27 January 2026 can own at most three top-level groups.

Codeberg has no paid plans and says there is no quota for valid use cases. It asks projects to request resources before they pass 750 MiB of Git storage or 1.5 GiB of packages, LFS and attachments. Its terms of use limit what you can host. Public content must carry a free and open-source licence; Creative Commons licences with NC or ND terms do not qualify. Private repositories are only for things FLOSS projects need, plus small personal items, not as personal cloud storage. The terms also bar cryptocurrency projects and projects that mostly consist of code written by generative AI tools.

GitLab Inc. sets GitLab.com’s terms and prices. Codeberg e.V. is member-run: members elect its presidium and board, and you do not need to be a member to use the service.

CI and Pages

GitLab.com runs GitLab CI/CD jobs from .gitlab-ci.yml on hosted runners, metered against the monthly compute minutes. GitLab Pages builds a static site through a CI job and is in every tier.

Codeberg offers two CI options. Its Woodpecker CI instance needs a request that a volunteer reviews, is provided as-is, and builds for linux/amd64 only. Forgejo Actions is off by default in each repository. Codeberg’s hosted Actions runners are in open alpha and offered in a limited way, and you can connect your own runner, which needs no public IP address.

Codeberg Pages serves static sites at username.codeberg.page from a branch named pages in a public repository. Codeberg recently moved Pages to the git-pages codebase; you publish with a webhook or a Forgejo Actions job.

Moving between them

Codeberg runs Forgejo, whose migration tool has a GitLab source. Codeberg’s guide says it brings issues, labels, wiki, releases and milestones, and needs a GitLab access token for metadata or private repositories. Forgejo’s GitLab migrator code also reads merge requests, reviews and comments.

GitLab’s Gitea importer brings repository data, issues, pull requests, milestones and labels. Its documentation does not mention Forgejo or Codeberg. Either way, CI is a rewrite: .gitlab-ci.yml and Forgejo Actions workflows use different formats.

Frequently asked questions

Is Codeberg free?

Yes. Codeberg has no paid plans and is funded by donations and membership fees. It is only for free and open-source projects, with up to 100 MB of private content allowed for related needs.

Can I use Codeberg for private or commercial projects?

Not as a private host. Codeberg says it does not offer private hosting services. Private repositories are allowed only for things FLOSS projects need and small personal items.

Does Codeberg have CI like GitLab?

Yes, two kinds. Woodpecker CI is available on request, and Forgejo Actions has hosted runners in open alpha or works with your own runner. GitLab.com Free includes 400 compute minutes a month on hosted runners.

Can I move a project from GitLab to Codeberg?

Yes. Codeberg’s migration tool imports a GitLab repository with issues, labels, wiki, releases and milestones. Use a GitLab access token for metadata or private repositories, and rewrite your CI.

Sources

Checked on 15 November 2026. Prices and limits change without notice. Each link goes to the page the figure came from.

  1. GitLab pricingabout.gitlab.com
  2. GitLab free user limitdocs.gitlab.com
  3. GitLab Pagesdocs.gitlab.com
  4. GitLab: migrate from Giteadocs.gitlab.com
  5. What is Codeberg?docs.codeberg.org
  6. Codeberg FAQdocs.codeberg.org
  7. Codeberg terms of usecodeberg.org
  8. Codeberg CIdocs.codeberg.org
  9. Codeberg: Forgejo Actionsdocs.codeberg.org
  10. Codeberg Pagesdocs.codeberg.org
  11. Codeberg: migrating repositoriesdocs.codeberg.org
  12. Forgejo GitLab migrator sourcecodeberg.org

All 45 GitHub alternatives, compared