Tech riderRev. 20 Sept 2026
- 1Runs onLinux, Mac, self-hosted, Windows
- 2CostsNot stated by the maker
- 3Verification methoddeductive
- 4Supported formalismscontracts
- 5CounterexamplesYes
- 6Input languagesDafny
- 7Deploymentself-hosted
6 lines stated Written from the maker's own pages: dafny.org

Overview
Dafny is ranked #16 of 33 in formal verification tools on Specifiction. It runs on Linux, macOS, Self-hosted, Windows.
Compared on formal verification tools
Facts
- Product
- Dafny is a verification-aware programming language with native specification support and a static program verifier.dafny.org · 5 Oct 2026
- Purpose
- It helps developers write code that can be verified against specifications to reduce the risk of late-stage bugs.dafny.org · 5 Oct 2026
- Compilation targets
- Dafny can compile programs to C#, Java, JavaScript, Go, and Python.dafny.org · 5 Oct 2026
- Proof features
- Its proof toolbox includes quantifiers, calculational proofs, lemmas, preconditions, postconditions, termination conditions, loop invariants, and read/write specifications.dafny.org · 5 Oct 2026
- Language features
- The language supports classes, iterators, arrays, tuples, generic and subset types, inductive datatypes, lambdas, and mutable and immutable data structures.dafny.org · 5 Oct 2026
- IDE integrations
- The Dafny ecosystem includes a Visual Studio Code extension powered by a Language Server Protocol implementation, plus a code formatter.dafny.org · 5 Oct 2026
- VS Code features
- The VS Code extension supports verification while typing, compiling and running .dfy files, syntax highlighting, verification traces, IntelliSense, go to definition, and hover information.marketplace.visualstudio.com · 5 Oct 2026
- Platforms
- Installation instructions cover Windows, Linux, and macOS; the project repository also lists binary downloads for FreeBSD.dafny.org · 5 Oct 2026
- Requirements
- The Dafny tool is a .NET 8.0 artifact, and Dafny plus its bundled Z3 tool are sufficient for verification; compiling and running generated programs may require additional tools.dafny.org · 5 Oct 2026
- Security reporting
- The project asks people who discover a potential security issue to notify its security contact instead of creating a public GitHub issue.github.com · 5 Oct 2026
- License
- The Dafny software is licensed under the MIT License.github.com · 5 Oct 2026
- Support
- The project directs users to its Zulip channel for questions and GitHub for issue reports.github.com · 5 Oct 2026
- Audience
- Dafny is used in academia for teaching and research and in industry, including by teams at Amazon.dafny.org · 5 Oct 2026
Best Dafny alternatives
See all 20 All accessCh 01 PVS Free planLinuxMac Free to start7.5 All accessCh 02 Rocq Free planBrowserLinux Free to start7.5 All accessCh 03 Z3 Free planAndroidAPI Free to start7.4 All accessCh 04 Alloy Analyzer Free planAPILinux Free to start7.2 All accessCh 05 UPPAAL Free planLinuxMac Free to start7.2 All accessCh 06 CBMC Free planLinuxMac Free to start7.1
Where it ranks on Specifiction
Is Dafny yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- dafny.org· checked 5 Oct 2026
- dafny.org/blog/about/· checked 5 Oct 2026
- marketplace.visualstudio.com/items· checked 5 Oct 2026
- dafny.org/latest/Installation· checked 5 Oct 2026
- github.com/dafny-lang/dafny/blob/master/SECURITY.m· checked 5 Oct 2026
- github.com/dafny-lang/dafny· checked 5 Oct 2026


