esbuild Plugin
Obfuscate an esbuild bundle
esbuild minifies in milliseconds, but minified code keeps every string and the shape of your logic. One plugin protects what esbuild writes, in the same build() call, whether the output goes to disk or stays in memory. The free options run on your own machine with no account.
Tested 2026-10-29
Real build, same result
esbuild 0.28 and javascriptobfuscator-com 0.5.0, no account, with write: true and write: false. The protected bundle printed exactly what the unprotected one printed.
HookonEnd, after esbuild finishes
ModesOn disk or result.outputFiles
Source mapsRemoved for protected files