Personally recommend
MemTronic's FREEWARE HTML/JavaScript Cruncher-Compressor v1.0k
The compression effect is extraordinary, the obfuscated code is completely unreadable, the compression rate can reach 50%, IE 5 / NS 7.0 / Mozilla / Opera 7.0 can be used
The second one, I recommend Rob Seiler’s packer
This compression and obfuscation tool is also very effective, and there are three versions. .Net, Perl, and WSH versions. WSH scripts under the Windows platform are more suitable. Command line operations have detailed instructions
The third version, produced by SaltstormESC
This tool can customize the compression level and whether to obfuscate. Of course, it has its shortcomings. The compression effect is average, and each JS statement must end with a semicolon, even if there are curly brackets.