Documentation

Guides for protecting production JavaScript

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

Inside the Docs

Practical guides for real release work.

How-to guides Start with release sequencing and command-line usage, then move into feature-specific references.
Advanced protection Browse cross-file controls like Replace Globals and Protect Members when a build spans multiple scripts.

Variable Exclusion List

  • VariableExclusion
  • Free

Variable Exclusion List lets you define which identifiers should never be renamed during name mangling.

How to define exclusions

The setting is a multi-line list of regular expressions. Each line represents one matching rule.

^myname$
^myvalue$

Example

Source code:

function () {
    var myname;
    var myvalue;
    var hello;
}

Output with the exclusions above:

function () {
    var myname;
    var myvalue;
    var a;
}
Regex note: the matching is case-sensitive. Use patterns like ^my_ to protect all identifiers that start with a shared prefix.

Try this in the online obfuscator

Paste your own code and see this option applied, or compare plans for larger projects and the desktop app.

Try It Free See Pricing