You can embed a PDF directly on a Webflow page using an embed element with an iframe, and yes, this can also be done on a Collection page.
1. Upload the PDF to Webflow
- Go to the Webflow Designer.
- Click the Assets panel (the folder icon).
- Upload your PDF file using the upload button.
- After the upload, click the PDF to copy its hosted URL (e.g.,
https://cdn.prod.website-files.com/.../document.pdf).
2. Add an Embed Element with an iframe
- Drag an Embed component from the Add panel into the page or Collection page template.
- Paste this iframe code inside the Embed element:
<iframe src="PDF_URL" width="100%" height="600px"></iframe>
- Replace
PDF_URL with the Webflow-hosted URL you copied earlier. - For improved performance or cleaner display, you can also add attributes like
loading="lazy".
3. Dynamically Embed a PDF on Collection Pages
If you want each Collection page to display a different PDF based on the CMS item:
- In your CMS Collection, create a field for the PDF (either a File field or a Link field if you're hosting the PDF externally).
- On the Collection Template page, drag in an Embed element.
- In the iframe code, replace the static PDF URL with a dynamic field:
<iframe src="https://cdn.prod.website-files.com/dynamic-url.pdf" width="100%" height="600px"></iframe>
- Highlight the
src URL inside quotes, then click the Add Field button and insert your PDF field—Webflow will auto-bind the correct value.
4. Consider Cross-Browser Support and Mobile UX
- Most modern browsers support native PDF rendering via iframe.
- Some mobile users may have a limited viewing experience—consider adding a fallback link below the embed just in case.
Summary
To display a PDF in Webflow without linking to it, use an iframe inside an Embed element referencing the PDF’s URL. On Collection pages, use dynamic PDF URLs from CMS fields to make the display content-specific.