
OpenTofu
Open-source, community-run fork of Terraform for managing cloud infrastructure as code.
Updated · AppBreakup editorial · Windows, macOS, Linux
Is OpenTofu free?
Yes, free and open source
- License:
- MPL-2.0
Checked on OpenTofu's site Nov 1, 2026
Switch from OpenTofu to
All 5- Verified facts
- 4 of 4
- Alternatives ranked
- 5
- Approved reviews
- 0
- Visits sent from here
- 77
About OpenTofu
OpenTofu is an infrastructure-as-code tool that began as a fork of Terraform after HashiCorp moved Terraform to the Business Source License in 2023. It is run by the community under the Linux Foundation, licensed under MPL-2.0, and works as a drop-in replacement: existing HCL configurations, providers, modules and state files keep working, and the command is simply tofu instead of terraform. Its own registry offers thousands of providers and modules for every major cloud. Since the fork it has added features Terraform lacks, including client-side state encryption with several key providers, provider iteration with for_each and an -exclude flag for skipping resources during a run. It is a free command-line tool for Linux, macOS, Windows and FreeBSD, with no paid edition from the project itself; hosted runs and team workflows come from third-party platforms such as Spacelift, env0 or Scalr. It suits teams who want Terraform's workflow with an open-source licence and community governance.
Best for: Terraform users who want an open-source licence and community governance without rewriting configs.
Pros and cons
What works
- Drop-in replacement for Terraform configs and workflows
- Open source under MPL-2.0 with Linux Foundation stewardship
- Built-in state encryption that Terraform lacks
Why people leave
- No first-party hosted service; team features come from third parties
- Newer Terraform features may not appear or may work differently
- Smaller pool of tutorials and job listings than Terraform
OpenTofu vs Terraform, Pulumi and Ansible
From each app's listing and the prices verified on its own site. A dash means we haven't verified it yet.
| Attribute | OpenTofu | Terraform | Pulumi | Ansible |
|---|---|---|---|---|
| Pricing | Open source | Free plan + paid | Open source | Open source |
| Verified price | — | $0.0001359 per managed resource/hour (HCP Terraform) | $40/month (Essentials) | — |
| Free plan | Free app | Yes, HCP Terraform up to 500 managed resources | Yes, for individuals | Free app |
| Open source | Yes | No | Yes | Yes |
| Self-hostable | Yes | Yes | Yes | Yes |
| Platforms | Windows, macOS, Linux | Windows, macOS, Linux, Web | Windows, macOS, Linux, Web | Linux, macOS, Self-hosted |
Top OpenTofu alternatives
See all 5- 1
Terraform83.1The original, with HashiCorp's hosted HCP Terraform and the largest ecosystem, under a BUSL licence.
- 2
Pulumi79.8Write the same cloud infrastructure in a general-purpose language with a managed state service.
- 3
Ansible76.6Agentless configuration of servers once they exist, using YAML playbooks.
- 4
Chef Infra72.8Code-driven configuration management for servers, when the work is keeping machines configured rather than provisioning.
- 5
Puppet71.8Declarative configuration management with a long enterprise track record for managing large server fleets.
Why people left OpenTofu
In reviewers' own words, from reviews of the apps they moved to. These are their opinions, not ours.
No switching stories yet. If you moved away from OpenTofu, review the app you switched to and tell us why.
Reviews
No approved reviews yet. How we verify reviewers
Write a review of OpenTofu
OpenTofu: common questions
What is OpenTofu?
OpenTofu: Open-source, community-run fork of Terraform for managing cloud infrastructure as code. Best for terraform users who want an open-source licence and community governance without rewriting configs. Available for Windows, macOS and Linux.
Is OpenTofu free?
Yes. OpenTofu is free, open-source software that you can host yourself.
Is OpenTofu open source?
Yes. The source code is on GitHub at opentofu/opentofu. You can also run it on your own server.
What platforms does OpenTofu run on?
OpenTofu is available for Windows, macOS and Linux.
What are the best alternatives to OpenTofu?
The highest-ranked OpenTofu alternatives right now are Terraform, Pulumi and Ansible. See the full ranked list for pricing, platforms and verified facts.
OpenTofu vs Terraform: what's the difference?
The original, with HashiCorp's hosted HCP Terraform and the largest ecosystem, under a BUSL licence. OpenTofu is free and open source; Terraform is free with paid plans. OpenTofu is open source and Terraform is not. Only Terraform runs on Web.