Your files stay on your device

# JavaScript obfuscator

Rewrites a pasted JavaScript snippet, or up to 20 .js files at once, into a harder-to-read equivalent you can copy or download as a ZIP.

Paste some JavaScript to obfuscate it.

Obfuscation is not secrecy. Strings, keys, and endpoints stay recoverable; renaming only makes code harder to skim. eval or with disables renaming entirely, because a dynamic scope can reach names this scanner cannot see. This is a scanner-level pass, a subset of what a parser-backed tool does: destructuring patterns, catch params, and names inside template expressions are left alone on purpose, and a clean run is not a claim that the source parses. Nothing is uploaded; every transform runs in this tab.
Options

## More regex & cron tools

- [JSON string escape](/json/escape)
- [JSON formatter](/json/formatter)
- [Regex tester](/dev/regex-tester)
[All regex & cron tools](/dev)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/dev/javascript-obfuscator
Markdown version: https://nutter.tools/dev/javascript-obfuscator.md
Plain-text version: https://nutter.tools/dev/javascript-obfuscator.txt
Agent index: https://nutter.tools/llms.txt

