Javascript DeObfuscator
Recover a readable expression from the existing Packer format.
Try this example
Load Sample and unpack. Look for the add function and its return expression.
eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||c}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}('4 3(1,0){2 1+0}',5,5,'b|a|return|add|function'.split('|'),0,{}))Expected result
function add(a,b){return a+b}The tool reads supported Packer text without executing it. Original formatting and comments may already have been discarded.
Related walkthrough · When to Format or Minify HTML, CSS and JavaScript
DTool Team
Product Team
We build simple, reliable browser tools that make everyday digital work faster.