We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies


The JavaScript PDF Viewer, also known as the HTML5 PDF Viewer is a lightweight and modular control for viewing and printing PDF files in your web applications. It provides the best viewing experience available with core interactions such as zooming, scrolling, text searching, text selection and copying text. The thumbnail, bookmark, hyperlink, and table of contents support provides easy navigation within and outside the PDF files.

High performance

Instant loading in JS PDF Viewer.

Instant Loading

Load PDF files with thousands of pages instantly.

Less runtime memory in JavaScript PDF Viewer.

Less runtime memory

On-demand loading and virtualization hold only the minimum required pages at runtime to reduce memory consumption.

Virtualized pages in JavaScript PDF Viewer.

Virtualized pages

Render pages on demand to help reduce initial load time when working with large PDF files.

Open PDF file

Open and display both normal PDF files and those protected with AES and RC4 encryption algorithms (password protected). Open PDF files from stream, file paths and as byte arrays.

Open pages in JavaScript PDF Viewer.

Review or annotate

Review PDF files using a rich set of annotating tools in the JS PDF Viewer.

Highlight text in JS PDF Viewer.

Highlight text

Highlight important text in JavaScript PDF files. Also, customize the appearance of the highlight or remove it.

Underline text

Underline notable text in PDF files. Customize the appearance of the underline or remove it.

Underline text in JavaScript PDF Viewer.

Strikethrough in JavaScript PDF Viewer.


Strikethrough unimportant texts in PDF files. Customize the appearance of the strikethrough or remove it.

Shape annotations

JavaScript PDF Reader to add a rectangle, circle, line, polyline, or polygon to a PDF file, use drawing tools. The shapes can also be moved, resized, and customized.

Shape annotations in JavaScript PDF Viewer

Calibrate - Measuring tools in JavaScript PDF Viewer

Calibrate - Measuring tools

Measure the distance, area, radius, volume, and perimeter of the objects using measurement tools.

Stamp a document

Add stamps to a PDF file like applying rubber stamps to a paper document from a list of built-in stamps or create your own stamps.

Stamp annotation in JavaScript PDF Viewer.

Sticky notes and comments in JavaScript PDF Viewer.

Sticky notes and comments

The JavaScript PDF Viewer sticky notes and comment options are used to track review feedbacks and status of the PDF documents.

Free-text annotation

Support has been provided to add text to a PDF file. The text, like the text box tool, can be moved, resized, and customized.

Free-text annotation in JavaScript PDF Viewer.

Import and export annotations

Annotations in a PDF file can be exported as JSON and stored in the database. You can also import annotation JSON data to a PDF file.

Import and export annotations in JavaScript PDF Viewer

JavaScript PDF Viewer handwritten signature

Handwritten signature

Add handwritten signature to PDF files. The signature can be resized, moved, removed, saved, and customized.

Form filling in JavaScript PDF Viewer

Form filling

Users can view and fill the AcroForm fields. Support has also been provided to add handwritten signatures to a PDF file.

Responsive rendering

The PDF Viewer in JavaScript is engineered to be responsive and can withstand changes in the size of the parent element.

Responsive rendering in JavaScript PDF Viewer.

Printing PDF in JavaScript PDF Viewer.

Printing PDF

The PDF Viewer JavaScript supports printing loaded PDF document along with adding and modifying annotation and signature details.

Built-in toolbar

The PDF Viewer control comes with a powerful built-in toolbar to execute the most important actions such as page navigation, text search, view mode, downloading, and various annotation actions. You can design your own toolbar as required with PDF Viewer APIs.

Built-in toolbar in JavaScript PDF Viewer.

The HTML5 PDF Viewer control supports different internal and external navigations.

Bookmark navigation in JavaScript PDF Viewer.

Bookmark navigation

Bookmarks saved in PDF files are loaded and made ready for easy navigation. Navigate within the PDF file of the topics bookmarked already.

PDF Viewer HTML5 Thumbnail navigation

Thumbnail navigation

Thumbnails are miniature representations of actual pages in PDF files. This feature displays thumbnails of the pages and allows navigation through them.

