Obfuscar
Obfuscar is a free tool for obfuscating .NET assemblies on Linux, macOS, and Windows.
What Obfuscar is
Obfuscar is a free tool for obfuscating .NET assemblies on Linux, macOS, and Windows. It renames metadata—including methods, properties, events, fields, types, and namespaces—to make decompiled code harder to follow. The shorter names can also shrink the resulting executable. Obfuscar can hide string constants by replacing string loads with calls that retrieve values from a buffer, at a small performance cost. This hiding is reversible, so the documentation advises against keeping confidential information as strings in assemblies. Configuration uses an XML file to identify assemblies, dependency paths, and the output location. Obfuscar is available as a NuGet package and a .NET Global Tool, and it can be integrated into command-line workflows. The project cautions that obfuscation does not stop a determined reverse-engineering effort. It also warns that malformed or malicious assemblies may cause unexpected behavior, including crashes or hangs, and recommends processing only trusted inputs. Version 3.0 requires absolute paths in its configuration and rejects relative paths and variable placeholders.
Good
- Renames multiple kinds of .NET assembly metadata.
- Shorter names can reduce executable size.
- Available as a NuGet package and .NET Global Tool.
- Supports command-line build integration.
Watch out
- Obfuscation cannot stop determined reverse engineering.
- String hiding is reversible.
- Version 3.0 requires absolute configuration paths.
- Malformed or malicious assemblies can cause crashes or hangs.
Who it suits
Obfuscar suits developers who want to make .NET assembly metadata harder to follow and can configure their builds with XML. It is relevant when reduced executable size or reversible string hiding is useful.
Verdict
Obfuscar offers metadata renaming and optional string hiding for .NET assemblies, with XML configuration and command-line distribution. Treat it as a way to hinder analysis, not a guarantee of secrecy, and process only trusted inputs.
Plans and prices
From Obfuscar's own pricing page, checked 8 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Obfuscar | Free | open source · MIT license · basic .NET assembly obfuscation |
The facts
Each one read from Obfuscar's own pages, with the date it was checked.
What it does
- Confidential strings
- The documentation says string hiding is reversible and advises against storing confidential information as strings in assemblies.checked 8 Oct 2026
- Configuration
- Obfuscar uses an XML configuration file to specify assemblies to obfuscate, dependency paths and output location.checked 8 Oct 2026
- Current beta constraint
- Obfuscar 3.0 requires absolute paths in configuration and rejects relative paths and variable placeholders.checked 8 Oct 2026
- Distribution
- Obfuscar is available as a NuGet package and as a .NET Global Tool.checked 8 Oct 2026
- Executable size
- The shorter generated names can dramatically shrink executable size.checked 8 Oct 2026
- Integrations
- The project documentation lists community projects for parsing Obfuscar mapping files and generating Obfuscar XML configuration for Unity, and says they are unaffiliated.checked 8 Oct 2026
- Metadata renaming
- It renames methods, properties, events, fields, types and namespaces to a minimal set of names.checked 8 Oct 2026
- Protection limitation
- The documentation says obfuscation makes reverse engineering difficult but does not stop someone determined to reverse engineer the assembly.checked 8 Oct 2026
- Purpose
- Obfuscar obfuscates .NET assemblies by renaming metadata to make decompiled code harder to follow.checked 8 Oct 2026
- Security limitation
- The project warns that malformed or malicious assemblies can cause unexpected behavior, including crashes or hangs, and says to process only trusted inputs.checked 8 Oct 2026
- String hiding
- Obfuscar can hide string constants by replacing string loads with calls that retrieve strings from a buffer, with a small performance cost.checked 8 Oct 2026
- Support
- Community help is available through Stack Overflow and GitHub issues, and commercial support is provided by LeXtudio Support Services.checked 8 Oct 2026
Where it runs
- Platform compatibility
- The configuration guide gives examples for macOS, Linux and Windows paths.checked 8 Oct 2026
Alternatives to Obfuscar
- 1
Enigma Protector
WebAPILinuxSelf-hosted7.4 - 2
JS-Confuser
Free planOpen sourceWebAPILinuxmacOS7.4Free plan - 3
Jscrambler
AndroidiOSWebAPI7.0 - 4
Tigress
Free planAndroidLinuxmacOSWindows6.8Free plan - 5

ByteHide Shield
Free planAndroidiOSWebLinux6.7Free plan - 6
JavaScript Obfuscator
Free planWebAPIExtensionSelf-hosted6.7From $19 a month
