Get Filesize Shortcode
"Get Filesize Shortcode" is a simple shortcode to get filesize of a file( eg. PDF, JPG, PNG ... ).
Use with caution
Get Filesize Shortcode works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 5/5 and was last updated 1 year ago, and scores 42/100 on our health check.
- Small user base (200+ active installs)
- Very few reviews so far
- No update in over a year
- Only tested up to WordPress 6.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Get Filesize Shortcode stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| filesize | #1 |
| >100 | |
| shortcode | #83 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About Get Filesize Shortcode
From the official readme · v1.3.0Description
“Get Filesize Shortcode” is a simple shortcode to get filesize of a file( eg. PDF, JPG, PNG … ) with a human readable format, using the largest unit the bytes will fit into.
Now added Get filesize block to display file link with file size.
Usage
Put [filesize]http://yoursite.com/path/to/file.pdf[/filesize] anywhere in a post.
Or you can use url attr instead. [filesize url='http://yoursite.com/path/to/file.pdf']
Also you can place <?php echo do_shortcode('[filesize]http://yoursite.com/path/to/file.pdf[/filesize]'); ?> in your templates.
As to “Get filesize” block, search ‘get filesize’ in Text block category and insert it.
Set file title and file url, and it generates a text link to the file with file size afterwards.
You can toggle Preview/Edit by clicking Preview/Edit button in toolbar of the block.
Note
- File must be in your server
- With files larger than 2MB, it might return different number due to the spec of filesize function of PHP.
Installation
- Upload
get-filesize-shortcodefolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Changelog
None.
1.3.0
- 2025-7-15
- Refactor code and add japanese translation
1.2.0
- 2023-12-21
- Add support for Get filesize block
1.0.10
- 2019-08-07
- Update readme.txt
1.0.8
- 2018-08-16
- Update readme.txt, remove ‘Donate link’
1.0.4
- 2018-08-08
- Update readme.txt
1.0.3
- minor bug fix
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Get Filesize Shortcode alternatives
All filesize plugins →FAQ
Get Filesize Shortcode: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 1, 2026
Is Get Filesize Shortcode free?
Yes. Get Filesize Shortcode is free to download and use from the official WordPress.org plugin directory.
Is Get Filesize Shortcode safe to use in 2026?
Get Filesize Shortcode works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 5/5 and was last updated 1 year ago, and scores 42/100 on our health check.
How many websites use Get Filesize Shortcode?
Get Filesize Shortcode is active on 200+ WordPress websites and has been downloaded 5,025 times since it launched in January 2015. It was downloaded 104 times in the last 30 days.
Does Get Filesize Shortcode work with WordPress 7.1?
Get Filesize Shortcode is officially tested up to WordPress 6.8.10, while the latest release is 7.1.2. It may still work, but try it on a staging site first.
What PHP version does Get Filesize Shortcode need?
Get Filesize Shortcode requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Get Filesize Shortcode last updated?
The latest version, 1.3.0, was released on July 15, 2025 (1 year ago).
Who makes Get Filesize Shortcode?
Get Filesize Shortcode is developed and maintained by ikaring.
What are the best alternatives to Get Filesize Shortcode?
The most popular alternatives to Get Filesize Shortcode are Max upload filesize (8K+ installs), WP Media Size (20+ installs) and OctoSize Media Scanner (10+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card