PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Pdf
  4. PDF.js Viewer
PDF.js Viewer icon

PDF.js Viewer

Embed a beautiful PDF viewer into pages.

By Ben Lawson·Pdf·Free
4.4(53 reviews)
·20K+ active installs·Updated 1 week ago
DownloadVisit HomepageCompare

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….

4.4/553 reviews
20K+active installs
50%resolved
13 yearssince 2013

Overview

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:

  • Gutenberg Block and Shortcode
  • Translation Support (plugin only): Spanish and French included, ready for more languages
  • Elegant Theme that adapts to dark and light mode (if browser supports dynamic CSS)
  • Customizable buttons
  • Page navigation drawer
  • Search functionality
  • Protected PDF password entry
  • Loading bar & displays partially loaded PDF (great for huge PDFs!)
  • Document outline
  • Classic Editor: Easy to use editor media button that generates the shortcode for you
  • Support for mobile devices

Shortcode Syntax:

[pdfjs-viewer attachment_id=123 viewer_width=600px viewer_height=700px fullscreen=true…
Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.453 reviews
5 ★
37
4 ★
7
3 ★
4
2 ★
3
1 ★
2

Recent Reviews

Never failed
by cengoguven·7 months ago

I’ve been using for years and never failed. Simple to use and does the job.

Excellent PDF EMbedder
by KeithRowley·1 year ago

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.

Great Support
by Hub5050·1 year ago

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.

Not working
by fulibaba·1 year ago·2 replies

The plugin doesn’t work when it is updated to version 2.2. Are there any CORS issues?

Not working
by ludvakh·1 year ago·1 reply

Version 2.2 not working on wordpress 6.5.5.

And cannot be reactivated after deactivation.

Download Trends

Today: 215Yesterday: 317This week: 2KPeriod total: 81K

Compatibility

WordPress5.0+ requiredTested up to 6.9.4
PHP7.4+ required

Version Adoption

v3.0
51.5%
v2.2
27.4%
v2.1
14.6%
Other
6.4%

Top Alternatives to PDF.js Viewer

PDF Invoices & Packing Slips for WooCommerce icon
PDF Invoices & Packing Slips for…
5300K+ installsUpdated 4 days ago
ViewCompare
PDF Embedder icon
PDF Embedder
4.7300K+ installsUpdated 3 months ago
ViewCompare
Print, PDF, Email by PrintFriendly icon
Print, PDF, Email by PrintFriendly
3.820K+ installsUpdated 3 weeks ago
ViewCompare
Fluent PDF Generator icon
Fluent PDF Generator
520K+ installsUpdated 5 days ago
ViewCompare
PDF Poster – Display PDF Files with Custom Viewer icon
PDF Poster – Display PDF Files with…
4.520K+ installsUpdated 1 month ago
ViewCompare
View all pdf plugins →

Frequently Asked Questions

Contributors

Thomas McMahonThomas McMahonBen LawsonBen Lawson
Plugin Info
Version
3.0.4
Last Updated
Mar 25, 2026
WP Requires
5.0+
Tested Up To
6.9.4
PHP Requires
7.4+
Active Installs
20K+
Downloads
407K+
Added
Nov 1, 2013
Business
Free

Tags

pdfembedpdfjsviewermozilla

Developer

B
Ben Lawson
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

PDF.js Viewer vs PDF Invoices & Packing Slips for…→PDF.js Viewer vs PDF Embedder→PDF.js Viewer vs Print, PDF, Email by PrintFriendly→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.