WEBPDF.js – A JavaScript PDF Viewer

WEBPDF.js is a purely JavaScript library for viewing PDF files in web browsers — it requires no plug-ins and provides native-like performance. It is a free package available from Foxit.

Foxit WebPDF.js provides a world-class JavaScript library for viewing PDF files in web browsers. It requires no plug-ins and client side rendering — it is a 100% JavaScript/HTML/CSS solution. Simply put, it offers the same power and accuracy as a desktop PDF viewer such as Foxit Reader, but for web browsers. For free!

Alongside HTML and CSS, JavaScript is one of the three core technologies of the World Wide Web. Now all modern web browsers support it without the need for plug-ins by means of a built-in JavaScript engine. We allow PDF.js users to migrate painlessly to WebPDF.js to ensure that projects are accurate and well supported.

Do you want to see it in action? Have a look at our online demo!

WebPDF.js supports these features:
– PDF viewing
– Go to page
– Zoom
– Rotate page
– Page thumbnail
– Bookmark
– Access file attachments
– Text search
– Print selected pages
– Open password protected PDF
– Full-screen view


WebPDF.js uses Foxit’s PDF rendering engine, based on our advanced PDF technology. It is a light-weight tool that can view PDFs in Web browsers and is simple to integrate into your web applications with just a couple of steps.

WebPDF.js provides high fidelity PDF rendering technology. It is engineered to be immune to browser variations in HTML5 support. Besides the basic PDF objects (text, image, path), WebPDF.js supports advanced objects (patterns and transparency) and image objects (jpeg, jpx, path)

For developers who have implemented pdf.js in their projects but find the lack of accuracy and support troublesome, we have good news WebPDF.js provides an interface that you can use to migrate and replace pdf.js with no changes to your front-end code. It’s ready to swap in and do the job you need it to in no time.

Related blog posts

Download webpdf.js for free

You can use WebPDF.js for free in your project. Looking for the classic version of WebPDF Viewer? Have a look here.

<!--[if lte IE 8]><!-- [et_pb_line_break_holder] --><script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script><!-- [et_pb_line_break_holder] --><![endif]--><!-- [et_pb_line_break_holder] --><script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script><!-- [et_pb_line_break_holder] --><script><!-- [et_pb_line_break_holder] --> hbspt.forms.create({<!-- [et_pb_line_break_holder] --> portalId: "3418449",<!-- [et_pb_line_break_holder] --> formId: "5599e936-5d90-4fcf-bc73-6882351040b8"<!-- [et_pb_line_break_holder] -->});<!-- [et_pb_line_break_holder] --></script>