how to get file size of all linked files in a web page at once? without downloading them.

like pdf, wmv, mp3 , quicktime etc.

  • You sure come up with interesting questions. =)
    – Nathaniel
    Jan 26, 2010 at 1:06

5 Answers 5


For both of these Methods, I am assuming you want to measure the size of a page as well as all the pages it links to, with all their resources and not a single page with its resources.

Easiest way is probably to use something like HTTrack and point it to your site, then look at all the files it pulled and get their size - not that accurate as it adds a header and footer, but the easiest way I can think of if you do not have access to the files.

If you do have access, just select them manually and look at properties.

  • I want to take size only images, pdf, flv, quicktimr, mp3 etc Nov 25, 2009 at 7:13
  • From reading your other comment about the PDF and FLV files - I think your best bet is to just get HTTrack and use it, set it to 0 link depth and it should be able to download everything related to the page you select. Obviously it will actually download it all... but you will know the exact size of everything. Nov 25, 2009 at 7:39
  • can we just see size without downloading Nov 25, 2009 at 7:46
  • Not easily or automatically (AFAIK) the site will just say "item.flv" unless you connect to or request a download (even if you don't actually download it) there is no way to know its size. Nov 25, 2009 at 8:34

The Get File Size add-on can tell you the size for each individual file, but not at the same time. How it works is that it requests the content length header of the remote file. If the server is configured properly, it will tell you the size without you having to download it:

alt text

  • no i need to know size for all file at once Dec 25, 2009 at 7:13

Get the "View Dependencies" add-on for Firefox. Load the webpage in Firefox. Go to "View Dependencies" under the Tools menu.

The window that opens will list all the files that were loaded in order to show the page, along with their sizes in KB.

  • no it's not showing any info about linked pdf and flv Nov 25, 2009 at 6:59
  • 1
    well, you can see the SWF on a YouTube page -- that's the video player, so that's the only "dependency" that Firefox knows about. the FLV playing isn't counted because the SWF loads that through the Flash plugin. ... i don't use a PDF plugin but i'd assume that's similar. Nov 25, 2009 at 15:14

You can call the HTTP HEAD request for each item. That will give you the size in the returned header without getting the file itself.


Copy and paste the files/direct links to files into a downloader and check the total size..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.