Online PHP

JavaScript Obfuscator

Protect your JavaScript source code with multiple obfuscation layers. All processing happens locally in your browser — no code is uploaded.

Preset:
Obfuscation Options HARD
Pre-processing
String Encoding
Identifier Obfuscation
Output Encoding
Input — JavaScript Source
Output — Obfuscated
✂️Minify
Removes all comments and collapses whitespace. Reduces size and removes documentation.
Strength: █░░░
🔤Hex Strings
Converts string literals to hex escape sequences. 'hi''\x68\x69'
Strength: ██░░
🏷️Rename Vars
Renames local variables and function names to cryptic identifiers like _0x1a2b.
Strength: ███░
✂️Split Strings
Breaks string literals into concatenated chunks. 'hello''hel'+'lo'
Strength: ██░░
🔡Unicode Escape
Converts identifier characters to unicode escapes. myVar\u006d\u0079...
Strength: ██░░
🔐Base64 + eval
Encodes entire script in Base64 and wraps with eval(atob(...)). Strongest single layer.
Strength: ████
⚠ Note: JavaScript obfuscation runs entirely in your browser — no code is sent to any server. Obfuscation is not encryption; a determined developer can still reverse the output. Use this to deter casual copying of client-side code, not as a security boundary. Always keep your original source backed up.