JS Obfuscator

Obfuscate JavaScript to make casual reading harder.

Paste JavaScript to rename identifiers, encode strings and minify. That slows casual reading; it does not encrypt the code.

Processing is local. Behavior is not guaranteed — test output. Do not put secrets in client-side JS.

Recommended tools

FAQ

Yes. Obfuscation changes readability, not the intended runtime behavior.

Yes. Obfuscation changes readability, not the intended runtime behavior.

ASCII characters are encoded as \xNN, and the remaining UTF-16 code units are encoded as \uNNNN. Characters outside the basic multilingual plane can be represented by a pair of escape sequences.