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.

Other Features

  • Additional output and protection helpers

This page collects the smaller options that do not need their own full article but still matter when you are building a final protection profile.

Keep Header Comment

Keeps the first comment block from the source file at the start of the output. This is useful when you need to preserve license text or another important header.

JS Header Text

Inserts custom text at the beginning of all output files. Teams often use this for ownership notices or build metadata.

Lock Domain / Date

Adds runtime checks so the protected code only runs in approved environments or within approved dates. If the condition fails, the original logic does not execute.

Dead Code Insertion

Injects non-executed statements between real ones to make the output harder to read. It also increases output size, so treat it as a deliberate tradeoff.

Mixed Server Code

Targets pages that mix JavaScript with server-side code such as ASP or PHP. Use it carefully and test thoroughly, because these files are usually more fragile than plain standalone JavaScript.