JavaScript Obfuscator

πŸ€– Agent Ready

Obfuscate JavaScript code to make it harder to read. Renames variables, removes whitespace, and encodes strings. 100% client-side.

Original: 482 bytesObfuscated: 454 bytesβˆ’6% size
JavaScript Input
Obfuscated Output
function _0x007(items,taxRate){let _0x000=0;for(let _0x001=0;_0x001<items.length;_0x001++){const _0x002=items[_0x001];_0x000+=_0x002.price*_0x002.quantity}const _0x003=_0x000*taxRate;const _0x004=_0x000+_0x003;return{_0x000,_0x003,_0x004}}const _0x005=[{name:"\x57\x69\x64\x67\x65\x74",price:9.99,quantity:3},{name:"\x47\x61\x64\x67\x65\x74",price:24.99,quantity:1},;];const _0x006=_0x007(_0x005,0.08)console.log("\x54\x6f\x74\x61\x6c\x3a",_0x006._0x004)

⚠️ This tool provides basic obfuscation, not security. Determined attackers can still reverse-engineer obfuscated code. For sensitive logic, use server-side code.