Automatic JavaScript cleanup

Deobfuscate JavaScript

Paste obfuscated JavaScript code and get a cleaner, more readable version.

0 / 1,000,000 bytes
Obfuscated input
Deobfuscated output

Use the API

The same deobfuscation runs through POST /api/deobfuscate. Send source and authorized: true; the response carries the cleaned code, embedded-script sidecars, and pass statistics. Sources are capped at 1,000,000 bytes, the time budget defaults to 15s and is capped at 60s, and partial results report stoppedEarly.

Add "stream": true to receive newline-delimited progress events while the run is in flight, then a final result line. See the deobfuscation docsand the OpenAPI spec.

curl -X POST https://obfuscatejs.com/api/deobfuscate \
  -H 'content-type: application/json' \
  --data-raw '{
    "source": "var words=[String.fromCharCode(72,105)];console.log(words[0])",
    "authorized": true,
    "timeBudgetMs": 15000
  }'

# add "stream": true for NDJSON progress lines instead of one JSON response