Codeberg vs GitHub
Codeberg is a European alternative to GitHub — same developer tools use case, built under EU data-protection law.
By the EU Alternatives team Last updated
Community-driven Git hosting platform for free and open source projects. Non-profit organization based in Berlin offering secure, privacy-focused development tools.
- Jurisdiction
- EU / EEA
- GDPR by default
- Yes
- US CLOUD Act exposure
- No
- Open source
- Yes
- Free tier
- Yes
GitHub by Microsoft.
- Jurisdiction
- US
- GDPR by default
- Requires DPA + TIA
- US CLOUD Act exposure
- Yes
About Codeberg
Codeberg is a non-profit Git hosting platform run by Codeberg e.V., a registered German association providing free, community-owned hosting for free and open-source software. Launched in 2019 and based in Berlin, it runs on the Forgejo engine (a Gitea community fork) and is funded entirely by members and donations.
The platform offers public and private repositories, issue tracking, pull requests, a built-in CI service (Codeberg CI, based on Woodpecker), package registries, static site hosting through Codeberg Pages and federated identity through its own account system. No commercial tier exists — all features are free for FOSS projects that align with the charter.
Key benefits:
- Unlimited free repositories for free and open-source projects aligned with the charter
- Forgejo-powered Git hosting with issues, pull requests, wiki and project boards
- Codeberg CI based on Woodpecker, running free for member and FOSS repositories
- Codeberg Pages for static-site hosting from any repository branch
- Package registry for npm, Maven, PyPI, Composer, NuGet, Helm and container images
- Federated activity streams and ongoing ForgeFed / ActivityPub integration work
- Non-profit governance with member voting, public finances and transparent moderation
Codeberg is operated by Codeberg e.V., headquartered in Berlin, Germany, and hosts all repositories on servers in the European Union under GDPR and German association law. The non-profit is financed by membership fees and donations, with no advertising, tracking or AI training on user code.
Trusted by thousands of maintainers — including F-Droid, LibreOffice contributors and Framasoft projects — Codeberg is the reference choice for developers who want non-commercial, EU-sovereign Git hosting.
Why choose Codeberg over GitHub?
The decisive argument is data jurisdiction. GitHub is headquartered in US, which means personal data processed through it can be subject to non-EU legal regimes — the US CLOUD Act, FISA 702, or similar laws depending on the provider. After the 2020 Schrems II ruling, EU organisations must carry out a transfer impact assessment for every such data flow.
Codeberg removes that overhead. As a Germany-based provider, it operates natively under GDPR, and data stays inside the EU/EEA by default. For regulated sectors — health, public administration, finance — that's not a nice-to-have but a requirement. For everyone else, it's concentration-risk insurance: you avoid depending on a single non-EU jurisdiction that can change the rules without warning.