Embed PDF in WordPress Page: Without Plugin, With Elementor, and Free Options
Five working ways to embed a PDF in a WordPress page: the native File block, a custom HTML iframe, Google Drive, Elementor widgets, and free plugins. Includes copy-ready code, comparison tables, mobile fixes, and a flipbook alternative.
You have a PDF. You have a WordPress page. And somehow the two refuse to cooperate: the file downloads instead of displaying, the frame shows up blank on an iPhone, or the plugin you installed slows the whole site down. If you want to embed a PDF in a WordPress page, you have more routes than most tutorials admit. This article walks through the three that matter most: the native route with no plugin, the Elementor route, and the free options, including a flipbook route with Flipbooks AI that sidesteps the usual mobile headaches.
Every method below comes with exact steps, copy-ready code, and an honest note on where it breaks.
Why Embedding PDFs Gets Tricky
A PDF is not a web page. Browsers treat it as a separate document type, and each browser has its own built-in viewer. Chrome and Edge on desktop render PDFs inside a frame without complaint. Safari on iPhone often shows only the first page. Many Android browsers skip the preview and trigger a download.
That gap between devices is the reason "just paste it in" works on your laptop and fails on your visitor's phone.
What "Embed" Really Means
Embedding means the document displays inside your page, so readers never leave. Linking means a click sends them to the file. Both are legitimate. The right choice depends on file size, audience, and whether you need the reader to stay on your site.
Embed when the PDF supports the page: a menu, a spec sheet, a short report.
Link when the PDF is a long download: a 200-page manual, a legal contract.
Convert to a flipbook when the document is visual and mobile reading matters: catalogs, lookbooks, brochures.
Which Method Fits You
Here is the quick comparison before the detailed steps.
Method
Plugin Needed
Skill Level
Mobile Result
Best For
File block inline embed
No
Beginner
Often a link or first page
Quick reference documents
Custom HTML iframe
No
Intermediate
Varies by browser
Custom sizing and layout
Google Drive preview
No
Beginner
Scrollable on most phones
Files you update often
Elementor HTML widget
No (needs Elementor)
Beginner
Same as iframe
Designed landing pages
Free PDF plugin
Yes
Beginner
Usually good
Non-technical teams
Flipbook embed
No
Beginner
Fully responsive
Catalogs, brochures, reports
Embed a PDF Without a Plugin
WordPress can do this out of the box. You have three clean options, and none of them adds weight to your site.
Use the File Block
This is the fastest route in the block editor.
Open the page or post in the editor.
Click the + inserter and search for File.
Upload your PDF or choose one from the Media Library.
In the block settings, switch on Show inline embed.
Set the embed height so the viewer is tall enough to read, and decide whether to keep the Show download button toggle on.
The block shows the PDF in a frame and, if you leave the toggle on, a download button underneath. Simple, native, and update-proof.
💡 Pro tip: Keep the download button on. When a mobile browser refuses to render the preview, readers still have a working path to the file.
Paste an Iframe in Custom HTML
When you want control over width, height, and borders, use a Custom HTML block. Upload the PDF to the Media Library first, copy its URL, then paste this:
Replace the URL with your own. A height of 700 to 900 pixels works well on desktop. Always add a fallback line beneath the frame, such as a plain text link to the same file.
⚠️ Warning: Use https:// in the source. A frame loading an http:// file on a secure page gets blocked as mixed content, and you get a blank box with no error message.
Pull a PDF From Google Drive
If the file changes often, host it in Drive and embed the live version.
Upload the PDF to Google Drive.
Right-click the file, choose Share, and set access to Anyone with the link as Viewer.
Copy the link. It looks like https://drive.google.com/file/d/FILE_ID/view?usp=sharing.
Replace everything after the file ID with /preview.
When you upload a new version in Drive using Manage versions, the embedded copy updates without touching WordPress. The trade-off: your document now depends on Google's availability and sharing rules.
Embed a PDF With Elementor
Elementor has no dedicated PDF widget in its free edition, but it gives you enough building blocks to get a clean result.
The HTML Widget Method
Open the page with Edit with Elementor.
Drag the HTML widget into the section where the PDF should appear.
Set the container to full width and remove extra padding so the document uses the space.
Click Update and test on desktop, tablet, and phone previews.
The 80vh height means the frame always fills 80 percent of the viewport, so it never looks cramped on a short laptop screen or stretched on a tall monitor.
Button Link for Mobile
Phones are where inline PDFs struggle most. A smarter layout shows the frame on desktop and a button on mobile.
Add the HTML widget with the iframe, then open its Responsive visibility settings and hide it on mobile.
Add a Button widget with the text "Open the PDF" and paste the file URL as its link.
Hide the button on desktop.
Visitors on every device now see something that works.
Elementor Widget
Edition
What It Does
Watch Out For
HTML
Free
Runs your iframe code
Height needs manual tuning
Button
Free
Links to the PDF file
Opens a new tab or downloads
Shortcode
Free
Runs a plugin shortcode
Requires the plugin to be active
Dynamic tags
Pro
Pulls media file URLs automatically
Paid upgrade
💡 Pro tip: Name your sections in the Elementor Navigator, for example "PDF Viewer Desktop" and "PDF Button Mobile". Six months later you will thank yourself.
Free Plugin Options Worth Trying
Sometimes a plugin is the sane choice, especially for teams who never want to touch code.
PDF Embedder and EmbedPress
Two popular free options are PDF Embedder and EmbedPress. Both let you add a PDF through a block or shortcode and render it with their own viewer, which looks the same across browsers. That consistency solves most of the iPhone problem.
What to check before you install any PDF plugin:
Last updated date. Skip anything untouched for over a year.
Tested up to. It should list your current WordPress version.
Active installs and reviews. Read the most recent complaints, not the five-star ones.
Free tier limits. Features like download controls or advanced display options are often paywalled.
When Plugins Backfire
Plugins load their own scripts and styles, sometimes on every page, not only the ones with a PDF. Stack three of them and your page speed drops.
⚠️ Warning: Install one PDF plugin, never several. Two viewers fighting over the same file type produce blank frames and console errors that are miserable to trace.
If speed matters, enable the plugin's "load assets only when needed" setting where it exists, or ask your cache plugin to exclude those scripts from combination.
Embed a Flipbook Instead of a Raw PDF
A raw PDF embed gives the reader a scrolling gray viewer with tiny controls. A flipbook gives them a page-turning experience that behaves like a printed publication, and it loads as a responsive web element instead of a browser-dependent document viewer.
That difference matters. Browser PDF viewers vary. A flipbook embed looks the same on a laptop, a tablet, and a phone.
Paste it into WordPress. In the block editor, add a Custom HTML block and paste. In Elementor, use the HTML widget.
Publish and test on a real phone, not only the browser preview.
There are no watermarks, and the result is mobile-responsive by default. Reading on a small screen stays comfortable because pages resize instead of shrinking to unreadable text.
✅ Best practice: Keep your original PDF as a downloadable backup. Readers who want offline access get it, and you keep one source file to update.
Sharing and Security
You are not limited to embeds. Each flipbook also has a direct link you can send in email or social posts, and private publications can be locked behind a password. Offline downloads are available for readers who need the file on a plane or in a basement with no signal.
Analytics and Lead Capture
Standard PDFs tell you nothing about who read them. On the Professional plan you can see which pages get attention and collect leads before a reader opens the document. Compare options on the pricing page.
Feature
Raw PDF Embed
Flipbook Embed
Page-turn reading
No
Yes
Consistent on every phone
Not guaranteed
Yes, responsive
Password protection
Needs extra setup
Built in
Reader analytics
None by default
Professional plan
Lead capture
No
Professional plan
Branding and colors
Limited
Custom branding
Watermarks
None
None, ever
Fix Common Embed Problems
Most failed embeds trace back to a short list of causes.
Upload Limit Errors
WordPress rejects files above your host's upload cap. The message reads "exceeds the maximum upload size for this site."
Compress the PDF first. Exporting with image downsampling often cuts a 40 MB file to under 5 MB.
Ask your host to raise upload_max_filesize and post_max_size.
Upload through FTP or your host's file manager, then reference the URL in your iframe.
Blank Frame or Download Prompt
Symptom
Likely Cause
Fix
Blank box
Mixed content (http file on https page)
Change the source URL to https
File downloads on click
Browser has no inline viewer
Add a visible download button
Only page one shows on iPhone
Safari limitation
Use a flipbook or a button link
Frame too short
Fixed pixel height
Use 80vh height in a wrapper
Google Drive shows an error
File sharing is restricted
Set access to "Anyone with the link"
Old version still shows
Cache plugin or CDN
Purge cache after replacing the file
Keep It Fast and Accessible
Large embedded files slow the first load. Lazy-load the frame by adding loading="lazy" to the iframe so it only loads when it scrolls into view.
Accessibility matters too. Screen reader users cannot rely on a frame alone, so add a short text summary above it and a plain link below it. Search engines also read that text, which gives the page something to rank for even when the PDF itself is not indexed with the page.
💡 Pro tip: Name the file with plain words before uploading. spring-menu-2026.pdf beats Final_v7_REAL.pdf for both readers and search engines.
Real-World Examples
Theory is fine. Here is how this plays out for real sites.
A restaurant has a seasonal menu that changes monthly. Linking to a PDF forces diners to pinch and zoom on a phone. A flipbook built with the Restaurant Menu Creator opens cleanly and swaps out when the menu changes.
A real estate agent has listing brochures that need to look sharp. A Real Estate Brochure flipbook embedded on the listing page keeps buyers on the site and adds a download option.
A training company publishes manuals to enrolled students. A Training Manual Flipbook with password protection keeps course material away from the public.
A boutique owner updates a lookbook each season. The Google Drive method works for a quick preview, but a lookbook flipbook feels closer to a magazine and sells better.
Use Case
Recommended Method
Why
One-page flyer
File block inline embed
Fast, native, no setup
Monthly menu
Flipbook embed
Mobile-friendly, easy to swap
Shared team document
Google Drive preview
Live updates
Designed landing page
Elementor HTML widget plus button
Full layout control
Product catalog
Flipbook embed
Page turns, branding, analytics
Private course notes
Flipbook with password
Access control
That page-turn feeling is exactly what people miss when a PDF shows up as a gray scrolling box. Publications like magazines and catalogs read better when they look like the real thing.
Pick Your Method and Publish
Here is the short decision path:
Need it done in two minutes? Use the File block with inline embed.
Want custom sizing? Paste an iframe into a Custom HTML block.
Building with Elementor? Use the HTML widget and add a mobile button.
Update the file often? Embed the Google Drive preview.
Want a page-turning reader, analytics, and no phone problems? Embed a flipbook.
Whichever you choose, test on a real phone before you call the page finished. That single habit catches nearly every problem listed above.
Ready to publish a PDF that looks good everywhere? Get started for free on Flipbooks AI, browse all flipbook tools to find a template for your document, or compare pricing plans to see which one adds analytics and lead capture to your WordPress pages.