Documentation

JavaScript Obfuscator docs

Reference guides for command-line usage, protection options, cross-file workflows, and the desktop app.

Inside The Docs

Practical guides, not placeholder pages.

How-to guides Start with command-line usage, then move into feature-specific references.
Advanced protection Browse cross-file obfuscation topics like Replace Globals and Protect Members.

Deep Obfuscation

  • DeepObfuscate
  • Basic

Deep Obfuscation is an advanced form of Name Mangling that pushes identifier reuse further to make the final code harder to follow.

What it does

Instead of only shortening names, Deep Obfuscation tries to make more identifiers share the same short names when that can be done safely. This increases ambiguity for anyone trying to trace logic manually.

Example

Without Deep Obfuscation:

function a(b, c) {
    function(d, e) {
    }
}

With Deep Obfuscation enabled:

function a(a, b) {
    function(a, b) {
    }
}
Use it when: you already want Name Mangling, but you need a stronger result and are comfortable testing the output more carefully before release.