How to Download an Embedded PDF from a Website
Save an embedded PDF from Chrome, Firefox, Edge, or Safari, troubleshoot missing controls, and capture a page as a PDF with ScreenshotNeo.
Quick answer: If the PDF is open in your browser, click the viewer’s Download or Save button. If the page contains a direct PDF link, right-click it and choose the browser’s save-link command. These are different paths: an embedded viewer may wrap the PDF in a custom frame, while a direct link points to the PDF file itself.
If the site does not provide a permitted download, sign in or ask the site owner for access. Browser instructions do not bypass access controls.
1. Download the PDF from the browser viewer
- Open the page containing the PDF.
- Move your pointer over the document to reveal the viewer toolbar.
- Choose Download, Save, or the down-arrow icon.
- Select a location if the browser asks where to save the file.
- Open the saved file with your computer’s default PDF application if you need to print, annotate, or inspect it.
Firefox’s built-in viewer has a Save button. Mozilla explains that opening a PDF in the viewer does not necessarily save a local copy; selecting Save downloads one. Mozilla’s PDF viewer documentation also recommends downloading the file when a PDF renders incorrectly.
2. Save a direct PDF link
Use this method when the page includes a link whose destination is the PDF itself, often ending in .pdf or opening a PDF response directly.
Chrome
- Right-click the PDF link.
- Select Save Link As.
- Choose a folder and select Save.
You can also open the link, then use the PDF viewer’s Download button. Chrome documents both approaches and explains where to find completed downloads in its download help.
Firefox
Right-click the direct link and choose the save-link option, or open the PDF and press the viewer’s Save button. If Firefox does not treat the response as a PDF, the server may be returning an incorrect MIME type such as text/html instead of application/pdf.
Edge
Edge can display local, online, and webpage-embedded PDF files. For a direct link, use the link’s context menu or open the document and use any Download control exposed by the viewer. Microsoft’s PDF reader documentation confirms embedded viewing, but a website’s custom frame may not expose one universal save button.
Safari
For a direct PDF link, right-click or Command-click the link and choose Download Linked File. This documented method applies to the link itself; it is not a guaranteed extractor for every custom embedded viewer. See Adobe’s browser-specific PDF guidance.
3. Make Chrome download PDFs automatically
Chrome can either open PDFs in its viewer or download them immediately.
- Open Chrome Settings.
- Go to Privacy and security → Site Settings.
- Open Additional content settings → PDF documents.
- Select Download PDFs instead of Open PDFs in Chrome.
Chrome’s labels can change between versions, so search Settings for “PDF documents” if the menu is in a different location. The setting affects how Chrome handles PDF responses; it does not override a site that requires authentication or blocks downloads.
4. Find where the file was saved
- Chrome: Open the Downloads page from the browser menu, or press
Ctrl+Jon Windows/Linux orCommand+Shift+Jon macOS. - Firefox: Open the Downloads panel from the toolbar.
- Edge: Open the Downloads panel from the browser menu.
- Safari: Check the Downloads button near the address bar or the Downloads folder configured in Safari.
A download may finish without opening a Save As dialog. If you cannot find it, inspect the browser’s configured download folder and search for the document’s filename or for files ending in .pdf.
5. When the embedded viewer has no Download button
A custom viewer may hide its own controls, display the PDF inside an iframe, or expose only a script-generated document. Work through these checks:
- Look for a separate link: Search the page for “PDF,” “Download,” “View document,” or “Open in new window.” Save that direct link if one exists.
- Open the document in a new tab: A viewer may reveal its standard toolbar when it is no longer inside the page frame.
- Use the viewer’s keyboard or menu controls: Some viewers place Download under a three-dot menu rather than beside the page controls.
- Check whether the page requires an account: Sign in through the site’s supported flow before attempting to save.
- Ask the publisher: If the document is intentionally view-only, request an authorized copy.
Do not assume that browser developer tools, guessed URLs, or copied session data are permitted ways to obtain a protected document.
6. Troubleshooting common failures
| Problem | Likely cause | Fix |
|---|---|---|
| No toolbar or Download button | The page uses a custom embedded viewer or hides controls. | Look for a direct PDF link, open the document in a new tab, or use the site’s own menu. |
| Right-click saves an HTML page | You saved the webpage or viewer shell instead of the PDF URL. | Find the direct PDF link and use Save Link As on that link. |
| The downloaded file will not open | The response may be an error page, login page, or incomplete download. | Check the file size and extension, sign in, download again, and open it in the default PDF application. |
| The viewer is blank or renders incorrectly | The browser viewer may not support the document or the server returned an incorrect content type. | Use the viewer’s download action, then open the saved file in the default PDF application. Firefox documents this fallback. |
The browser downloads a file with no .pdf extension |
The server supplied a generic filename or content-disposition header. | Confirm that the file is a PDF before renaming it; do not rename an HTML error page to .pdf. |
| The link asks for credentials | The document is behind authentication or authorization. | Use the site’s supported sign-in and download controls, or request access. |
| Download completes but the file is missing | The browser saved it to a different configured folder. | Open the browser Downloads view and reveal the file’s location. |
| Safari has no “Download Linked File” option | You clicked inside a viewer rather than on a direct link. | Locate the actual PDF link, then Control-click, right-click, or Command-click it. |
7. Verify that you downloaded a real PDF
Check the filename and file size, then open it with a trusted PDF application. If you inspect the response programmatically, a real PDF normally has a content type of application/pdf and begins with the PDF signature bytes %PDF-. A login page or error response may instead be HTML even when the browser displayed a PDF-looking frame.
Only open files from sources you trust. Adobe’s guidance includes checking that a downloaded PDF is safe when troubleshooting files that will not open.
8. Capture the page as a PDF when you need a copy of the rendered page
Downloading the original embedded file and creating a PDF of the rendered webpage are different operations. If you need a repeatable capture of the page as it appears in a browser, a screenshot API can render it and return a PDF. This is useful for public pages or for an authorized workflow where the goal is a visual record rather than the site’s original PDF bytes.
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server. Its endpoint can return a PDF or image from one GET request, with options for full-page capture, waiting for a selector or network idle, custom headers and cookies, JavaScript, and PDF paper settings. Cookie banners, newsletter popups, and chat widgets are removed before capture; bot checks, blank pages, failed loads, timeouts, and cache hits are not billed. An MCP server lets AI agents call screenshot tools directly.
See the ScreenshotNeo API documentation for the complete option list. Basic request examples:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/document -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://example.com/document"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://example.com/document' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
Use an authorized URL and configure the response format and PDF options described in the docs when you need a PDF capture. ScreenshotNeo reports the page verdict and billing result in response headers, so unsuccessful page loads and other non-clean results are distinguishable from billable captures.
The Free plan includes 1,000 screenshots per month with no card. Paid plans start at $5 for 3,000 shots, and every feature is available on every plan. Create a free ScreenshotNeo account.
9. Reliability, privacy, and cost considerations
- Reliability: A browser viewer is simplest for one-off downloads. For repeatable captures, use explicit waits for a selector, delay, or network idle so the page has time to render.
- Dynamic pages: Lazy-loaded content, consent dialogs, login screens, and bot checks can change what appears in a capture. Use the site’s supported access flow and capture only content you are authorized to access.
- Performance: Full-page rendering and PDF generation take longer than a viewport screenshot. Reuse cached results when appropriate and choose a cache TTL that matches how often the source changes.
- Cost: A normal browser download has no API charge. ScreenshotNeo bills only clean shots; failed loads, bot checks, blank pages, timeouts, and cache hits cost nothing.
- Privacy: Avoid sending private document URLs, cookies, or authorization headers to a third-party service unless your organization permits it. Remove sensitive files after use.
10. FAQ
Is an embedded PDF already downloaded?
No. A browser can display the document without saving a local copy. Use the viewer’s Save or Download control.
Can I download an embedded PDF if there is no visible link?
Sometimes. Check the viewer menu and try opening it in a new tab. If the site intentionally restricts downloads, request an authorized copy.
Why did I save an HTML file instead of a PDF?
You probably saved the viewer page, a login response, or an error page. Find the direct PDF URL and confirm the response is a PDF before renaming anything.
Does Edge always show a Download button for embedded PDFs?
No. Edge supports embedded PDF viewing, but a website’s custom frame may expose different controls.
Can ScreenshotNeo retrieve the original PDF file?
ScreenshotNeo captures the authorized webpage and can return a PDF rendering. It is a screenshot and rendering API, so use the site’s direct download when you need the original PDF bytes.


