Cross-Platform JavaScript PDF Viewer

Read and edit PDFs on the web with our JavaScript PDF Viewer. Open and print across browsers and frameworks.

  • Full-featured JavaScript PDF viewer and PDF editor
  • Works in all modern browsers and frameworks, including Edge, Chrome, Firefox, Opera, Safari, React, Preact, and Angular
  • Edit, design, fill, submit, reset, and print filled PDF forms
  • Save modified PDF documents on the client
Download Free Trial (v 6.0.3)


A JavaScript PDF Viewer is a software component used to read and edit PDF documents in web applications. The GrapeCity Documents PDF Viewer allows developers to view and edit PDF documents across browsers using major JavaScript frameworks.


A cross-platform solution to view PDF documents on Windows, MAC, Linux, iOS, and Android devices in all modern browsers.

Supported Viewer Features

Supports popular Document Viewer features to view and navigate through various documents.

Web Framework Support

Embed the PDF Viewer in any of the major web frameworks–Angular, Vue, ASP.NET Core, ASP.NET MVC, HTML5, React, and Preact.

Advanced Text Search

Search long documents with specific search terms or patterns. Match case, whole word, starts with, ends with, proximity search, and wildcard search are supported.

Support Advanced PDF Specification Features

Open and view attachments from viewer, navigate through outlines, page labels, article threads, and optional content group (layers). 

Integrate with GrapeCity Documents for PDF (GcPdf)

Utilize the power of our server-side API. With GcPdf and the client-side GcDocs PDF Viewer, you can achieve full-fledged PDF needs for your application.

Supported Editor Features

Edit PDF documents with annotations, design PDF forms, and modify existing PDF documents with advanced editing options.

Quick Editing Tools

New arrangement of edit PDF options will make it easier for users to edit PDF documents in GcPdfViewer.

View, Fill, and Submit PDF Forms

Generate detailed PDF forms, fill, reset, submit, and print filled PDF forms from the viewer. Create AcroForm fields, submit data forms to a server, import XML data, and import data forms submitted on the client to a PDF.

Review and Annotate PDF Documents

Add notes to review PDF documents. Save your notes in the original PDF file. Provide additional information and suggest textual edits to add to the document. Each comment can be anonymous or contain a username, letting users know who has reviewed and commented on the document.

Redact Confidential Information

Hide or remove confidential information from PDF documents before printing or distributing over the web. The GcPdf library provides an easy way to redact PDF contents.

Collaborate and Share Documents

Review and add various annotations to a document and press the 'Share' button to share the document with others.

Add Graphical Signatures

Sign-off PDF Legal Contracts, Budget Approval, Purchase Order, Financial transactions, Business Contracts, Object Key Results (OKR) and more, in online web based PDF Viewer.

Add Pre-defined Stamps to the PDF

Add Standard or Sign stamps supported in Acrobat Pro, over PDF documents in GcPdfViewer. You can also add your own collection of stamps either at client-side or server side.

Add Images to PDF Documents

Upload images to Documents like Loan, Job, Employee Details or Banking PDF Forms.

Create Device Friendly Responsive Forms

Use HTML5 specifications to provide response forms, add explanatory text, provide a collection of necessary form fields, order or re-order the fields for data entry, mark fields as required, and provide feedback.

GcPdfViewer UI to add text markup annotations such as highlighting or underlining

Add Text Markup Annotations

Review PDF documents with Highlight, Underline, Strikeout, or Squiggly annotations in the PDF Viewer. Select text and use text markup options from the context menu.

Explore the Advanced Features of the JavaScript PDF Viewer

Each main feature demo link listed below contains several demos that show how to use a particular feature. Click a link to learn more

PDF Viewer and Editor

View PDF documents in a fast, modern JavaScript-based PDF viewer and editor that works in all major browsers.

Graphical Signatures

Type, Draw or add Image signatures on PDF documents through the new Signature tool. Save Signatures, customise Signature dialog and more.

Real-time Collaboration

