Webflow sync, pageviews & more.
NEW

Is there a tutorial or simple guide on embedding a PDF into a Webflow page? I've checked out the Webflow announcement about uploading PDFs, PPTs, DOCs, CSVs, and more, but I'm still having trouble figuring it out. Can someone assist me?

TL;DR
  • Upload your PDF to Webflow's Assets panel and copy the file URL.
  • Add an Embed element, paste an iframe code with the PDF URL, then publish and verify the PDF displays inline; use a host that supports iframe embedding if needed.

You can now upload and link files like PDFs directly in Webflow, but to actually embed a PDF document into a Webflow page so it displays inline (rather than as a downloadable link), you'll need to use a workaround.

1. Upload the PDF to Webflow

  • Go to Webflow Designer.
  • In the Assets panel, click the Upload icon.
  • Select your PDF file to upload it.
  • Once uploaded, click the asset and copy the file URL (this will be needed for embedding).

2. Embed the PDF Using an Embed Element

  • In the Designer, drag and drop an Embed element onto the canvas.

  • Paste the following embed code in the Embed field, replacing YOUR_PDF_URL_HERE with your uploaded file’s URL:

    <iframe src="YOUR_PDF_URL_HERE#toolbar=0&navpanes=0&scrollbar=0" width="100%" height="600px" loading="lazy"></iframe>

  • Click Save & Close.

Tip: You can adjust width, height, and the #toolbar=0 settings to customize the PDF viewer’s behavior.

3. Publish and Verify

  • Publish your site, then view the live page.
  • Your PDF should be displayed inline within the iframe.

If you see a "refused to display" error, your PDF host (e.g., AWS, Dropbox, or even Webflow's CDN) may have X-Frame-Options headers blocking it. If that happens, consider using Google Drive or a PDF hosting service with iframe support.

Summary

To embed a PDF in Webflow: upload the PDF, get its URL, use an Embed element with an <iframe>, and ensure the URL allows iframe embedding.

Rate this answer

Other Webflow Questions