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.
Installation
Chocolatey
$ choco install ilspyCLI (cross-platform)
$ dotnet tool install ilspycmd -gVS Code Extension
$ Install 'ilspy-vscode' from VS Code marketplaceUse 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
Details
- Category
- ๐งฌ Reverse Engineering
- Language
- C#
- Repository
- icsharpcode/ILSpy
- License
- MIT
- Platforms
- ๐ชwindows๐งlinux๐macos
Links
Alternatives & Comparisons
Ghidra
JavaNSA's reverse engineering framework. Disassembly, decompilation, graphing, and scripting for binary analysis.
Compare ILSpy vs GhidraRadare2
CPortable reversing framework. Disassembly, debugging, analysis, patching, and scripting in a single CLI.
Compare ILSpy vs Radare2Cutter
C++GUI for Radare2. Makes reverse engineering accessible with graphs, decompiler, and hex editor built in.
Compare ILSpy vs CutterdnSpy
C#.NET debugger, decompiler, and assembly editor. Inspect and modify .NET and Unity assemblies without source code.
Compare ILSpy vs dnSpyx64dbg
C++Open-source x64/x32 debugger for Windows. Full-featured binary debugger with plugin ecosystem for malware analysis and reverse engineering.
Compare ILSpy vs x64dbgDetect It Easy
C++/QtBinary packer and compiler detection. Identifies compilers, linkers, packers, and protectors used to build PE, ELF, and Mach-O files.
Compare ILSpy vs Detect It Easyangr
PythonBinary analysis framework. Symbolic execution, CFG recovery, and vulnerability discovery for compiled binaries in Python.
Compare ILSpy vs angrRetDec
C++Retargetable decompiler by Avast. Converts machine code back to C from x86, ARM, MIPS, and PowerPC binaries.
Compare ILSpy vs RetDecRizin
CReverse engineering framework forked from radare2. Modernized API, improved UX, with Cutter as its official GUI.
Compare ILSpy vs RizinMore in Reverse Engineering
dnSpy
C#.NET debugger, decompiler, and assembly editor. Inspect and modify .NET and Unity assemblies without source code.
x64dbg
C++Open-source x64/x32 debugger for Windows. Full-featured binary debugger with plugin ecosystem for malware analysis and reverse engineering.
Detect It Easy
C++/QtBinary packer and compiler detection. Identifies compilers, linkers, packers, and protectors used to build PE, ELF, and Mach-O files.
angr
PythonBinary analysis framework. Symbolic execution, CFG recovery, and vulnerability discovery for compiled binaries in Python.
RetDec
C++Retargetable decompiler by Avast. Converts machine code back to C from x86, ARM, MIPS, and PowerPC binaries.
Rizin
CReverse engineering framework forked from radare2. Modernized API, improved UX, with Cutter as its official GUI.