Javascript Obfuscator
Apply reversible Base64-based wrapping to JavaScript source.
Make this result useful
Use it now, or keep a copy for later. We never save your tool input automatically.
How to use this tool
Enter JavaScript source and process it; use the companion deobfuscator to recover the source text.
Important to know
Apply reversible Base64-based wrapping to JavaScript source.
This is simple reversible encoding, not code protection or malware analysis. The generated wrapper executes code if someone runs it; never run untrusted code.
Formula and methodology
Encode source bytes as Base64 and place them in a browser TextDecoder wrapper that evaluates the decoded source.
Example
console.log("Hi") becomes an encoded wrapper that can be decoded back to the original text.
Frequently asked questions
Does this keep source code secret?
No. Anyone can decode the Base64 payload.