ConfuserEx Deobfuscator
Deobfuscate and clean ConfuserEx-obfuscated C# and .NET code online. Decode unicode/hex escapes, remove string encryption stubs, and restore indentation. Free, runs in your browser.
Input
Deobfuscated Output
What Is the ConfuserEx Deobfuscator?
The ConfuserEx Deobfuscator reverses common obfuscation patterns applied by ConfuserEx, a popular open-source .NET code protector. Paste obfuscated or decompiled C# code and get more readable output for analysis and debugging.
This tool runs entirely in your browser. No code is sent to any server. It handles unicode and hex escape decoding, ConfuserEx string encryption stub identification, C# indentation restoration, and whitespace normalization. Deep control-flow obfuscation and runtime string decryption require specialized tools like de4dot.
How to Use This Tool
Paste or Upload
Paste obfuscated or decompiled C# code into the left panel, or upload a .cs or .txt file. Click Sample to load an example.
View Deobfuscated Output
The right panel shows cleaned and formatted C# code. Unicode and hex escapes are decoded, string encryption stubs are flagged, and indentation is restored.
Copy or Download
Use Copy or Download to save the result as a .cs file for further analysis or debugging.
ConfuserEx Deobfuscator Examples
Here is an example of deobfuscating C# code that uses unicode escape sequences—one of the most common ConfuserEx obfuscation techniques.
Example: Unicode Escape Obfuscation
Obfuscated input:
Deobfuscated output:
When the ConfuserEx Deobfuscator Helps
ConfuserEx is widely used to protect .NET applications from reverse engineering. You may encounter it when: analyzing third-party .NET libraries, performing security research on Windows software, studying malware samples, or reviewing decompiled code from tools like ILSpy or dnSpy. This tool handles the text-level obfuscation patterns automatically.
Frequently Asked Questions
Can this tool fully reverse ConfuserEx obfuscation?
ConfuserEx applies multiple protection layers including control flow obfuscation, anti-tamper, and string encryption. This tool handles simpler patterns like unicode/hex escape decoding and code formatting. Full reversal of control flow and runtime encryption requires tools like de4dot.
Is my C# code sent to a server?
No. All deobfuscation runs entirely in your browser. Your code is never uploaded to any server.
What .NET obfuscation patterns does this tool handle?
It decodes unicode (\uXXXX) and hex (\xXX) string escapes, identifies ConfuserEx string encryption stub patterns, restores C# code indentation, and removes excessive semicolons.
What is the difference between this tool and de4dot?
de4dot is a command-line .NET deobfuscator that rewrites the assembly binary. This browser tool works on C# source or decompiled code as text, handling readable obfuscation patterns without requiring you to install anything.
Can I use this for other .NET obfuscators like Dotfuscator or SmartAssembly?
Yes. The unicode/hex escape decoding and indentation restoration work on any obfuscated C# code, regardless of the obfuscator used. ConfuserEx-specific stub patterns may not match other obfuscators.
Related Deobfuscation Tools
For browser-based deobfuscation tools and developer utilities, visit JsonFormatter.ai.