JavaScript Obfuscator
Obfuscate JavaScript code instantly — presets, string arrays, control flow, dead code injection.
Source code
0 chars
Obfuscated code
Result appears after obfuscation
Obfuscation options
Usage guide
Obfuscate JavaScript code to make it hard to read. Test run verifies it still works.
- The run test only checks console.log and return values — DOM, fetch, and timers aren't supported.
- Renaming global names/properties may conflict with external libraries.
- The light preset just makes it hard to read; the strong preset enables control flow and dead code.
How to use
Paste JS code, pick a preset or tune options — obfuscation runs in a worker and the test run verifies behavior matches.
Frequently asked
- Does obfuscated code still work?
- Yes — use 'Test run' to verify the output matches the original.
- Is my code uploaded?
- No — obfuscation runs entirely in your browser via a worker.
- Light vs strong preset?
- Light is fast with basic transforms; strong adds control flow flattening and dead code.
js obfuscatorjavascript obfuscatorobfuscate codecode protectionjs minify