Security
JavaScript Minifier and Obfuscator
Use JavaScript Minifier and Obfuscator online for free. Adjust the available options and process your data locally in your browser, with no installation or sign-up.
Your data is processed only in your browser
Features and usage
Enter your content or choose the options above, then review the result. Tool calculations run locally in your browser.
Available options
- ES module
- Mangle top-level names
- Reserved names (comma-separated)
Scope and limitations
Uses Terser to remove whitespace and rename local identifiers. This is not cryptographic encryption and does not execute input code. Property names are unchanged; control flow is not flattened. Enabling top-level renaming may affect calls from other scripts.
Example input
function welcome(personName) { const message = "Hello " + personName; return message; }