Use Command Line

  • Free

The command line tool lets you protect files automatically using the settings you have already configured in the GUI.

First, create a project in the GUI, add your files, and configure the obfuscation settings.

Then click Tools → Command Line to see the generated command:

Command line dialog in JavaScript Obfuscator

Copy the command and run it in a terminal. You can also invoke it from any programming language or build script that supports launching a process.

If you need to protect code at runtime without the command line, check the JSO API.