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.

Move Strings Into Array

  • MoveStrings
  • Free

Move Strings Into Array collects string literals into a generated table near the start of the file so the original statements no longer contain their readable string values inline.

What it does

Instead of keeping every string directly beside the logic that uses it, the obfuscator stores those strings in a shared array and accesses them indirectly. That breaks the visual connection between the statement and the data it depends on.

Example

Readable source:

o.style.color = "red";

After strings are moved into a table, especially when combined with Move Members:

o[a[23]][a[52]] = a[145];
Dependency note: Move Members relies on this feature to hide property access effectively, so they are commonly enabled together.