OpenTofu

Open source fork of Terraform under the Linux Foundation.

Last reviewed 5 December 2026 · MPL-2.0 · Developer Tools

Licence
Type
Developer tool
GitHub stars
★ 31.1k
Last commit
December 2026
First release
2023
Hosted version
No

What is OpenTofu?

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.

Key features

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

OpenTofu as an open source alternative

OpenTofu is listed on our comparison page as an open source replacement for Terraform. Compare it with the other options:

Licence

OpenTofu is released under the MPL-2.0 licence, a weak copyleft (file-level) licence. More MPL-2.0 software →

OpenTofu: FAQ

Is OpenTofu open source?

Yes. OpenTofu is released under the MPL-2.0 licence (weak copyleft (file-level)), and its source code is public.

Is OpenTofu free?

The software is free to use.

What does OpenTofu replace?

OpenTofu is an open source alternative to Terraform.

Can I self-host OpenTofu?

OpenTofu runs on your own machine or in your own development environment.

Similar open source projects

Zed

GPL-3.096.4k

High-performance code editor with AI and collaboration.

Replaces Visual Studio Code, Cursor

Cloud option
Desktop appDeveloper Tools

More MPL-2.0 projects

Firefox

MPL-2.014k

The independent browser from the non-profit Mozilla.

Replaces Google Chrome, Microsoft Edge

Desktop appBrowsers, Search & Maps

The free office suite used by governments worldwide.

Replaces Microsoft Office, Microsoft Word, Microsoft Excel

Desktop appOffice & PDF

Penpot

MPL-2.063.2k

Open source design and prototyping for teams.

Replaces Figma, Sketch, Adobe XD

Self-hostedCloud option
Self-hostedDesign & Whiteboards

Syncthing

MPL-2.091.3k

Peer-to-peer file sync without a cloud.

Replaces Dropbox, Microsoft OneDrive

Desktop appCloud Storage & Photos
Browse 350+ open source alternativesSearch by product, category or licence