Skip to content

JavaScript Developer Suite · free · no sign-up

JavaScript Obfuscator

Make JavaScript harder to read. This is obfuscation, not real security.

How it works Report a problem

JavaScript Obfuscator

Protect your source code by making it unreadable

JavaScript Tool
Clean Source
Obfuscated Code

                

About the JavaScript Obfuscator

Make JavaScript harder to read. This is obfuscation, not real security.

How to use the JavaScript Obfuscator

  1. Paste your code into the input box, or click Load Sample to load an example.
  2. Choose the Obfuscation Level: Light (character-code conversion) or Aggressive (Base64 eval), and optionally Mangle Variable Names.
  3. Press Obfuscate Now.
  4. Use Copy (or Download where shown) to keep the result. Clear empties the box.

Tips

  • Obfuscation can always be reversed by a determined person. Never put secrets or API keys in client-side code.
  • Obfuscated code can be larger and slower, and may trigger security warnings.

Frequently asked questions

Does obfuscation protect my code?
It only discourages casual copying. Do not rely on it for security.