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.


སྤྱི་ཟླ་དགུ་པ། 27, 2021
It works exclusively with CSS and JVs and does it perfectly, simple to set up right out of the box great results
སྤྱི་ཟླ་དགུ་པ། 5, 2021
Hey developer bro, seriousllllly where were you before? 😺 Man your plugin is a SERIOUS MIRACLE for us.. Your plugin seriously DO WHAT IT CLAIMS TO DO.. HIGHLY RECOMMENDED TO (EACH & EVERYONE) This plugin is THE ONLY BEAST + BEST to remove useless CSS and other trash things which loads your website very slow..
སྤྱི་ཟླ་དགུ་པ། 2, 2021
Great plugin which "really" removes unused css and delays javasript files. I couldn't find a similar plugin for months. Also, it is highly compatible with LiteSpeed Cache. Thank you.
སྤྱི་ཟླ་བརྒྱད་པ། 31, 2021
thanks for making this plugin!
སྤྱི་ཟླ་བརྒྱད་པ། 24, 2021
Debloat is a part of the recommended plugins for SmartMag, a premium style for WordPress. The plugin does a great job optimizing CSS and JS and works flawlessly with Litespeed Cache for WordPress (LSCWP). Setting up Debloat as instructed in SmartMag's documentation helped improve the performance of our site's pages drastically. Due to its tight integration with the style, everything was great out of the box, and there was no need to spend countless hours testing and tweaking, unlike what we previously had to do with LSCWP page optimization settings. With the help of Debloat & SmartMag style, our pages consistently perform well on all metrics. Great plugin that worked flawlessly out of the box. Great integration with StyleMag (and possibly other styles) out of the box. Great Core Web Vitals (FCP, LCP, CLS, FID/TBT) for Mobile & Desktop. Works great with LSCWP, which is important for us as we are on a Litespeed server. No unnecessary bells and whistles, works as advertised and does a great job of delivering fantastic performance results.
Read all 6 reviews

Contributors & Developers

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




  • 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.