Filesize Format



3rd Party (Free)

1 downloads (last 90 days)

Creative Commons Attribution Share Alike Download v1.0

EE Version Support

  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



A simple ExpressionEngine plugin to format the file size output (supplied in bytes) from e.g. the EE file field type into something more readable for humans.


A simple ExpressionEngine plugin to format the file size output (supplied in bytes) from the EE file field type into something more readable.


Unzip or clone the plugin directory down. From there installation is as per any other EE plugin. Copy the plugin dir (filesize_format) into __system/expressionengine/third_party/__.


Filesize_format only supports the use of a single tag pair.

The below will return “1KB”

    {exp:filesize_format dec="0"}



The “dec” parameter lets you optionally specify the number of decimal places you want to have in your returned file size.
By default this value is “2”.

Download Filesize Format

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0 May 30, 2013

This entry was created May 30, 2013, 9:19 am.
This entry was last updated May 30, 2013, 9:21 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

1 Review:

Michael C. 10.06.13

Michael C.
Rating - {addon_rating_average}

Does exactly what it says, and then some! Sure, 1024 will output “1KB”, but as the byte-count gets higher, the plugin automatically adapts to use the most appropriate unit, so 1048576 results in “1Mb”. Great stuff!

My only complaint is that there are a bunch of OSX junk files in the archive. :)