Hyperlink navigation in JavaScript PDF Viewer.

Hyperlink navigation feature enables navigation to the URLs (website links) in a JS PDF file.

Table of content navigation in JavaScript PDF Viewer

Table of contents navigation

Table of contents navigation in the JavaScript PDF Viewer library allows users to navigate to different parts of a PDF file that are listed in the table of contents section.

Select and copy text in HTML5 PDF Viewer

Select and copy text

The JavaScript PDF Viewer with rich UI allows users to select the text in the PDF document and copy it to the clipboard. This is helpful for sharing text content with others.

Search text

Locate all occurrences of a given text and navigate through them found occurrences easily.

Search text in JavaScript PDF Viewer


Toolbar customization in JavaScript PDF Viewer.

Toolbar customization

Create a custom toolbar with any of the options that can be performed using the built-in toolbar.

Applying themes in JavaScript PDF Viewer.

Applying themes

Choose from several built-in SASS-based themes are available such as Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, and High Contrast. Simplify theme customization either by overriding the existing SASS styling or creating custom themes by using the Theme Studio application.

Localization in JavaScript PDFViewer


All static text within the PDF Viewer can be localized to any supported language.


The magnification tools of the JavaScript PDF Viewer contains ZoomIn, ZoomOut, Zoom, FitPage, and FitWidth tools in the default toolbar. It also provides an option to show or hide the magnification tools in the default toolbar.

Magnification tools JavaScript PDF Viewer

JavaScript PDF Viewer Code Example

Easily get started with the JavaScript PDF Viewer using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript PDF Viewer Example that shows you how to render and configure a PDF Viewer in JavaScript.

<div class="control-section">
    <div class="content-wrapper">
        <div id="pdfViewer" style= "height:640px; width:100%;">
import { loadCultureFiles } from '../common/culture-loader';
import { PdfViewer, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView,
ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields } from '@syncfusion/ej2-pdfviewer';
// tslint:disable-next-line:max-line-length
PdfViewer.Inject(Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormFields);

 * Default PdfViewer sample

    let viewer: PdfViewer = new PdfViewer();
    viewer.serviceUrl = 'https://ej2services.syncfusion.com/production/web-services/api/pdfviewer';
    viewer.load('PDF_Succinctly.pdf', null);

Other supported frameworks

The PDF Viewer component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different PDF Viewer platforms from the links below,


Frequently Asked Questions

The Syncfusion JavaScript PDF Viewer provides the following features:

  • Accurate and reliable PDF rendering.
  • Easy navigation and interactions.
  • Review PDF files with annotating tools such as text markup, shape, measure, free-text, stamp, and sticky notes.
  • Supports filling and editing of AcroForms.
  • One of the best JavaScript PDF Viewer in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with JavaScript PDF Viewer.

We do not sell the JavaScript PDF Viewer separately. It is only available for purchase as part of the Syncfusion JavaScript suite, which contains over 70 JavaScript components, including the PDF Viewer. A single developer license for the Syncfusion Essential Studio for JavaScript suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.

You can find our JavaScript PDF Viewer demo here.

No, our 70+ JavaScript components, including PDF Viewer, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their PDF Viewer alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 70+ JavaScript components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

A good place to start would be our comprehensive getting started documentation.

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

We're using the file formats and Windows/JavaScript list controls a lot. They're fast, easy to use, and the documentation is good and contains examples. Tickets with questions or suggestions were answered within a day, so we're happy to use the Syncfusion libraries.
Daniel Persidok

Daniel Persidok

wpd onshore GmbH & Co. KG

double quotes

Using Syncfusion Angular and JavaScript controls makes front-end web development a piece of cake. Each component has many properties that can be configured as per your desire, methods that can be used to interact with the element, and a lot of events that trigger at different stages, which makes modifying your components according to the state of the application an easy task. Also, their support is amazing! They always offer a sample working project, which makes it very simple to solve your question about your code.
Carlos Rodriguez Garcia

Carlos Rodriguez Garcia


Transform your applications today by downloading our free evaluation version Download Free Trial


Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile