PDF Embedder


Upload PDF files and embed them directly into your site’s posts and pages. It works as simple as adding images! Your PDF files will be automatically sized to their natural size and shape. You can also specify a width and the correct height will be calculated automatically. Our PDF Embedder plugin is fully responsive, so the embedded PDF will also look perfect, on any device. Additionally, the pdf embedder will automatically resize whenever the browser dimensions change.

The plugin has a unique method for embedding PDF files, using Javascript only, and not iframes or third-party services. This offers immense flexibility over the appearance of your document.

The PDF viewer has Next and Previous buttons to navigate the document, and zoom buttons if some areas of a PDF file are too small for your screen.

Your PDF files are embedded within your existing WordPress pages so we have full control over appearance, and all Javascript and other files are served by your own server (not by Google or any other third-party who may not be able to guarantee their own reliability). This means your PDF files will load fast, without any speed penalty.

Other PDF embedder plugins insert the PDF into an ‘iframe’ which means they do not get the flexibility over sizing. Ours does not and that is a incredible benefit to the overall viewing experience across all devices.

In the free plugin, there is no button for users to download the PDF, but download options are available in the Premium versions along with other awesome features.

Another Premium feature are Hyperlinks in your PDF being clickable. Links in the free plugin cannot be clicked.


  1. Once installed and Activated, click Add Media from any page or post, just like adding an image, but drag and drop a PDF file instead.

  2. When you insert into your post, it will appear in the editor as a ‘shortcode’ as follows:

  3. [pdf-embedder url=’https://mysite.com/wp-content/uploads/2015/01/Plan-Summary.pdf’]

  4. You can change the default appearance – e.g. width, and toolbar position/appearance through Settings -> PDF Embedder.

To override your site-wide defaults on an individual embed, see the Plugin Instructions for information about sizing options plus other ways to customize the shortcodes.

Premium Features

Features available in the PDF Embedder Premium versions:

  • Download button in the toolbar
  • Continuous scroll between pages
  • Hyperlinks are fully functional
  • Full screen mode
  • Edit page number to jump straight to page
  • Track number of downloads and views
  • Mobile-friendly
  • Secure option – difficult to download original PDF
  • Removes wp-pdf.com branding

See wp-pdf.com for details!

Mobile-friendly embedding using PDF Embedder Premium

The free version will work on most mobile browsers, but cannot position the document entirely within the screen.

Our PDF Embedder Premium plugin solves this problem with an intelligent ‘full screen’ mode.

When the document is smaller than a certain width, the document displays only as a ’thumbnail’ with a large ‘View in Full Screen’ button for the user to click when they want to study your document.

This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake. Viewers can then Click Exit to return to the regular page.

The user can also swipe continuously between all pages of the PDF which is more natural than clicking the navigation buttons to navigate.

See our site wp-pdf.com for more details and purchase options.

Protect your PDFs with our secure premium pdf embedder version

Our PDF Embedder Premium Secure plugin provides the same simple but elegant viewer as the premium version, with the added protection that it is difficult for users to download or print the original PDF document.

This means that your PDF is unlikely to be shared outside your site where you have no control over who views, prints, or shares it.

Optionally, add a watermark containing the user’s name or email address to discourage sharing of screenshots.

See our site wp-pdf.com for more details and purchase options.

PDF Thumbnails

Our PDF Thumbnails plugin automatically generates fixed image versions of all PDF files in your Media Library, to use on your site as you wish.

You can use them as featured images in posts containing an embedded version of the PDF, or as a visual clickable link to download the PDF directly.
It also displays the thumbnail as the ‘icon’ for the PDF in the Media Library, making it easy for authors to locate the PDFs they need to insert in a post.

See our site wp-pdf.com/thumbnails/ for more details and purchase options.

Now translation-ready!

Please contribute your translations.

With thanks to the Mozilla team for developing the underlying pdf.js technology used by this pdf embedder plugin.


  • Uploaded PDF is displayed within your page/post at the correct size to fit.
  • User hovers over document to see Next/Prev page butons.
  • Settings can change appearance of the viewer, including size


Deze plugin voorziet 1 blok.

  • PDF Embedder


Easiest way:

  1. Go to your WordPress admin control panel’s plugin page
  2. Search for ‘PDF Embedder’
  3. Click Install
  4. Click Activate on the plugin

If you cannot install from the WordPress plugins directory for any reason, and need to install from ZIP file:

  1. Upload directory and contents to the /wp-content/plugins/ directory, or upload the ZIP file directly in
    the Plugins section of your WordPress admin
  2. Follow the instructions from step 4 above


How can I obtain support for this product?

We have instructions and a Knowledge Base on our website explaining common setup queries and issues.

Please feel free to email contact@wp-pdf.com with any questions.

Always include your full shortcode, plus links to the relevant pages, and screenshots if they would be helpful too.

We may occasionally be able to respond to support queries posted on the ‘Support’ forum here on the wordpress.org plugin page, but we recommend sending us an email instead if possible.

How can I change the Size or customize the Toolbar?

See Settings -> PDF Embedder in your WordPress admin to change site-wide defaults. You can also override individual embeds by modifying the shortcode.

Resizing works as follows:

  • If width=’max’ the width will take as much space as possible within its parent container (e.g. column within your page).
  • If width is a number (e.g. width=’500′) then it will display at that number of pixels wide.

In all cases, if the parent container is narrower than the width calculated above, then the document width will be reduced to the size of the container.

The height will be calculated so that the document fits naturally, given the width already calculated.

The Next/Prev toolbar can appear at the top or bottom of the document (or both), and it can either appear only when the user hovers over the document or it can be fixed at all times.

See the Plugin Instructions for more details about sizing and toolbar options.

PDF Embedder Premium feature list

Features available in the premium versions of the plugin:

  • Download button in the toolbar
  • Continuous scroll between pages
  • Hyperlinks are fully functional
  • Full screen mode
  • Edit page number to jump straight to page
  • Track number of downloads and views
  • Removes wp-pdf.com attribution from the toolbar
  • Mobile-friendly
  • Secure option – difficult to download original PDF

See wp-pdf.com for details!

Can I improve the viewing experience for mobile users?

Yes, our PDF Embedder Premium plugin has an intelligent ‘full screen’ mode.
When the document is smaller than a certain width, the document displays only as a ’thumbnail’ with a large ‘View in Full Screen’ button for the user to click when they want to study your document.
This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake.
Click Exit to return to the regular web page.

See our website wp-pdf.com for more details and purchase options.

Can I protect my PDFs so they are difficult for viewers to download directly?

Not with the free or (regular) pdf embedder premium versions – it is relatively easy to find the link to download the file directly.

A secure premium version is available that encrypts the PDF during transmission, so it is difficult for a casual user to save or print the file for use outside your site.

See our website wp-pdf.com for more details and purchase options.

Can I add a Download button to the toolbar?

This is possible only in the PDF Embedder Premium version. As a workaround in the free version, you could add a direct link to the PDF beneath the embedded version.

To do this, copy the URL from the pdf-embedder shortcode and insert it into a link using HTML such as this:
<a href=”(url of PDF)”>Download Here</a>

Are Hyperlinks supported?

The Premium versions allow functioning hyperlinks – both internal links within the document, and links to external websites.

Can I remove the wp-pdf.com link from the viewer toolbar?

The easiest way is to upgrade to our Premium version, but if you know how to add entries to your database then you can add a line to the wp_options table
with option_name ‘pdfemb_poweredby’ and option_value ‘1’.

For more information on PDF Embedder Premium versions visit wp-pdf.com.


13 oktober 2023 1 reactie
I have been using it for 2 years now. It is an excellent plugin. Needs some learning curve in the beginning and the documentation and support are great help. Offers a variety of flexible ways to display pdf. Excellent!
2 oktober 2023 1 reactie
Display of PDF doesn't fit correctly to any standard theme. Settings are poor and don't always work.
24 september 2023 3 reacties
Several bugs appeared at the beginning of 2023 from version 5.1 of the pro version…These bugs are still not all fixed!We can just go back to the previous version these bugs…The developers of this plugin don't care about their customers…I give 2 stars, because the plugin was very good before.
15 september 2023
5.0.2 paid version works "as expected" (very close to free version though, be sure you need it). 5.4.1 was really a bad experience and should not be advertized as a production version. It simply do not work for mobile viewing.2 stars because - while finally I got it working as per my needs - I've spent hours changing various settings on my site (I thought WP Supercache was the pain point. Spoiler : it's not) and displayed live crappy page in the meantime.
14 juni 2023
For years I solved the pdf problem by converting the file to Word, then importing to WP. When I saw this -- and saw that it worked -- I was overjoyed. My blogging has become much more productive. I upgraded, buying the five site pack. If you don't use the Pro version, you're wasting a lot of time maintaining your website.
Lees alle 167 beoordelingen

