Embed a beautiful PDF viewer into pages.
As of April 2026, PDF.js Viewer is a WordPress pdf plugin with 20K+ active installations and a 4.4/5 rating from 53 reviews. It has been downloaded 407K+ times in total. Requires WordPress 5.0+ and PHP 7.4+. Available on WordPress.org since 2013. Actively maintained — updated within the last month. Downloads are down 86% this week. Support resolution rate: 50%. Top alternative: PDF Invoices & Packing Slips for….
Incorporate Mozilla’s PDF.js viewer into your pages and posts via a Gutenberg block or a simple shortcode. PDF.js is a javascript library for displaying pdf pages within browsers.
Features:
Shortcode Syntax:
[pdfjs-viewer attachment_id=123 viewer_width=600px viewer_height=700px fullscreen=true…I’ve been using for years and never failed. Simple to use and does the job.
I have been usiong a paid pdf plugin but it’s been months now with a bad fault so i tried this – perfect!
Thank you very much.
I was impressed with the level of support provided with the recent issue where the plugin stopped displaying due to Mozilla’s PDFjs, and they started using mjs files.
Thank you for an excellent plugin.
The plugin doesn’t work when it is updated to version 2.2. Are there any CORS issues?
Version 2.2 not working on wordpress 6.5.5.
And cannot be reactivated after deactivation.
| WordPress | 5.0+ requiredTested up to 6.9.4 |
| PHP | 7.4+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.