Whitespace:
Encode and obfuscate your JavaScript using nothing but Whitespace and Tabspaces.
Whitespace obfuscates Javascript by encoding it in binary. The binary values are then 'hidden' in the code itself, in the form of whitespace characters, and tabs. When viewing source in the browser, these characters are not immediately visible, but on closer inspection, they become very evident. A space character represents a one value, and a tabspace represents a zero character. This script reads the tabs/spaces string from the script block itself. This tool is for educational, and proof of concept purposes only. Do not use this tool to write malware-ridden code, or hide your intentions in the code.
How to use:
Input the HTML you want into the "Text to Encode" field
Our example is an IFRAME that loads a page called bad.html
You can also input script blocks with the JS you want obfuscated in there too. E.G: <script>alert(1)</script>
An example of what happens when you input the aforementioned value can be found here
Generally, you would never need to touch the template field, unless you want to obscure your code even futher.