Best Dafny Alternatives in 2026

20 apps from formal verification tools ranked against Dafny on the same published basis.

  1. 1Dafny vs Rocq
  2. 2Dafny vs Z3
  3. 3Dafny vs PVS
  4. 4Dafny vs Alloy Analyzer
  5. 5Dafny vs CBMC
  6. 6Dafny vs Isabelle
  7. 7Dafny vs SPIN
  8. 8Dafny vs UPPAAL
  9. 9Dafny vs ACL2
  10. 10Dafny vs Frama-C
  11. 11Dafny vs CPAchecker
  12. 12Dafny vs cvc5
  13. 14Dafny vs HOL Light
  14. 15Dafny vs Lean
  15. 16Dafny vs NuSMV
  16. 17Dafny vs PRISM
  17. 18Dafny vs Stainless
  18. 19Dafny vs Viper
  19. 20Dafny vs Agda
  20. 21Dafny vs F*

Dafny alternatives compared

#AppScoreFree planFromRuns on
1Rocq6.7Free planFreeBrowser, Linux, Mac, Web, Windows
2Z36.7Free planFreeAndroid, API, Linux, Mac, self-hosted, Web, Windows
3PVS6.6Free planFreeLinux, Mac, Windows
4Alloy Analyzer6.5Free planFreeAPI, Linux, Mac, Windows
5CBMC6.5Free planFreeLinux, Mac, self-hosted, Windows
6Isabelle6.5Free planFreeLinux, Mac, self-hosted, Windows
7SPIN6.5Free planFreeLinux, Mac, Windows
8UPPAAL6.5Free planFreeLinux, Mac, Windows
9ACL25.6No—Linux, Mac, self-hosted, Windows
10Frama-C5.6No—Linux, Mac, Windows
11CPAchecker5.4No—Windows, Mac, Linux
12cvc55.4No—Web, Windows, Mac, Linux
14HOL Light5.4No—Web, Windows, Mac, Linux
15Lean5.4No—Web, Windows, Mac, Linux
16NuSMV5.4No—Windows, Mac, Linux
17PRISM5.4No—Windows, Mac, Linux
18Stainless5.4No—Windows, Mac, Linux
19Viper5.4No—Windows, Mac, Linux
20Agda5.3No—Windows, Mac, Linux
21F*5.3No—Windows, Linux, Mac
Make your app an alternative to Dafny

The sponsored alternative slot on this page is labelled Sponsored.

See the price

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.