flipbookdigital publishingtutorialsonline tools

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.

Embed PDF in WordPress Page: Without Plugin, With Elementor, and Free Options
Cristian Da Conceicao

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 tidy desk with a printed PDF report, a tablet, a smartphone and a laptop

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.

MethodPlugin NeededSkill LevelMobile ResultBest For
File block inline embedNoBeginnerOften a link or first pageQuick reference documents
Custom HTML iframeNoIntermediateVaries by browserCustom sizing and layout
Google Drive previewNoBeginnerScrollable on most phonesFiles you update often
Elementor HTML widgetNo (needs Elementor)BeginnerSame as iframeDesigned landing pages
Free PDF pluginYesBeginnerUsually goodNon-technical teams
Flipbook embedNoBeginnerFully responsiveCatalogs, 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.

  1. Open the page or post in the editor.
  2. Click the + inserter and search for File.
  3. Upload your PDF or choose one from the Media Library.
  4. In the block settings, switch on Show inline embed.
  5. 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:

<iframe
  src="https://yoursite.com/wp-content/uploads/2026/11/your-file.pdf"
  width="100%"
  height="800"
  style="border:0;">
</iframe>

Hands typing on a laptop with a code editor open beside a notebook

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.

  1. Upload the PDF to Google Drive.
  2. Right-click the file, choose Share, and set access to Anyone with the link as Viewer.
  3. Copy the link. It looks like https://drive.google.com/file/d/FILE_ID/view?usp=sharing.
  4. Replace everything after the file ID with /preview.
  5. Paste it into a Custom HTML block:
<iframe
  src="https://drive.google.com/file/d/FILE_ID/preview"
  width="100%"
  height="800"
  style="border:0;">
</iframe>

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

A web designer at a standing desk looking at a page builder layout on a large monitor

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

  1. Open the page with Edit with Elementor.
  2. Drag the HTML widget into the section where the PDF should appear.
  3. Paste the following responsive wrapper:
<div style="width:100%;height:80vh;">
  <iframe
    src="https://yoursite.com/wp-content/uploads/2026/11/your-file.pdf"
    style="width:100%;height:100%;border:0;">
  </iframe>
</div>
  1. Set the container to full width and remove extra padding so the document uses the space.
  2. 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.

  1. Add the HTML widget with the iframe, then open its Responsive visibility settings and hide it on mobile.
  2. Add a Button widget with the text "Open the PDF" and paste the file URL as its link.
  3. Hide the button on desktop.

Visitors on every device now see something that works.

Elementor WidgetEditionWhat It DoesWatch Out For
HTMLFreeRuns your iframe codeHeight needs manual tuning
ButtonFreeLinks to the PDF fileOpens a new tab or downloads
ShortcodeFreeRuns a plugin shortcodeRequires the plugin to be active
Dynamic tagsProPulls media file URLs automaticallyPaid 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 man in a gray hoodie reading a long document on a laptop in a cafe

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.

How to Create a Flipbook With Flipbooks AI

  1. Start here. Go to Flipbooks AI and create an account.
  2. Upload the PDF. Use the PDF to Flipbook Converter. Drop in your file and the platform converts each page automatically.
  3. Customize the look. Add your logo, choose brand colors, pick a page-turn effect, and place video or audio where it helps the reader.
  4. Set access. Publish it publicly or add password protection for private content.
  5. Copy the embed code. The Embed Flipbook on Website tool gives you an iframe snippet.
  6. Paste it into WordPress. In the block editor, add a Custom HTML block and paste. In Elementor, use the HTML widget.
  7. 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.

FeatureRaw PDF EmbedFlipbook Embed
Page-turn readingNoYes
Consistent on every phoneNot guaranteedYes, responsive
Password protectionNeeds extra setupBuilt in
Reader analyticsNone by defaultProfessional plan
Lead captureNoProfessional plan
Branding and colorsLimitedCustom branding
WatermarksNoneNone, 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

A woman using a tablet to view a catalog in her clothing boutique

SymptomLikely CauseFix
Blank boxMixed content (http file on https page)Change the source URL to https
File downloads on clickBrowser has no inline viewerAdd a visible download button
Only page one shows on iPhoneSafari limitationUse a flipbook or a button link
Frame too shortFixed pixel heightUse 80vh height in a wrapper
Google Drive shows an errorFile sharing is restrictedSet access to "Anyone with the link"
Old version still showsCache plugin or CDNPurge 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

Two colleagues pointing at a website on a large monitor in a bright open office

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 CaseRecommended MethodWhy
One-page flyerFile block inline embedFast, native, no setup
Monthly menuFlipbook embedMobile-friendly, easy to swap
Shared team documentGoogle Drive previewLive updates
Designed landing pageElementor HTML widget plus buttonFull layout control
Product catalogFlipbook embedPage turns, branding, analytics
Private course notesFlipbook with passwordAccess control

A hand turning the page of a printed glossy magazine on a wooden table

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

A woman checking website statistics on a laptop in a home studio

Here is the short decision path:

  1. Need it done in two minutes? Use the File block with inline embed.
  2. Want custom sizing? Paste an iframe into a Custom HTML block.
  3. Building with Elementor? Use the HTML widget and add a mobile button.
  4. Update the file often? Embed the Google Drive preview.
  5. 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.

A sunlit workspace with an open laptop beside a large window at golden hour

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.

Share this article

Choose your language

FreeTurn any PDF into a flipbookFree, No Credit CardRealistic Page TurnsShare With One LinkCreate a Flipbook