How to Save Multiple Links as Files at Once (Save Target As — But Faster)
Right-clicking 'Save Target As' for every link on a page is tedious. Here's how to save multiple links as files at once — browser tricks and proper tools.
The "Save Target As" Problem
Right-click → Save Target As (or Save Link As) works fine for a single file. But when a page has 20 PDF links and you need all of them, doing it 20 times is a workflow killer.
Here's how to do it in bulk.
Method 1: DownThemAll (Firefox — Easiest)
DownThemAll was built specifically to replace repetitive "Save Target As" workflows.
- Right-click the page → DownThemAll → DownThemAll...
- All links on the page appear in a list
- Apply a fast filter (e.g.,
*.pdf) to show only the file types you want - Check all → Download
One setup, all files saved at once.
DownThemAll Fast Filters
*.pdf — only PDFs
*.mp3|*.wav — audio files
*.zip|*.rar — archives
.* — all files (use carefully)
Method 2: FileGrab — Server-Side Scanning
FileGrab replaces the "find links, then save them" workflow entirely:
- Copy the page URL
- Paste into FileGrab
- See every linked file (PDF, video, audio, image, document) listed with names and sizes
- Check the ones you want → Download individually or ZIP (Pro)
Unlike DownThemAll, FileGrab works in Chrome, Edge, Firefox, Safari, and mobile.
Method 3: Browser Developer Console
For the technically inclined, this JavaScript snippet auto-downloads all PDF links on the current page:
document.querySelectorAll('a[href$=".pdf"]').forEach((a, i) => {
setTimeout(() => {
const link = document.createElement('a');
link.href = a.href;
link.setAttribute('download', '');
link.click();
}, i * 500); // 500ms gap between downloads
});
Adjust the selector for other file types.
Method 4: wget
From the terminal, if you know the URL pattern:
wget -r -np -nd -A "*.pdf" https://example.com/resources/
This recursively downloads all PDFs from the resources directory.
Comparison
| Method | Extension | File Discovery | ZIP | Works On |
|---|---|---|---|---|
| DownThemAll | Firefox | Client-side | — | Firefox |
| FileGrab | None | Server-side | ✓ (Pro) | Any browser |
| Console snippet | None | Client DOM | — | Any browser |
| wget | None (CLI) | Recursive | — | CLI |
Conclusion
DownThemAll is the best in-Firefox solution. FileGrab is the best cross-browser, no-extension solution — and it previews file sizes before you commit to downloading anything.