I would like to download all the files of a given type (such as pdf) linked from a web page.

I used to use DownThemAll in Firefox, but the addon is "Not compatible with Firefox Quantum".

I have tried https://addons.mozilla.org/firefox/addon/download-star/, but I don't find out how I can use the addon to specify to download all pdf files linked in the webpage. Do I miss something?

What addons or other tools can do the task?


2 Answers 2


Does it have to be an extension? I would think wget would be more suited to the task.

wget (on Bash):

wget --recursive --level=1 --accept pdf --no-directories https://www.example.com/pagewithpdfs.htm

(courtesty of https://stackoverflow.com/a/23775416/4463400)

This downloads all of the PDFs directly linked on https://www.example.com/pagewithpdfs.htm and puts them in the current folder.

wget is installed by default on most Linux distros.

wget (on Windows):

If you're using Microsoft Windows 10, you can still use wget by getting the Windows Subsystem for Linux (wsl.exe) from the Microsoft Store.

wsl.exe wget --recursive --level=1 --accept pdf --no-directories https://www.example.com/pagewithpdfs.htm
  • For windows you can also install cygwin and add the bin directory of cygwin to your path.
    – albert
    Commented Oct 2, 2018 at 16:07
  • As an alternative, you can get it for Windows without WSL and without Cygwin: gnuwin32.sourceforge.net/packages/wget.htm It still works even in modern Windows versions, but of course it does not support as many features as recent versions, and it hasn't got security updates since about 13 years, so I would use it only with trustworthy sites. However, it might be a quick-and-dirty solution in some cases.
    – Binarus
    Commented Apr 18, 2021 at 9:08

Use downthemall, it allows you to filter a page by any file extension and download all files at once.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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