How to Add File Size Column to SharePoint Online Document Library?

Requirement: Add file size column to SharePoint Online

How to Show File Size in SharePoint Online?

You can add the “File Size” column to any list view of the SharePoint Online document library to get the size of each file. Just follow these steps to add the file size column to SharePoint Online:

  • Navigate to the SharePoint Online Document Library
  • Click on Views drop-down in top-right corner area >> Click on “Edit Current View” 
  • Search for the “File Size” field under “Columns” and include it in the view and set the order in which you want it to appear in your view
  • Click on “OK” to save the changes to your view.

This adds the “File Size” column to the view and shows the size of each document in the view:

how to add file size column in sharepoint online

Please note, this is the size of the file without version history!

You can also get the size of each file from the properties of the file in Explorer view or from SharePoint Designer!

My other post on getting the size of a file using PowerShell: How to Get File Size using PowerShell in SharePoint Online?

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

3 thoughts on “How to Add File Size Column to SharePoint Online Document Library?

  • How can I change the File Size column from items to bytes?

  • How we add file size column to view using rest api which gives size in KB not in Byte

  • Can u copy this information of Filesize into any other column in the same library?


Leave a Reply

Your email address will not be published. Required fields are marked *