Debloat – Remove Unused CSS, Optimize JS


A plugin for Advanced Users to Optimize CSS Delivery, Remove Unused CSS, Optimize JS Delivery with defer or Delay Load JS.
The perfect toolkit for improving your Core Web Vitals and overall website performance.

WARNING: It’s an Advanced speed optimization plugin that’s meant for power users who know what they’re doing.


  • Optimize CSS: Fix Render-Blocking.
  • Minify and Inline CSS.
  • Remove Unused CSS (Advanced).
  • Optimize JS: Fix Render-Blocking with defer.
  • Delay Load some JS until user interaction.
  • Adds resource hints for faster Google Fonts.
  • Built-in optimizations for Elementor (free version).
  • Built-in optimizations for WPBakery Page Builder.
  • Compatible with all themes and plugins.
  • Supports all modern browsers (no IE11 support).
  • Optimized code benchmarked for performance.
  • Built-in cache for processing.
  • Compatible with cache plugins (disable their JS and CSS optimizations).
  • API and hooks for theme & plugin authors.


  1. Upload/Install and activate the plugin.
  2. Go to Settings > Debloat Optimize, and configure per your requirement.
  3. Clear all caches from any cache plugin you may have active.


8 студзеня, 2022
I've been using Hummingbird for a while now and found, the bigger my blog got, the slower hummingbird was at doing the job. I tried loads of different plugins and none did exactly what I wanted it to do. this plugin, however, is brilliant. it does everything I need it to do. and even sorts critical CSS out for you without any hassle. it would be good though if the developer could update and incorporate his 'selfhost google fonts' plugin, or have some further google font options to detect and defer. other than that, its brilliant. credit to the plugin developer for the plugin, hopefully, he will continue to update and support it as it actually works better than Autoptimize.
5 снежня, 2021
I found this plugin by mistake while searching for a plugin that would improve my site performance. At first I wasn't so sure it would work given the small number of installs compared to other performance plugins. I installed it and immediately my site loading speed visibly improved. Nomore unused css or renderblocking warnings. Thanks to the developer.
27 лістапада, 2021
I am going to test it more extensively but I am under such an impression, that I had to wire something nice (and I don't write reviews that often)
Read all 10 reviews

Contributors & Developers

“Debloat – Remove Unused CSS, Optimize JS” is open source software. The following people have contributed to this plugin.




  • Added: Option to defer inline scripts – useful if some dependent inline scripts not registered using WordPress enqueues.
  • Fixed: Defer inline scripts with jQuery if jquery-core is deferred.


  • Fixed: Delay/defer only replacing one instance with duplicated tags of the same URL and id.


  • Added: New filter debloat/should_process.
  • Improved: Skip converting already qualified URLs.
  • Bumped required PHP version to 7.1+.


  • Fixed: Some PHP notices under certain conditions.


  • Added: Maximum user interaction wait time for JS delay load feature.


  • Fixed: Disable processing in feeds and on missing HTML tag.


  • Fixed: Fatal error for Sabberworm lib and resolved/matched AMP plugin dependency.


  • Added: WP CLI Commands to empty caches.
  • Added: Google Fonts optimizations such as font-display: swap.
  • Added: Option to inline Google Fonts CSS.


  • Initial release.