Plugin how-tos · Guide
How to Add PDF to WordPress Elementor (Step by Step)

Short answer
Upload the PDF to your Media Library and copy its File URL. In Elementor, paste that URL into a Button widget link, embed it with an iframe in the HTML widget, or drag in a PDF viewer widget from an add-on plugin.
Key takeaways
- Elementor core has no dedicated PDF viewer widget.
- Every method starts with uploading the PDF to the Media Library.
- A button link is the most reliable option on mobile.
- The HTML widget can embed a PDF with an iframe for free.
- Viewer add-ons give page controls and better phone support.
- Always add a plain download link as a fallback.
How do you add a PDF to a WordPress page in Elementor?
Upload the PDF to your Media Library, then either link to it with a Button widget, embed it with the HTML widget, or show it with a PDF viewer add-on for Elementor.
Elementor does not ship a dedicated PDF viewer widget in its core plugin. That surprises many people, but it leaves you with several easy routes.
The right one depends on what visitors should do. Some sites only need a Download button. Others want the document to show on the page so people can read it without leaving.
This guide covers four methods, from the simplest link to a full embedded viewer, plus tips for mobile, file size and SEO.
Which method should you choose?
Use a button link for downloads, the HTML widget for a quick free embed, and a PDF viewer add-on when you need a polished, mobile-friendly reader.
| Method | Cost | Shows PDF on the page | Works well on mobile | Best for |
|---|---|---|---|---|
| Button or text link | Free | No, opens in a new tab | Yes | Menus, price lists, forms to download |
| HTML widget with iframe | Free | Yes | Varies by browser | Quick embeds on desktop-heavy sites |
| PDF viewer add-on | Free or paid | Yes | Usually yes | Brochures, catalogues, manuals |
| Dynamic field (ACF or Pro) | Varies | Link or embed | Yes | Many posts that each have their own PDF |
If you are new to the builder, our guide on using Elementor in WordPress explains the editor panels used below.
Step 1: How do you upload the PDF to WordPress?
Go to Media > Add New Media File, drop your PDF in, and copy its File URL from the attachment details screen.
Every method starts here. WordPress accepts PDF uploads by default, so you do not need any extra setting.
- In your dashboard, open Media > Add New Media File.
- Drag the PDF into the upload box, or click Select Files.
- Click the uploaded file to open its details.
- Click Copy URL to clipboard next to File URL.
Give the file a clear name before uploading, such as 2026-price-list.pdf. The file name becomes part of the URL, and readers see it when they download.
If the upload fails with a size error, our guide on increasing the max upload size covers the fix. The official Media Library documentation also explains the screen in detail.
Method 1: How do you link to a PDF with a Button widget?
Drag a Button widget onto the page, paste the PDF's File URL into the Link field, and turn on Open in new window.
This is the fastest and most reliable option. It works on every device because the visitor's own browser or PDF app opens the file.
- Open the page with Edit with Elementor.
- Drag the Button widget into a section.
- Change the text to something clear, such as Download the brochure (PDF, 2 MB).
- Paste the File URL into the Link field.
- Click the gear icon next to the link and tick Open in new window.
- Click Publish or Update.
You can do the same with a text link in the Text Editor widget, or with an Icon Box or Image widget. Our guide on adding a link to a PDF in WordPress covers more link options outside Elementor.
Telling people the file type and size in the button text is good practice. It sets expectations, especially for mobile users on slow data.
Method 2: How do you embed a PDF with the HTML widget?
Drag the HTML widget onto the page and paste an iframe that points to your PDF's File URL, with a width and height set.
Most desktop browsers have a built-in PDF viewer, so an iframe displays the document on the page for free.
- Drag the HTML widget into your layout.
- Paste this code, replacing the URL with your own:
<iframe src="https://example.com/wp-content/uploads/2026/11/price-list.pdf"
width="100%" height="800"
title="Price list PDF"
style="border:0;"></iframe>
<p><a href="https://example.com/wp-content/uploads/2026/11/price-list.pdf">Download the PDF</a></p>
- Preview the page and adjust the height so the first page fits.
The title attribute helps screen reader users understand what the frame contains. MDN's iframe reference lists the other attributes you can use.
Always add a plain download link under the iframe. Some phones, especially on iOS, show only the first page or no viewer at all, and the link gives those visitors a way in.
Method 3: How do you use a PDF viewer add-on?
Install a PDF viewer add-on that adds an Elementor widget, drag that widget onto the page, then pick your PDF from the Media Library.
Add-ons give you a proper reader with page controls, zoom, download and print buttons, and better mobile support. Many use Mozilla's open-source PDF.js library to render pages in any browser.
Options in the WordPress plugin directory include PDF Smart Viewer for Elementor and general embed plugins such as EmbedPress, which add widgets you can drag into Elementor.
The setup is similar for most of them:
- Go to Plugins > Add New Plugin, search for the add-on, install and activate it.
- Edit your page in Elementor and search the widget panel for PDF.
- Drag the widget onto the page.
- Choose the PDF from the Media Library or paste its URL.
- Set the height, toolbar options and whether visitors can download or print.
Check each plugin's recent update date and reviews before installing. Every extra add-on adds weight to the editor, so our guide on speeding up Elementor is worth a read if your pages feel slow.
Method 4: How do you show a different PDF on each post?
Store each PDF in a custom file field, then use Elementor Pro's dynamic tags to pull that file into a button link or viewer widget inside your template.
This method suits product spec sheets, event programmes or course handouts where every post has its own document.
Create a File field with a plugin such as Advanced Custom Fields, attach a PDF on each post, then design a single post template in Elementor Pro. In the Button widget's Link field, click the dynamic tags icon and choose your file field.
Our guide on using Advanced Custom Fields explains how to create the field group.
How do you make embedded PDFs work well on mobile?
Give mobile visitors a download button, keep the embed height reasonable, and test on a real phone, because mobile browsers handle inline PDFs very differently.
Elementor's responsive controls help here. You can hide the iframe on mobile and show only the button, using the Advanced > Responsive settings on each widget.
A viewer add-on built on PDF.js usually gives the most consistent mobile result, because it draws the pages itself rather than relying on the phone's browser.
How do you keep PDFs fast and findable?
Compress large PDFs before uploading, use real text instead of scanned images, and put the key information on the page itself too.
Large PDFs slow down pages that embed them. Save the file with a reduced size or web preset in your PDF editor, and aim for a few megabytes at most.
Search engines can index PDF text, but the page holding it will usually rank better. Write a short summary on the page above the embed, so both visitors and search engines get the main points without opening the file.
Scanned PDFs are just images. Run them through OCR so the text can be selected, searched and read by screen readers.
What if the PDF does not show in Elementor?
Most display problems come from a wrong URL, a security header that blocks framing, or cached old content.
Work through these checks:
- Open the File URL in a new tab. If it does not load, the link is wrong or the file was deleted.
- If the iframe is blank but the URL works, your host or a security plugin may send a header that blocks framing. Ask your host, or use a viewer add-on instead.
- Clear Elementor's CSS cache and any page cache. Our guide on clearing cache in Elementor lists each place to check.
- If the widget panel will not load at all, see our guide on fixing the Elementor editor not loading.
Once the PDF shows correctly, test it in two browsers and on one phone before you share the page.
Frequently asked questions
Does Elementor have a PDF widget?
Elementor core does not include a dedicated PDF viewer widget. You can link to a PDF with the Button widget, embed it with an iframe in the HTML widget, or install a third-party add-on that adds a PDF viewer widget to the Elementor panel.
Why does my embedded PDF not show on iPhone?
Mobile Safari handles PDFs inside iframes differently from desktop browsers and may show only the first page or nothing useful. Add a download button under the embed, or use a viewer add-on that renders pages with PDF.js.
How do I make a PDF download instead of open?
Browsers decide whether to open or download a PDF, but you can add the download attribute to a link in the HTML widget. Most browsers then save the file instead of opening it. Button text that says download also helps set expectations.
Can Google index a PDF embedded in Elementor?
Search engines can index text inside PDFs linked from your site, but they treat the PDF as a separate document. Add a short written summary on the page itself so the page has useful content to rank for.
What is the maximum PDF size I can upload?
The limit comes from your host's PHP upload settings, and the Media Library shows it on the upload screen. If your PDF is larger, compress it first or ask your host to raise the upload limit.
Sources
- Media Library Screen WordPress.org
- The Inline Frame element MDN Web Docs
- PDF.js Mozilla
- PDF Smart Viewer for Elementor WordPress.org
- EmbedPress WordPress.org
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


