Compress JS safely — remove comments and extra spaces without renaming variables. Built for WordPress snippets and small custom scripts.
Runs 100% in your browser — nothing is uploaded. Plugins like Autoptimize or WP Rocket may already minify site assets; use this for custom snippets, email HTML, or one-off files.
Use for small inline scripts or custom JS you enqueue in a child theme — not as a replacement for a full bundler.
wp_enqueue_script with a .min.js file in production.It avoids aggressive transforms. Template literals and strings are preserved. Always test complex modules.
Renaming breaks code that relies on global names or WordPress localize objects. Safe minify is intentional.
No — client-side only.
Our flagship assistant answers WordPress questions in plain English or full code — separate from these utilities, free beta, no login.