Embed PDF Viewer

plugin banner

Embed a PDF from the Media Library or via oEmbed in a Google Doc Viewer.

Author:Andy Fragen (profile at wordpress.org)
WordPress version required:6.0
WordPress version tested:7.0
Plugin version:2.4.8
Added to WordPress repository:31-03-2016
Last updated:21-02-2026
Rating, %:94
Rated by:19
Plugin URI:https://github.com/afragen/embed-pdf-viewer
Total downloads:309 750
Active installs:20 000+
plugin download
Click to start download

Embed a PDF from the Media Library or elsewhere via oEmbed or as a block into an iframe tag. The URL only has to be world reachable link. Chrome uses Google Doc Viewer as Chrome seems to automatically rendered embedded JS in PDFs automatically. Uses Google Doc Viewer with mobile.

Inspired by Embed PDF and RV Embed PDF.

Many thanks to Alex Kirk for making Embed PDF Viewer compatible with the new block editor.

Development on GitHub. Pull requests are welcome against the develop branch.

Known Issues

Occasionally Google Doc Viewer will not correctly load the PDF. Reloading the page should correct the issue, though this may need to be done several times.


Screenshots
ChangeLog