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.

Encrypt Strings

  • EncryptStrings
  • Enterprise

Encrypt Strings hides string literals behind generated runtime logic, making them much less obvious than simple escaped sequences.

What changes

Instead of leaving a readable literal in the file, JavaScript Obfuscator stores the value in an encoded form and rebuilds it when the script runs. This is typically stronger than plain string encoding when you want to hide meaningful messages, keys, or labels.

Conceptual example

A readable string such as:

"license-expired"

may become a generated representation similar to:

"nsf%y%tlcrludli%eBeolvrrs%..."
Tip: this option is most useful when the string content itself matters. Because values are reconstructed at runtime, test performance-sensitive code if you enable it heavily.