The open source, cross-platform .NET assembly browser and decompiler
open sourceMITfree
ILSpy is an open source .NET assembly browser and decompiler: it turns compiled .NET assemblies back into C#, whole projects included, and lets you search and navigate types and members, explore assembly metadata, decompile BAML to XAML and read ReadyToRun binaries. The desktop app runs on Windows, Linux and macOS (built on Avalonia) and takes plugins. The same engine comes as the ilspycmd dotnet tool, the ICSharpCode.Decompiler and ILSpyX NuGet packages, PowerShell cmdlets and extensions for Visual Studio and VS Code, and Visual Studio's own F12 decompilation uses it.
Problems it solves
- see the source code of a .NET DLL I don't have the source for
- decompile a compiled C# assembly back into a project I can build
- debug into a third-party .NET library without its source
- decompile .NET assemblies from the command line in a script
- a free alternative to .NET Reflector
Features
- decompilation to C#, including whole projects
- type, method and property search with hyperlink navigation and bookmarks
- assembly metadata explorer
- BAML to XAML decompilation and ReadyToRun binary support
- open assemblies from NuGet feeds or running processes
- ilspycmd dotnet tool, NuGet libraries, PowerShell cmdlets and VS and VS Code extensions
- plugins
Capabilities
| Takes plugins | plan not known |
|---|
Alternatives
The same job
These do what ILSpy does.
- Ghidra A software reverse engineering (SRE) framework
- Craft Anything See how any website, app or game works, then have AI build your own version; an open-source, clean-room engine in pure Rust.
- Binary Ninja Interactive decompiler, disassembler, debugger and binary analysis platform