Bijdragers & ontwikkelaars

“PDF Embedder” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


“PDF Embedder” is vertaald in 19 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “PDF Embedder” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.



Resolved Javascript errors in minified JS


Added about tab
Updated core PDF.js functionality
Addressed mobile issue in Safari iOS


Added support for Italian language
Security & Bug fixes
Updated compatibility for WordPress 5.7


PDF Zoom increase upto 800%
Added compatibility for WordPress 5.7


Fix language compatibility issue in viewer
Fixes js and css files cache issue
Added compatibility for WordPress 5.3.2


Added compatibility for WordPress 5.3
Fixes multiple PDF rendering issues in viewer


Fixed code for policy compatibility


Fixed Scrollbar issues with Firefox and iOS devices. Improved compatibility


Fixed script problem on some Gutenberg editor installations. Improved compatibility


Added compatibility for WordPress 5.2.1


Fixed general bug & added compatibility


Added compatibility for WordPress 5.2.1


Added compatibility with Gutenberg Editor


Updated version of underlying pdf.js library, fixes some rendering bugs.

Recalculates fresh viewer size more often in response to resize events. Previous versions attempted to increase performance by only recalculating viewer size when it had changed, but this missed some required resizing after Javascript-based tabs are clicked.

Fixed some issues with zoom appearance.

