class browser, decompiler and static analyzer

DotNetReflector.png
.NET Reflector is a class browser, decompiler and static analyzer for software created with .NET Framework, originally written by Lutz Roeder. MSDN Magazine named it as one of the Ten Must-Have utilities … Wikipedia
Factsheet
Original author Lutz Roeder
Stable release 10.3.0.1936
/ 15 October 2020; 5 years ago (2020-10-15)
Factsheet
Original author Lutz Roeder
Stable release 10.3.0.1936
/ 15 October 2020; 5 years ago (2020-10-15)
🌐
JetBrains
jetbrains.com β€Ί decompiler
dotPeek: Free .NET Decompiler & Assembly Browser by JetBrains
May 26, 2021 - dotPeek is a free tool based on ReSharper. It can reliably decompile any .NET assembly into C# or IL code.
🌐
GitHub
github.com β€Ί icsharpcode β€Ί ILSpy
GitHub - icsharpcode/ILSpy: .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
ILSpy is the open-source .NET assembly browser and decompiler.
Starred by 24.2K users
Forked by 3.6K users
Languages Β  C# 98.5% | JavaScript 0.6% | PowerShell 0.3% | Visual Basic .NET 0.2% | HTML 0.1% | Less 0.1%
Discussions

Can you decompile c# dll and see the source?
I have a c# dll which I want to protect from anyone seeing the original source and use it without instructions how to. I was thinking of adding a method for β€œLicenseKey” which I would pass from my CW app in order to be able to use the dll. But all that is pointless if c# dll can be decompiled ... More on clarionhub.com
🌐 clarionhub.com
0
February 4, 2022
How do I decompile a .NET EXE into readable C# source code? - Stack Overflow
I wrote a C# application for a client a couple of years ago, but I no longer have the source code. All I have is the EXE that I deployed on the client's PC. Is there a way I can generate C# sourc... More on stackoverflow.com
🌐 stackoverflow.com
The JustDecompile .NET decompiler engine has been open-sourced
ALSO, coolest feature is decompile to csproj ... very nice ;) Β· Anyway, intended to say that in my experience, all 4 major decompilers get tripped up on slightly different things. Between dotpeek, reflector, ilspy, and justdecompile, none could get everything right and I have to take pieces ... More on news.ycombinator.com
🌐 news.ycombinator.com
19
102
January 31, 2015
Free .NET decompiler from JetBrains updated with export to project, BAML & async support, bookmarks and more
I've been using this for a while now, it's awesome. I have used the export to project a few times now to recover source code for several clients. For decompiling .NET, this is the best thing I've ever used. Also, jetbrains is just an awesome company. Resharper has been one of the best tools I've used. I'm a better developer because of it. More on reddit.com
🌐 r/programming
127
423
August 9, 2013
🌐
Redgate Software
red-gate.com β€Ί products β€Ί reflector
Decompile Any .NET Code | .NET Reflector
Decompile, browse, and analyze any .NET assembly to C#, VB.NET, or IL.
🌐
ClarionHub
clarionhub.com β€Ί questions
Can you decompile c# dll and see the source? - questions - ClarionHub
February 4, 2022 - I have a c# dll which I want to protect from anyone seeing the original source and use it without instructions how to. I was thinking of adding a method for β€œLicenseKey” which I would pass from my CW app in order to be able to use the dll. But all that is pointless if c# dll can be decompiled ...
🌐
ByteHide
bytehide.com β€Ί home β€Ί the best .net decompiler comparison guide βœ… (free and paid)
The Best .NET Decompiler Comparison Guide βœ… (Free and Paid)
July 4, 2022 - However, reverse engineering and decompilation does not give you permission to publish the findings. A .NET decompiler is a third party tool used to decompile all types of .NET binaries and libraries.
Top answer
1 of 10
210

Reflector and its add-in FileDisassembler.

Reflector will allow to see the source code. FileDisassembler will allow you to convert it into a VS solution.

2 of 10
176

When Red Gate said there would no longer be a free version of .Net Reflector, I started using ILSpy and Telerik's JustDecompile. I have found ILSpy to decompile more accurately than JustDecompile (which is still in Beta). Red Gate has changed their decision and still have a free version of .Net Reflector, but now I like ILSpy.

