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.
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.
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.
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.