arrow_backBack to Toolbox

Toolbox

JS Obfuscator

Obfuscate JavaScript locally in your browser with the open-source javascript-obfuscator library, including compact output and string-array obfuscation.

Obfuscated Result

Paste JavaScript code and the browser-local obfuscated result will appear here.

Browser-Local Code Processing

Your JavaScript is processed only in the current browser. It is not uploaded to the server or stored in the database, which makes the tool suitable for snippets, scripts, and quick frontend cleanup.

Open Source Library

This tool is built with javascript-obfuscator under the BSD-2-Clause License. The page wraps the library locally in the browser and does not submit your code to this site's server.

FAQ

Is my code uploaded to the server?

No. The obfuscation step runs in the current browser and does not call this site's server APIs.

Is this the same as a production minifier or strong obfuscator?

It uses the open-source javascript-obfuscator library and is useful for temporary snippet or script obfuscation. This page keeps heavier options such as control-flow flattening and dead-code injection disabled for browser-side use.

Can the obfuscated code be restored?

Removed comments and formatting whitespace cannot be restored automatically. Keep your original source before using the result.