JavaScript Obfuscator
Protect your JavaScript code with variable renaming and string encoding
Input JavaScript
Paste your JavaScript code here
Obfuscated Output
Processed JavaScript code
Obfuscation Options
Obfuscation Details
- Rename Variables: Replaces variable/function names with hex identifiers (_0x1a2b)
- Encode Strings: Converts strings to hex escape sequences
- Minify: Removes whitespace, comments, and unnecessary formatting
- Makes code harder to read and reverse-engineer
Related tools
AES Encryption
Encrypt and decrypt text with AES-GCM and a passphrase, fully in your browser. Uses PBKDF2 key derivation and the Web Crypto API — your data and keys never leave your device.
Basic Auth Generator
Generate an HTTP Basic Authentication header from a username and password. Produces the Authorization header and ready-to-use curl and fetch snippets. Runs fully client-side.
Bcrypt Generator & Verifier
Hash passwords with bcrypt and verify hashes — choose your cost factor (rounds 4–15), get a secure hash instantly, and check whether a password matches a hash. Runs entirely in your browser.
CORS Header Validator
Validate Cross-Origin Resource Sharing headers for security compliance
CSP Builder
Visual Content Security Policy generator. Build secure CSP headers with an interactive UI, preview policies, and export for Nginx, Apache, and Next.js.
Email Validator
Validate email addresses with RFC 5322 syntax checking, disposable/temporary email detection, and domain verification. Client-side only.