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.

Code Transposition Eval

  • ReorderCodeEval
  • Enterprise

Code Transposition Eval adds another layer on top of Code Transposition by packing the generated wrapper into a runtime-executed string.

What changes

After the code has been transposed into a generated wrapper, this option stores that wrapper in a packed string and reconstructs it at runtime. The result is harder to inspect statically because the useful logic is no longer visible as plain code in the final output.

Strength and tradeoffs

  • Stronger protection than Code Transposition alone.
  • Can increase file size slightly because of the additional wrapper.
  • Can add some runtime overhead because the code must be unpacked before execution.
Compatibility note: this mode depends on eval(). Test it carefully in restricted environments such as browser extensions or other platforms that block runtime evaluation.