Best Dafny Alternatives in 2026
Updated
20 apps from formal verification tools ranked against Dafny on the same published basis.
- 1Dafny vs Rocq
- 2Dafny vs Z3
- 3Dafny vs PVS
- 4Dafny vs Alloy Analyzer
- 5Dafny vs CBMC
- 6Dafny vs Isabelle
- 7Dafny vs SPIN
- 8Dafny vs UPPAAL
- 9Dafny vs ACL2
- 10Dafny vs Frama-C
- 11Dafny vs CPAchecker
- 12Dafny vs cvc5
- 14Dafny vs HOL Light
- 15Dafny vs Lean
- 16Dafny vs NuSMV
- 17Dafny vs PRISM
- 18Dafny vs Stainless
- 19Dafny vs Viper
- 20Dafny vs Agda
- 21Dafny vs F*
Dafny alternatives compared
| # | App | Score | Free plan | From | Runs on |
|---|---|---|---|---|---|
| 1 | Rocq | 6.7 | Free plan | Free | Browser, Linux, Mac, Web, Windows |
| 2 | Z3 | 6.7 | Free plan | Free | Android, API, Linux, Mac, self-hosted, Web, Windows |
| 3 | PVS | 6.6 | Free plan | Free | Linux, Mac, Windows |
| 4 | Alloy Analyzer | 6.5 | Free plan | Free | API, Linux, Mac, Windows |
| 5 | CBMC | 6.5 | Free plan | Free | Linux, Mac, self-hosted, Windows |
| 6 | Isabelle | 6.5 | Free plan | Free | Linux, Mac, self-hosted, Windows |
| 7 | SPIN | 6.5 | Free plan | Free | Linux, Mac, Windows |
| 8 | UPPAAL | 6.5 | Free plan | Free | Linux, Mac, Windows |
| 9 | ACL2 | 5.6 | No | — | Linux, Mac, self-hosted, Windows |
| 10 | Frama-C | 5.6 | No | — | Linux, Mac, Windows |
| 11 | CPAchecker | 5.4 | No | — | Windows, Mac, Linux |
| 12 | cvc5 | 5.4 | No | — | Web, Windows, Mac, Linux |
| 14 | HOL Light | 5.4 | No | — | Web, Windows, Mac, Linux |
| 15 | Lean | 5.4 | No | — | Web, Windows, Mac, Linux |
| 16 | NuSMV | 5.4 | No | — | Windows, Mac, Linux |
| 17 | PRISM | 5.4 | No | — | Windows, Mac, Linux |
| 18 | Stainless | 5.4 | No | — | Windows, Mac, Linux |
| 19 | Viper | 5.4 | No | — | Windows, Mac, Linux |
| 20 | Agda | 5.3 | No | — | Windows, Mac, Linux |
| 21 | F* | 5.3 | No | — | Windows, Linux, Mac |
Make your app an alternative to Dafny
See the priceThe sponsored alternative slot on this page is labelled Sponsored.
Questions about Dafny alternatives
What is the best alternative to Dafny?
Rocq, number 1 in formal verification tools with a score of 6.7 out of 10. The others here: Z3, PVS, Alloy Analyzer and 16 more.
What is the best free alternative to Dafny?
Rocq is the best-ranked alternative with a free plan. 8 of the 20 alternatives here publish a free plan on their own pricing pages.
How are these alternatives ranked?
Ranked free-and-open first: a usable free tier and open-source code, then the platforms it runs on and its documentation.
























