Skip to main content
Any Framework

Obfuscar is a basic obfuscator for .NET assemblies. It uses massive overloading to rename metadata in .NET assemblies (including the names of methods, properties, events, fields, types and namespaces) to a minimal set, distinguishable in most cases only by signature.

Published
Apr 30, 2026
5mo ago
Total Downloads
1.2M
1,187,754

Install

dotnet add package Obfuscar.GlobalTool --version 3.0.0-beta.9

No framework information available.

README

Obfuscar, Minimalistic Obfuscation Tool for .NET Assemblies

  • Build status
  • NuGet Version (Global Tool)
  • NuGet Version

The project logo came from Legendora Icon by Teekatas Suwannakrua.

Maintained by LeXtudio Inc..

Description

Obfuscar is an open source .NET obfuscator released under MIT license. It provides basic obfuscation features that help secure secrets in a .NET assembly.

Obfuscar

Get Started

Documentation section contains most information you need, and also a detailed history of this project all through the years.

Deprecation notice: Environment-variable expansion inside Obfuscar configuration files is deprecated and will be removed in a future release. Please avoid using environment-variable syntax in project configuration and see the documentation for migration guidance.

Note on paths: Relative paths in configuration files are deprecated; future releases will require absolute paths. Please update configuration files to use absolute paths.

Security notice: Obfuscar depends on low-level metadata and PE-reading APIs (for example, System.Reflection.Metadata and System.Reflection.PortableExecutable.PEReader) which are not designed to handle untrusted input. Malformed or malicious assemblies or metadata can cause unexpected behavior, including crashes or hangs. Only run Obfuscar on assemblies and inputs you trust. See https://github.com/dotnet/dotnet-api-docs/pull/12412 for more details.

Issues

If you have a patch to contribute, a feature to request, or a bug to report, please post to the Issue Tracker.

Support Services

Please contact LeXtudio Inc. for support services.

Contribution

Pull requests are welcome, but make sure you sign the Contributor License Agreement.

Donation

If you want to donate to my efforts on this project, please use this link.

Changes from Previous Version

No structural changes between v3.0.0-beta.8 and v3.0.0-beta.9.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.