Mouse scroll wheel is now more consistent across all browsers (in terms of scroll speed).

When scrollbars are always visible, no longer cuts off edge of PDF underneath.


Ready for compatibility with WordPress 4.8.

New mouse wheel scrolling in Firefox wasn’t working with some themes.

Latest version of pdf.js library, and newest code bringing the free version into line with the premium versions.

Mouse wheel scrolling in Firefox no longer also scrolls the window unless at very top or bottom of page.


Latest version of pdf.js library, and newest code bringing the free version into line with the premium versions.

Improved responsiveness and redraw of pages.

Plugin now respects the SCRIPT_DEBUG flag in wp-config.php and displays non-minified versions of the JS files if this is set to true.
Helps debugging any issues.


Latest version of pdf.js library to include recent rendering developments/fixes by the team.


Internal code refactoring. Added note that ‘page turning arrows’ are now available in the premium versions.


Fix for a small number of PDFs rendering as smaller than expected on some high resolution screens.


Please clear browser and any WordPress cache if you experience any problems following this upgrade.

Better support for high resolution screens.

Improved SEO for embedded PDFs (which are now links initially before Javascript converts them into the interactive view).
This also ensures the PDFs are accessible to users even if Javascript problems cause your site to break.

Compatible with WordPress 4.6.

Added a filter named my_pdfemb_override_send_to_editor that means the shortcode generation can be turned off if desired.

Uses latest version of pdf.js library for rendering PDFs.

Toolbar buttons have type=”button” attribute to avoid conflicts with some other plugins.

Spanish translation contributed by Armando Landois.

Added pdfemb_filter_shortcode_attrs filter so developers can change default shortcode parameters through code.


Fixes for right-to-left languages.


Added French translation thanks to Thierry Gaillou of JDFitForme.
Uses newer version of pdf.js library for rendering PDFs.


Uses latest version of pdf.js library for rendering PDFs.
Options page tidied up.


Some settings were difficult to change on multisite installs.


Code placeholders for opening links – available only in premium versions.
Updated languages.


Code placeholders for tracking views/downloaders – available only in premium versions.
Updated languages.


Now translation-ready! Your language contributions are welcome.
Compatibility with WordPress 4.4

Contains information about new features in Premium version:
Functioning hyperlinks
Jump to page number


Better explanation of some error messages (e.g. attempt to access PDF on a different domain).
Forced white background by default – some Theme’s CSS would override.


‘Download PDF’ button added to options, but function is only available in Premium versions.


Redesigned toolbar buttons


New version of PDF.js, fixes some PDF rendering bugs.


Obtains PDF over same transport (https/http) as host page, regardless of that specified in the shortcode url parameter. This avoids conflicts and failure to display PDF if the two don’t match.


Settings -> PDF Embedder page so you can now set site-wide defaults for width, height, and toolbar location/appearance.


Added zoom feature. Toolbars can be fixed instead of appearing on hover.


Fixed ‘scrollbars’ in IE.


Fixed ‘scrollbar’ issues.

Displays page number on toolbar (“Page 1/10”).

Added ‘Loading…’ indicator.

Improved display of many PDFs (Added ‘cmaps’ to the distribution).


Added compatibility.js to support some minor browsers, e.g. Safari which did not allow ranged downloads


Minified Javascript code. Default width/height (now “max”) expands to fill parent container width regardless of the natural size of the document. Use width=”auto” to obtain the old behavior.


Added usage instructions within the settings page.


First version