AppBreakup
OpenTofu logo

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
  • Terraform logo
    Terraform

    Essentials plan: $0.0001359 per managed resource/hour (HCP Terraform)

  • Pulumi logo
    Pulumi

    Starting price: $40/month (Essentials)

  • Ansible logo
    Ansible

    Open source

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.

AttributeOpenTofuTerraformPulumiAnsible
PricingOpen sourceFree plan + paidOpen sourceOpen source
Verified price—$0.0001359 per managed resource/hour (HCP Terraform)$40/month (Essentials)—
Free planFree appYes, HCP Terraform up to 500 managed resourcesYes, for individualsFree app
Open sourceYesNoYesYes
Self-hostableYesYesYesYes
PlatformsWindows, macOS, LinuxWindows, macOS, Linux, WebWindows, macOS, Linux, WebLinux, macOS, Self-hosted

Top OpenTofu alternatives

See all 5
  1. 1Terraform logo
    Terraform

    The original, with HashiCorp's hosted HCP Terraform and the largest ecosystem, under a BUSL licence.

    83.1
  2. 2Pulumi logo
    Pulumi

    Write the same cloud infrastructure in a general-purpose language with a managed state service.

    79.8
  3. 3Ansible logo
    Ansible

    Agentless configuration of servers once they exist, using YAML playbooks.

    76.6
  4. 4Chef Infra logo
    Chef Infra

    Code-driven configuration management for servers, when the work is keeping machines configured rather than provisioning.

    72.8
  5. 5Puppet logo
    Puppet

    Declarative configuration management with a long enterprise track record for managing large server fleets.

    71.8

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
Your rating of OpenTofu

Never shown publicly. A work email helps us verify you.

What did you use it for, and what was good or bad? At least 40 characters.

A GitHub username, your company domain, or say you can send a screenshot. Verified reviews count more.

By submitting, you confirm you're at least 16 and agree to our terms. Your name, rating, review and the date are published; your email isn't. See our privacy policy.

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.

See all 5 OpenTofu alternatives