From the ILSpy website (https://github.com/icsharpcode/ILSpy/):

ILSpy is the open-source .NET assembly browser and decompiler.

ILSpy Features

  • Assembly browsing
  • IL Disassembly
  • Decompilation to C#
  • Supports lambdas and 'yield return'
  • Shows XML documentation
  • Saving of resources
  • Search for types/methods/properties (substring)
  • Hyperlink-based type/method/property navigation
  • Base/Derived types navigation
  • Navigation history
  • BAML to XAML decompiler
  • Save Assembly as C# Project
  • Find usage of field/method
  • Extensible via plugins (MEF)

Update:

April 15, 2012, ILSpy 2.0 was released. New features compared with version 1.0:

  • Assembly Lists
  • Support for decompiling Expression trees
  • Support for lifted operatores on nullables
  • Decompile to Visual Basic
  • Search for multiple strings separated by space (searching for "Assembly manager" in ILSpy.exe would find AssemblyListManager)
  • Clicking on a local variable will highlight all other occurrences of that variable
  • Ctrl+F can be used to search within the decompiled code view

Update:

  • ILSpy 2.1 supports async/await decompilation
Find elsewhere
🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
ilspy-vscode - Visual Studio Marketplace
Extension for Visual Studio Code - Decompile MSIL assemblies - support for full framework, .NET Core and .NET Standard
🌐
Cerbero
blog.cerbero.io β€Ί net-decompiler-package
.NET Decompiler Package – Cerbero Blog
July 9, 2024 - We’re excited to release the DotNET Decompiler package for all licenses of Cerbero Suite: this package is capable of decompiling .NET assemblies from their bytecode back to C#.
🌐
DevExtras
devextras.com β€Ί home β€Ί .net codereflect
CodeReflect - Free .NET Decompiler
November 25, 2022 - CodeReflect is designed to decompile .NET assemblies for the purpose of performance analysis, bug investigation, code familiarisation, validating obfuscation and debugging released code.
🌐
Microsoft
devblogs.microsoft.com β€Ί dev blogs β€Ί visual studio blog β€Ί decompilation of c# code made easy with visual studio
Decompilation of C# code made easy with Visual Studio - Visual Studio Blog
February 13, 2020 - Have you ever experienced an exception occurring in a 3rd party .NET assembly but had no source code to figure out why? You can now use Visual Studio to decompile managed code even if you don't have the symbols, allowing you to look at code, inspect variables and set breakpoints.
🌐
Dogbolt
dogbolt.org
Decompiler Explorer
Decompiler Explorer is an interactive online decompiler which shows equivalent C-like output of decompiled programs from many popular decompilers.
🌐
NDepend
blog.ndepend.com β€Ί home β€Ί .net – 7 decompiler compared (2025)
.NET - 7 Decompiler Compared (2025) - NDepend Blog
November 12, 2025 - ILSpy is actually so mature that Visual Studio itself relies on it to generate source code from .NET assemblies while debugging. You can also read Decompilation of C# code made easy with Visual Studio. This is a great feature when you don’t have access to the source code of a library that your code is consuming (the black-box syndrome).
🌐
CodemerxDecompile
decompiler.codemerx.com
CodemerxDecompile
The first standalone .NET decompiler for Mac, Linux and Windows. Free. For everyone. Forever.
🌐
Scott Hanselman's Blog
hanselman.com β€Ί blog β€Ί whats-better-than-ildasm-ilspy-and-dnspy-are-tools-to-decompile-net-code
What's better than ILDasm? ILSpy and dnSpy are tools to Decompile .NET Code - Scott Hanselman's Blog
May 30, 2019 - Debug .NET Framework, .NET Core and Unity game assemblies, no source code required Β· Edit assemblies in C# or Visual Basic or IL, and edit all metadata ... dnSpy takes it to the next level with an integrated Debugger, meaning you can attach to a running process and debug it without source code - but it feels like source code because it's decompiling for you.
🌐
Decompiler.com
decompiler.com
Java decompiler online / APK decompiler - Decompiler.com
Navigate through and inspect decompiled code online without installing anything. .exe and .dll .NET decompilation back to C# project.
🌐
Hacker News
news.ycombinator.com β€Ί item
The JustDecompile .NET decompiler engine has been open-sourced | Hacker News
January 31, 2015 - ALSO, coolest feature is decompile to csproj ... very nice ;) Β· Anyway, intended to say that in my experience, all 4 major decompilers get tripped up on slightly different things. Between dotpeek, reflector, ilspy, and justdecompile, none could get everything right and I have to take pieces ...
🌐
Reddit
reddit.com β€Ί r/programming β€Ί free .net decompiler from jetbrains updated with export to project, baml & async support, bookmarks and more
r/programming on Reddit: Free .NET decompiler from JetBrains updated with export to project, BAML & async support, bookmarks and more
August 9, 2013 - Ah, kids today. When I was using .NET, all I needed was Ildasm.exe. ... I still use ILDasm, and it's a great tool. But it's not a decompiler, as in it only shows IL code. Still great though.
🌐
Sharplab
sharplab.io
SharpLab
C#/VB/F# compiler playground.