Input

Detection Report

What Is the JavaScript Obfuscation Detector?

Ever received a JavaScript file you didn't write and weren't sure if it was safe? This tool scans it and flags common obfuscation signals: eval() calls, auto-generated identifiers, heavily escaped literals, and array indirection — all patterns used in malicious scripts. It gives a fast static report to help you prioritize manual review. For cleaning up obfuscated code, the Obfuscator.io docs explain common patterns. For broader analysis, Chrome DevTools and AST Explorer are handy complements.

Analysis runs in your browser and does not execute the code. For cleanup, use JavaScript Deobfuscator. For packed wrappers, use JavaScript Unpacker.

How to Use the Detector

1

Paste or Upload Script

Insert JavaScript in the input panel or upload a file.

2

Review Risk Report

The tool calculates a heuristic score and lists findings with evidence.

3

Investigate Next

Use the suggested next steps to decode, unpack, or manually inspect suspicious regions.

Example Report

Input

JavaScript

Output

Report

Frequently Asked Questions

How do I detect obfuscated JavaScript online for free?

Paste the script into the input panel. Seven checks run on every edit: eval( calls, new Function, \x and \u escapes, long Base64-looking strings, _0x identifiers, numeric array lookups, and atob, unescape or decodeURIComponent calls. Each hit adds points to a score out of 100, and 70 or more is reported as High risk.

Is my JavaScript code sent to a server?

No. The checks are regular-expression counts over the text, so the script is neither uploaded nor run, which is what you want when the sample might be a card skimmer.

What obfuscation patterns does this detect?

It flags eval() usage, auto-generated identifiers, heavily escaped hex or unicode literals, large Base64 blobs and array indirection, the usual fingerprints of tools like Obfuscator.io.

Can this tool fully deobfuscate JavaScript?

No. This is a static detector, not a deobfuscator: it points out risk signals so you know where to look. For the cleanup itself, use the JavaScript Deobfuscator or Unpacker tools.

Is it legal to scan someone else's JavaScript?

Scanning is generally fine for security research and debugging. For third-party code, check the license and terms of service. See MDN Web Security for general guidance.

Related Tools