PDF Viewer - Javascript Plugin

PDF Viewer - Javascript Plugin

PDF Viewer is a Javascript plugin for embedding PDF files on a webpage. It is coded in pure Javascript, and does not require jQuery to work. So you can use this in AngularJS or ReactJS applications also.

There is also a Wordpress plugin available with same features.


  1. Embed a PDF document in a HTML element of your specified width
  2. Embed multiple PDF documents in a single page
  3. “Previous” & “Next” buttons to move to previous and next pages of the PDF
  4. Loading progress bar will be seen while PDF is being rendered
  5. “Full Screen” button to render the PDF in full-screen mode
  6. “Download” button to download the PDF

Using the Plugin

  1. Include plugin Javascript files
  2. Include plugin CSS file
  3. Add an empty HTML element that will act as parent container for the PDF viewer
  4. Call a Javascript function to render the PDF in the HTML element

A documentation is also available that will show how to use the plugin, and the various options. Example files are also included.

Developer Features

  1. Highly commented code
  2. It is based on the stable PDF.JS library
  3. Comes with a thorough documentation
  4. Example files are included that will demonstrate embedding single or multiple PDF documents

Comments Closed.





High Resolution: No, Compatible Browsers: IE11, Firefox, Safari, Opera, Chrome, Edge