Title: Media Library File Size
Author: Sully
Published: <strong>March 9, 2023</strong>
Last modified: October 17, 2026

---

Search plugins

![](https://ps.w.org/media-library-file-size/assets/banner-772x250.png?rev=3027659)

![](https://ps.w.org/media-library-file-size/assets/icon-256x256.png?rev=2895274)

# Media Library File Size

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

[Download](https://downloads.wordpress.org/plugin/media-library-file-size.1.8.zip)

[Live Preview](https://vec.wordpress.org/plugins/media-library-file-size/?preview=1)

 * [Details](https://vec.wordpress.org/plugins/media-library-file-size/#description)
 * [Reviews](https://vec.wordpress.org/plugins/media-library-file-size/#reviews)
 *  [Installation](https://vec.wordpress.org/plugins/media-library-file-size/#installation)
 * [Development](https://vec.wordpress.org/plugins/media-library-file-size/#developers)

 [Support](https://wordpress.org/support/plugin/media-library-file-size/)

## Description

Improve your Media Library functionality by introducing new data that showcases 
the sizes of files, including collective variants.

Primary Features:

 * View a pie chart to quickly visualize the most common attachment types, grouped
 * See how much storage your library adds each month
 * See how much space each image size (thumbnail, medium, large, etc.) uses
 * Find and delete leftover image sizes no longer registered by your theme or plugins
 * Filter the Media Library by file size in List and Grid view
 * View largest file sizes with a click of a button
 * Support for List & Grid mode in the Media Library
 * Tested with media libraries with over 50,000 attachments
 * View file size of primary file and their variants
 * Sort the media library by file size to find those pesky large file
 * View all variants of an image with the ability to download them

Images and videos play a crucial role in engaging visitors and making a website 
visually appealing. However, managing these files can become a daunting task, especially
when you have a large number of media files on your website. WordPress does offer
a media library that allows users to upload and manage media files, but it falls
short when it comes to providing information about file sizes. This is where the“
Media File Sizes” plugin comes in.

 * By default sizes may show without the need to run an index however, indexing 
   the Media Library is highly recommended.
 * If sizes do not show, you can click the Index Media button within the Media Library
   to index/re-index items.
 * Shows file size of primary file, plus combined sized for variants (images).
 * Ability to order the media items by file size.

**Check out our other plugins:**

 * 🦄 [Unicorn Panel](https://unicornpanel.com?ref=WordPress&utm_campaign=WPReadme)–
   the new web hosting control panel built for multi-server fleets; FREE!
 * ✨ [Export Single Post Page](https://wordpress.org/plugins/single-post-page-export/)
 * 🔒 [Two Factor (2FA) Authentication via Email](https://wordpress.org/plugins/two-factor-2fa-via-email/)
 * 🙍‍♂️ [View User Metadata](https://wordpress.org/plugins/view-user-metadata/)
 * 🔠 [Enable Turnstile (Cloudflare) for Gravity Forms](https://wordpress.org/plugins/enable-turnstile-cloudflare-for-gravity-forms/)
 * ⭐️⭐️⭐️⭐️⭐️ [Gravity Forms to FreeScout](https://ss88.us/plugins/gravity-forms-freescout?utm_campaign=OtherPlugins)

## Screenshots

[⌊The Media Library view with the new File Size column and 'Index Media' button.⌉⌊
The Media Library view with the new File Size column and 'Index Media' button.⌉[

The Media Library view with the new File Size column and ‘Index Media’ button.

[⌊Pressing this button indexes your Media Library file sizes.⌉⌊Pressing this button
indexes your Media Library file sizes.⌉[

Pressing this button indexes your Media Library file sizes.

[[

## Installation

Use the automatic installer via WordPress or download the plugin and:

 1. Upload the plugin files to the `/wp-content/plugins/media-library-file-size` directory.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Navigate to the Media Library and click the Index Media button.

## FAQ

### The file size does not show for an attachment in the media library?

First try to index the Media Library by pressing the button ‘Index Media’ (when 
viewing the Media Library in list view mode). If this fails, it usually means that
the file does not exist locally on the server.

The most common reason is because the file has been offloaded onto a CDN.

### I do not see a Index Media button?

Make sure you are looking at your Media Library. The button shows in both List and
Grid view, but only until your library has been indexed. To index again, use ‘Reindex
Media’ under the Media menu.

### What is the additional file size e.g. ‘(+27 KB)’ in the file size column?

This is a collective size of your thumbnails (and other sized images).

## Reviews

![](https://secure.gravatar.com/avatar/d3f83456a445dd38530bd929d4c81ae815551f70b377957f5ac1cc950e7ef1d3?
s=60&d=retro&r=g)

### 󠀁[Working OK on V7.0](https://wordpress.org/support/topic/working-ok-on-v7-0/)󠁿

 [alanm52](https://profiles.wordpress.org/alanm52/) June 5, 2026

A 'must have' plugin and so far working well on V7.0. Note: Before clicking on File
Size you must first index the Library!

![](https://secure.gravatar.com/avatar/5bde4e26f0d701cac1177307f7bbffcbbeef47c6c809504c60b402f4fbf9548b?
s=60&d=retro&r=g)

### 󠀁[A great plugin](https://wordpress.org/support/topic/a-great-little-plugin-14/)󠁿

 [tribalmaggot](https://profiles.wordpress.org/tribalmaggot/) April 1, 2024 1 reply

We use this plugin with a large Wordpress site, where multiple users add images.
We keep this plugin installed so everyone can easily see if images are too large.
Love the ability to sort the media library by file size.

![](https://secure.gravatar.com/avatar/111643ac98f39db50c6d169a38c5bb981af9ba8399ff23453d7fef2c4b288571?
s=60&d=retro&r=g)

### 󠀁[Handy Little Plugin](https://wordpress.org/support/topic/handy-little-plugin-16/)󠁿

 [nathaningram](https://profiles.wordpress.org/nathaningram/) May 1, 2023 1 reply

Nice addition to the feature set of the WP Media library. Helpful to identify large
media files that are taking up server space. Great work!

![](https://secure.gravatar.com/avatar/01926a6549e9b1074f528fff57a8af24050171657c74c073aaef61935367177f?
s=60&d=retro&r=g)

### 󠀁[No sorting and incomplete immage size listing](https://wordpress.org/support/topic/no-sorting-and-incomplete-immage-size-listing/)󠁿

 [helmutoutdoor](https://profiles.wordpress.org/helmutoutdoor/) April 13, 2023 1
reply

Generally great plugin, just the extension in the Media Library (Medienübersicht)
that shows you the size of each immage. But it only shows the size of the latest
60 immages. All that comes after (Bevore may 2022) has no sizes. Also the sorting
by immage size does not work. I hope this plugin will improve over time!

![](https://secure.gravatar.com/avatar/12c45aceacb7c5a535bae936e34d7e2b9f44720f240e15e06a7f723bb19704bc?
s=60&d=retro&r=g)

### 󠀁[Better than basic media manager](https://wordpress.org/support/topic/better-than-basic-media-manager/)󠁿

 [bopsbees](https://profiles.wordpress.org/bopsbees/) March 20, 2023 1 reply

I needed something that helped me manage my uploaded files. I found the default 
media manager in wordpress a little lacking and was happy to try a few out. This
is the one that I stuck with as it seems to do exactly what I need.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/media-library-file-size/reviews/)

## Contributors & Developers

“Media Library File Size” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Media Library File Size” into your language.](https://translate.wordpress.org/projects/wp-plugins/media-library-file-size)

### Interested in development?

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

## Changelog

#### 1.8

 * Tested up to WordPress 7.1
 * NEW: Storage Growth chart on the Analyze page shows how much space was added 
   each month. Click a month to see its largest files
 * NEW: Image Sizes panel on the Analyze page shows the space used by every image
   size
 * NEW: Find and delete leftover image sizes no longer registered by your theme 
   or plugins. Files still linked in your content are kept
 * NEW: Filter the Media Library by file size (larger than 1 MB to 100 MB) in both
   List and Grid view
 * NEW: Analyze page layout and confirmation dialogs refreshed
 * Fix: Variant sizes are now calculated correctly when images are uploaded, edited
   or regenerated
 * Fix: Script conflict with other plugins on the Media Library screen
 * Unicorn Panel announcement notice (dismissible)

#### 1.7

 * Security fixes
 * Performance improvements
 * NEW: ‘Analyze’ feature. View the pie chart or tables to see which different types
   of attachments are using the most space. Manage them from a simple table.
 * NEW: Grid view now has Media Library totals as well as index buttons
 * NEW: When you edit an attachment, you can view it’s variants and see the total
   variant file size
 * NEW: When viewing an attachment in Grid mode, you can view it’s variants and 
   see the total variant file size

#### 1.6.8

 * Tested up-to 6.9
 * Administrator check for Indexes

#### 1.6.7

 * WordPress ‘release’ loop fix

#### 1.6.6

 * Fix: innerHTML error
 * Fix: reindex warning

#### 1.6.5

 * Removed memory_limit
 * Indexing/Reindexing will batch process 100 media items at a time (memory saving
   feature)

#### 1.6.4

 * Fix: Remove ‘View Variants’ link if no variants exist on images
 * Fix: Index/Reindex populates the total size correctly
 * Fix: Translation code fix + prep for later release

#### 1.6.3

 * Added prior version to trunk for rollback compatibility
 * Minor fixes to code and readme.txt
 * Rate us link

#### 1.6.2

 * Fix visibility of button on Activation of plugin

#### 1.6.1

 * File size fix in modal

#### 1.6

 * Many thanks for 2,000 active installations!
 * This new version includes a ‘View Variants’ button, which opens a minimalist 
   modal to show you all the different variants WordPress has for the selected image.
   This information includes filename, file size, width, height, and the wordpress
   size name use. You can also click the box to load that individual variant in 
   a new tab!

#### 1.5.1

 * Potential memory issue fix for large libraries

#### 1.5

 * Added a ‘Reindex Media’ button to admin sidebar under Media
 * Extra hooks for better count of file sizes

#### 1.4

 * This update requires pressing the Index Media button again
 * Size of entire Media Library now shows next to title

#### 1.3

 * Spelling fix
 * When uninstalling the plugin, it removes the post meta we use to index the files.
 * Readme.txt updates
 * Index check — do not show ‘Index Media’ button if the library is already indexed(
   also fixes first time arrow).

#### 1.2

 * Added arrow and redirect when plugin activated to help users press the Index 
   Media button

#### 1.1

 * Updated to work with WordPress 4.1+

#### 1.0

 * Initial release.

## Meta

 *  Version **1.8**
 *  Last updated **5 hours ago**
 *  Active installations **6.000+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/media-library-file-size/)
 * Tags
 * [file size](https://vec.wordpress.org/plugins/tags/file-size/)[image size](https://vec.wordpress.org/plugins/tags/image-size/)
   [media library](https://vec.wordpress.org/plugins/tags/media-library/)
 *  [Advanced View](https://vec.wordpress.org/plugins/media-library-file-size/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/media-library-file-size/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/media-library-file-size/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/media-library-file-size/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/media-library-file-size/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/media-library-file-size/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/media-library-file-size/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/media-library-file-size/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/media-library-file-size/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/SS88/)