EN
ENNA

ILSpy

MIT

๐Ÿงฌ Reverse Engineering ยท C#

ILSpy is the open-source .NET assembly browser and decompiler. It supports decompilation of .NET assemblies to C# with high-quality output, including support for modern C# features like async/await, LINQ, and pattern matching. ILSpy can decompile entire assemblies or individual types and members, with the ability to search across loaded assemblies and navigate type hierarchies. It supports .NET Framework, .NET Core, .NET 5+, and Mono assemblies. Unlike dnSpy, ILSpy focuses purely on decompilation and browsing rather than debugging and editing, making it lighter and more focused. It's available as a standalone Windows application, a VS Code extension, and a command-line tool (ilspycmd) for cross-platform use. ILSpy is actively maintained and is the most widely used open-source .NET decompiler.

24.9kstars
3.6kforks
225issues
Updated 3d ago

Installation

Chocolatey

$ choco install ilspy

CLI (cross-platform)

$ dotnet tool install ilspycmd -g

VS Code Extension

$ Install 'ilspy-vscode' from VS Code marketplace

Use Cases

  • Decompiling .NET assemblies to readable C# for code review or analysis
  • Browsing type hierarchies and dependencies in compiled .NET libraries
  • Cross-platform decompilation using the ilspycmd command-line tool
  • Searching for specific strings, types, or methods across loaded assemblies
  • Comparing decompiled output across different .NET framework versions

Tags

dotnetdecompilerassembly-browsercross-platformcsharpc-sharpdecompiledecompiler-enginedotnetcoreilspymonopdbunity

Alternatives & Comparisons

More in Reverse Engineering