Title: Block Weight Inspector
Author: devmarvs
Published: <strong>јануари 20, 2026</strong>
Last modified: јануари 20, 2026

---

Search plugins

![](https://ps.w.org/block-weight-inspector/assets/Banner-772x250.png?rev=3443537)

![](https://ps.w.org/block-weight-inspector/assets/Icon-256x256.png?rev=3443537)

# Block Weight Inspector

 By [devmarvs](https://profiles.wordpress.org/devmarvs/)

[Download](https://downloads.wordpress.org/plugin/block-weight-inspector.0.1.0.zip)

 * [Details](https://mk.wordpress.org/plugins/block-weight-inspector/#description)
 * [Reviews](https://mk.wordpress.org/plugins/block-weight-inspector/#reviews)
 *  [Installation](https://mk.wordpress.org/plugins/block-weight-inspector/#installation)
 * [Development](https://mk.wordpress.org/plugins/block-weight-inspector/#developers)

 [Support](https://wordpress.org/support/plugin/block-weight-inspector/)

## Description

Block Weight Inspector adds a sidebar panel in the block editor that maps blocks
in the current post/page to the CSS and JS assets they register. It estimates local
asset sizes, highlights top offenders, and exports a JSON report. It can also generate
a suggested conditional-loading snippet to help you dequeue assets when a block 
is not present.
 It also adds a Tools -> Block Weight Inspector screen for auditing
existing posts without opening the editor. Note: The inspector preserves block comment
delimiters when analyzing content so `parse_blocks()` remains accurate after sanitization.

Key features:

 * Block -> asset mapping using registered block metadata.
 * Estimated size for local assets.
 * Top offenders summary and full asset list.
 * JSON export for sharing or auditing.
 * Suggested conditional-loading rules (review before use).

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate the plugin through the Plugins menu in WordPress.
 3. Open the block editor and use the “Block Weight Inspector” sidebar.

## FAQ

### Does this load assets on the front-end?

No. The inspector only runs in the block editor and does not enqueue anything on
the front-end.

### Why is a size shown as “remote/unknown”?

Only local files are measured by default. You can optionally enable remote size 
lookup in the inspector panel or Tools page, and the preference is saved per user.

### Are the suggested dequeue rules safe?

They are suggestions only. Some plugins enqueue assets for reasons outside of blocks.
Always review before using.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Block Weight Inspector” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ devmarvs ](https://profiles.wordpress.org/devmarvs/)

[Translate “Block Weight Inspector” into your language.](https://translate.wordpress.org/projects/wp-plugins/block-weight-inspector)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/block-weight-inspector/),
check out the [SVN repository](https://plugins.svn.wordpress.org/block-weight-inspector/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/block-weight-inspector/)
by [RSS](https://plugins.trac.wordpress.org/log/block-weight-inspector/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.0

 * Initial release.

## Meta

 *  Version **0.1.0**
 *  Last updated **5 месеци ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/block-weight-inspector/)
 * Tags
 * [assets](https://mk.wordpress.org/plugins/tags/assets/)[blocks](https://mk.wordpress.org/plugins/tags/blocks/)
   [gutenberg](https://mk.wordpress.org/plugins/tags/gutenberg/)[performance](https://mk.wordpress.org/plugins/tags/performance/)
   [profiling](https://mk.wordpress.org/plugins/tags/profiling/)
 *  [Advanced View](https://mk.wordpress.org/plugins/block-weight-inspector/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/block-weight-inspector/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/block-weight-inspector/reviews/)

## Contributors

 *   [ devmarvs ](https://profiles.wordpress.org/devmarvs/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/block-weight-inspector/)