Open Source Alternatives to Terraform

Updated 5 December 2026 · 1 alternatives · Developer Tools

Terraform moved from an open source licence to the Business Source License in 2023, and HashiCorp is now owned by IBM. Here is 1 open source alternative.
Top pickOpenTofuMPL-2.0 · ★ 31.1k
Best self-hostedNone listed
Hosted optionNone listed
Terraform is made byHashiCorp (IBM)Proprietary

Terraform alternatives compared

Project Licence Type Self-host Cloud option GitHub stars
OpenTofu MPL-2.0 Developer tool — — ★ 31.1k

The 1 open source alternatives to Terraform

1

OpenTofu

MPL-2.0 · Developer tool · ★ 31.1k on GitHub · since 2023

Visit site ↗

OpenTofu was created in 2023 when HashiCorp changed Terraform's licence. It is a drop-in replacement for Terraform, run by the Linux Foundation, and has since added features such as state encryption.

  • Drop-in Terraform replacement
  • End-to-end state encryption
  • Linux Foundation project
  • Compatible with Terraform providers

How to choose an open source alternative to Terraform

Look for drop-in compatibility with your existing Terraform code, state files and providers.

Not sure where to start? Browse all developer tools projects.

Terraform alternatives: FAQ

What is the best open source alternative to Terraform?

OpenTofu is the most complete open source alternative to Terraform on our list. The best choice depends on what you need: Look for drop-in compatibility with your existing Terraform code, state files and providers.

Is there a free alternative to Terraform?

Yes. Every alternative listed here is open source, so the software itself is free to use.

Why switch from Terraform to open source software?

Terraform is proprietary software owned by HashiCorp (IBM): you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as MPL-2.0, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.

Other popular alternatives

Browse 350+ open source alternativesSearch by product, category or licence