How to Embed a PDF in Wix

2 min read

Step-by-step guide to embedding a PDF on your Wix website. Use the Wix editor, HTML iframe, or external PDF hosting for the best results.

Wix offers a few different ways to display a PDF directly on your website. Here are the best methods depending on your needs.

Method 1: Use the Wix Document Viewer

Wix has a built-in document viewer element:

  1. Open the Wix Editor
  2. Click Add Elements (+) in the left panel
  3. Go to Embed & Social > Popular Embeds > Document Viewer
  4. Drag the viewer onto your page
  5. Click the element, then Change Document to upload your PDF
  6. Resize and position as needed

This is the easiest method and works well for most use cases.

Method 2: Use an HTML Iframe

For more control over the viewer, use an HTML embed:

  1. Click Add Elements > Embed & Social > Custom Embeds > Embed a Widget
  2. Click Enter Code and paste:
<iframe src="YOUR_PDF_URL" width="100%" height="600" style="border: none;"></iframe>
  1. Replace YOUR_PDF_URL with a direct link to your PDF

You can get a hosted PDF link by uploading to Linkyhost — just drag and drop your file and copy the URL.

Method 3: Add a Download Button

If embedding is not necessary, add a button that links directly to the PDF:

  1. Add a Button element to your page
  2. Set the link to your PDF URL
  3. Visitors can view or download on click

Which Method Should You Use?

MethodBest For
Document ViewerSimple embedding, no code
HTML IframeCustom sizing and external PDFs
Download ButtonQuick access without inline viewing

Tips

  • Keep PDFs under 10 MB for the built-in viewer
  • For externally hosted PDFs, use a service like Linkyhost's PDF link generator to get a stable, fast-loading URL
  • Test on both desktop and mobile after publishing