Javascript DeObfuscator

 This tool removes common JavaScript obfuscation techniques. The deobfuscation JS is the inverse of the obfuscation. The goal is to rewrite / decode / deobfuscate / decrypt / uncompress the javascript obfuscated code to retrieve native JS. Tools are called unobfuscator or deobfuscators.

For example, if we have a JS code that has been obfuscated like the one below, this tool will de decode and generate the real formatted script that can easily be read and understood.

eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('2 0=e(\'d c 0: \');2 1=b.a(0);9.8(`7 6 5 4 ${0}3 ${1}`);',15,15,'number|result|const|is|of|root|square|The|log|console|sqrt|Math|the|Enter|prompt'.split('|'),0,{}))

The deobfuscated version of this script will then look like the one below;

// take the input from the user
const number = prompt('Enter the number: ');

const result = Math.sqrt(number);
console.log(`The square root of ${number} is ${result}`);
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.