Edit documents in Collaboration mode in GcPdfViewer. Allow multiple people from various geographic locations to edit, comment, change, and add data as necessary.

Customize PDF Viewer UI

Customise different parts of GcPdfViewer, as per your business needs. Customise toolbar item with different svg icon, change viewer theme using CSS styles, Localise viewer in any language and more.

Custom Input

Implement new HTML5 input types with validation to view, fill, and submit forms online using JavaScript and GrapeCity Documents PDF Viewer.

PDF Fillable Forms on Any Device

Customize field labels, fine-tune the input controls' behavior, and add additional input validation, regardless of inline validation or field label information. The responsive design provides compatibility for large and small screen sizes.

Comment and Reply

Review your PDF documents in collaboration with other team members. The editor now includes the Text Annotation Comment and Reply tool to add and review comments, usernames, and comment status.

Designer Features

Copy and paste form fields or annotations on the JavaScript PDF document using the shortcut keys or clone button. PDF Editor also includes snap lines and margins to check alignment.

Annotations Editor

Review and mark important information with annotations. Add, modify, or remove annotations from new or existing PDF documents. Apply annotation properties, comment, reply, hide annotations, and redact PDF documents with the annotation editor.

Form Editor

Create new PDF forms from scratch, collect data directly into the PDF form, fill in data from external sources, modify form fields from new or existing PDF documents, or add JavaScript functionality to PDF forms.

Link Annotations

Add Link annotation over existing text, image, area in the PDF document . Set URL, Destination, Action or a JS Action type link over the PDF document or other annotation.

Stamp Annotations

Add image on PDF Documents through the new Stamp annotation. You can also drag/drop image from a local folder or remote url.

Optional Content Layers

The new Layers panel lists the layers in the currently loaded PDF and enables users to hide or show individual layers.

View and Navigate Through PDF Tags

View the tags available in the PDF file in the new Structure tree panel of GcPdfViewer, as well as navigate through those tags.

Navigate Through History

PDF link annotations of type 'Action' will now allow go forward/go backward, as per the view history of the Viewer, similar to browsers' go back/forward actions.

XFA Support

View and print XFA forms in GcPdfViewer.

GcPdf Viewer License Options

The GrapeCity Documents PDF Viewer introduces an option for viewer licenses. Users can now upgrade to the Professional Viewer License, enabling features such as document editing, PDF form-filling, and collaborative editing capabilities. The Standard Viewer License is included with the purchase of GcPdf and comes with all standard features, including PDF viewing, searching, and more.

A more detailed comparison is below and helps determine what GcPdf Viewer license plan is the best option for you.

Standard Viewer License

The standard viewer option and view features are included with every GcPdf license purchase.

Visit: Configure GcPdfViewer for Standard Features

View topic 'How to License GcPdfViewer'

Professional Viewer License

Includes all Standard GcPdf Viewer version features plus:

  • Create or edit annotations
  • Redact PDF documents
  • Add or modify form fields
  • Editing tools-cut, copy, paste, and alignment
  • Add and reply to comments
  • PDF form filler
  • Collaboration
  • Licensed per hostname

The Professional Viewer is licensed per each separate Hostname. Subdomains are also considered separate Hostnames. Available purchasing options include:

Internal or Non-Commercial Deployment

  • One (1) Single Hostname
  • Single Domain (*.domain)

Commercial and SaaS Deployment

  • Single Hostname, Single Domain (*.domain) or SaaS *.domain
  • Unlimited Domains or SaaS (*.* wildcard)

The professional viewer features require the use of a SupportApi property. The GcPdf professional viewer must connect to a server.

Requires GcPdf license and additional fee to access Professional features.

Visit: Configure GcPdfViewer for Professional Features

View topic 'How to License GcPdfViewer'

Contact sales at for additional information on pricing or licensing.

"The speed to build what we needed and the level of ease of use of controls are why we chose GrapeCity. It was a perfect fit."

Spiro Skias - CGI