PDF Viewer Block for Gutenberg
PDF Viewer Block for Gutenberg
Description
A simple, responsive and 100% free Gutenberg Block to display PDF Viewers / Readers on your website.
You can easily configure the Reader’s width, height and alignment on the fly.
Compatibility:
– Fully responsive
– Works fine on Chrome, Firefox, Opera, Edge and IE11
– If javascript is disabled, a download link is provided as a fallback
This plugin uses PDF.js library, provided by Mozilla under Apache license.
Installation
- Install the plugin and activate.
- No settings page: just enjoy your new Gutenberg block! It’s available in Embeds > PDF Viewer.
Screenshots
Reviews
I've tried a few and found this to be the best
By revanslacey on July 24, 2025
The presentation is not in the preview but shows landscape presentations just fine and scales to 100% - unlike any of the other ones I tried.
Highly functional and easy to use
By Senri Miura (senribb) on June 8, 2025
It works without any problems on smartphones. It's great that it's highly functional yet simple and easy to use.
However, if I may be greedy, I would like to be able to set default values for height, etc. in the plugin settings screen.
Also, I would like to be able to check the media file names of blocks embedded within blocks.
The best PDF Viewer
By Kerfred on June 24, 2021
Great but Edge browser incompatible
By whdyer on March 23, 2021
Excelente Plugin
By claumigue on April 17, 2020
The best!
By leftezi on March 19, 2020
Switched to Gutenberg because of this plugin
By kccafe on December 12, 2019
Currently the best way to embed PDFs
By jdaviescoates on October 6, 2019
Easy to use in Gutenberg
By vabkadmin on June 13, 2019
Changelog
1.1
- Performances: Enqueue admin assets only when showing the block editor screen.
1.0.1
- Fix XSS security vulnerability. Thanks @wpscan who responsively disclosed the issue.
1.0
- Enqueue scripts and styles only when the block is displayed for better performance and Google Core Web Vitals compliance.
0.2
- Declare support for WordPress 5.5 and Block Directory.
0.1
- Plugin initial commit. Works fine 🙂






