10 Best JavaScript PDF Viewer Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

ren

@react-pdf/renderer

📄 Create PDF files using React

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
3
Top Feedback
8Great Documentation
2Performant
1Easy to Use
GitHub Stars
10K
Weekly Downloads
121K
Last Commit
6d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
nep

ngx-extended-pdf-viewer

A full-blown PDF viewer for Angular 9, 10, 11, 12, and beyond

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
5
Top Feedback
11Great Documentation
4Highly Customizable
3Responsive Maintainers
GitHub Stars
249
Weekly Downloads
31K
Last Commit
13d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
rp

react-pdf

Display PDFs in your React app as easily as if they were images.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
3.8/ 5
5
Top Feedback
3Performant
2Easy to Use
1Great Documentation
GitHub Stars
5K
Weekly Downloads
317K
Last Commit
7d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

epubjs

Enhanced eBooks in the browser.

License Icon
License: BSD-2-Clause
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
5K
Weekly Downloads
3K
Last Commit
5d ago
Bundle Size (min+gzip)
88.5KB
Tree-Shakeable
rnp

react-native-pdf

A <Pdf /> component for react-native

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
46K
Last Commit
6mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
vp

vue-pdf

vue.js pdf viewer

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
3
Top Feedback
3Great Documentation
3Easy to Use
GitHub Stars
2K
Weekly Downloads
34K
Last Commit
5mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
rnv

react-native-view-pdf

📚 PDF viewer for React Native

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
221
Weekly Downloads
8K
Last Commit
16hrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
rpr

rn-pdf-reader-js

📄 PDF reader in JavaScript only for Expo - Android & iOS capable

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
308
Weekly Downloads
4K
Last Commit
6mos ago
Bundle Size (min+gzip)
32.4KB
Not Tree-Shakeable
rnp

react-native-pdf-view

React Native PDF View

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
393
Weekly Downloads
245
Last Commit
3yrs ago
Bundle Size (min+gzip)
0.19KB
Not Tree-Shakeable
pdf

pdfvuer

A PDF viewer for Vue using Mozilla's PDF.js that supports both Vue2 and Vue3

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
2.0/ 5
1
Top Feedback
N/A
GitHub Stars
563
Weekly Downloads
4K
Last Commit
3mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
rpv

@phuocng/react-pdf-viewer

A React component to view a PDF document

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
665
Weekly Downloads
2K
Last Commit
8d ago
Bundle Size (min+gzip)
20.3KB
Not Tree-Shakeable
npv

ng2-pdf-viewer

📄 PDF Viewer Component for Angular 5+

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
77K
Last Commit
2mos ago
Bundle Size (min+gzip)
8.26KB
Tree-Shakeable
vpa

vue-pdf-app

VUEjs v2 PDF viewer based on Mozilla's PDFJS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
83
Weekly Downloads
3K
Last Commit
4mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
hj

html2pdf.js

Client-side HTML-to-PDF rendering using pure JS.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
66K
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
pvr

pdf-viewer-reactjs

A simple PDF viewer for React js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Hard to Use
GitHub Stars
86
Weekly Downloads
5K
Last Commit
7mos ago
Bundle Size (min+gzip)
251.2KB
Not Tree-Shakeable
npv

ngx-pdf-viewer

📄 PDF Viewer Component for Angular 5+

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
1K
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@hmcts/media-viewer

Web component that enables viewing of documents in various formats like: PDF, Image, MP4, etc;.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
413
Last Commit
6d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

ng2-alfresco-viewer

Alfresco Angular Components

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
268
Weekly Downloads
23
Last Commit
3d ago
Bundle Size (min+gzip)
383.9KB
Not Tree-Shakeable
htp

html5-to-pdf

HTML to PDF converter based on markdown-to-pdf

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Great Documentation
GitHub Stars
118
Weekly Downloads
2K
Last Commit
1mo ago
Bundle Size (min+gzip)
98.7KB
Not Tree-Shakeable

@syncfusion/ej2-angular-pdfviewer

Syncfusion Angular UI components library offer more than 50+ cross-browser, responsive, and lightweight angular UI controls for building modern web applications.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
184
Weekly Downloads
2K
Last Commit
7d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
rph

react-pdf-highlighter

Set of React components for PDF annotation

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
2Hard to Use
2Unwelcoming Community
GitHub Stars
535
Weekly Downloads
3K
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@secib/pdf

PDF Reader in JavaScript

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
36K
Weekly Downloads
1
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@syncfusion/ej2-react-pdfviewer

Syncfusion React UI components library offer more than 50+ cross-browser, responsive, and lightweight react UI controls for building modern web applications.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
192
Weekly Downloads
787
Last Commit
7d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@syncfusion/ej2-vue-pdfviewer

Syncfusion Vue UI component library offer more than 50+ cross-browser, responsive, and lightweight vue UI controls for building modern web applications.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
209
Weekly Downloads
626
Last Commit
7d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

cordova-plugin-document-viewer

A Document Viewer cordova/phonegap plugin for iOS, Android and Windows

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
171
Weekly Downloads
3K
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@saooti/vue-pdf

Javascript SDK for using octopus

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
16
Last Commit
1d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
vpe

vue-pdf-embed

PDF embed component for Vue 2 and Vue 3

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
7
Weekly Downloads
727
Last Commit
20d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

voilab-pdf-table

PdfKit wrapper that helps to draw informations in simple tables

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
49
Weekly Downloads
3K
Last Commit
6mos ago
Bundle Size (min+gzip)
26.5KB
Not Tree-Shakeable
rpj

react-pdf-js

A React component to wrap PDF.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
TypeScript Icon
Deprecated
User RatingN/A
Top Feedback
N/A
GitHub Stars
512
Weekly Downloads
7K
Last Commit
1yr ago
Bundle Size (min+gzip)
94.1KB
Tree-Shakeable
npv

ng-pdf-view-annotation

📄 PDF Viewer Component for Angular 5+

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
11
Last Commit
2mos ago
Bundle Size (min+gzip)
6.79KB
Tree-Shakeable
web

@pdftron/webviewer

[WebViewer](https://www.pdftron.com/webviewer) is a powerful JavaScript-based PDF Library that's part of the [PDFTron PDF SDK](https://www.pdftron.com). It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotat

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
1Hard to Use
GitHub Stars
N/A
Weekly Downloads
37K
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
vp

vue3-pdfjs

PDF Reader for Vue 3 using Mozilla's PDF.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
87
Last Commit
18d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
ndv

ngx-doc-viewer

Angular document viewer.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
14K
Last Commit
N/A
Bundle Size (min+gzip)
3.31KB
Tree-Shakeable

react-file-viewer

Extendable file viewer for web

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
2Buggy
GitHub Stars
332
Weekly Downloads
14K
Last Commit
2yrs ago
Bundle Size (min+gzip)
826.0KB
Tree-Shakeable
psp

pspdfkit

View and annotate PDF files in your web app. Full support for mobile and desktop. Runs in the browser using WASM.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
8K
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@teamhive/pdf-viewer

PDF viewer web component built in StencilJS. Reusable in Angular, Ionic, React, Vue.JS, etc.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
65
Weekly Downloads
73
Last Commit
9mos ago
Bundle Size (min+gzip)
0.20KB
Tree-Shakeable
ep

@syncfusion/ej2-pdfviewer

Essential JS 2 PDF viewer Component

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
6K
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Tree-Shakeable
mpv

mgr-pdf-viewer-react

React PDF Viewer component

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
69
Weekly Downloads
2K
Last Commit
8mos ago
Bundle Size (min+gzip)
275.5KB
Not Tree-Shakeable
fpv

forked-pdf-viewer

📄 PDF Viewer Component for Angular 5+

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
1
Last Commit
2mos ago
Bundle Size (min+gzip)
85.9KB
Tree-Shakeable
npv

@amaplex-software/ng2-pdf-viewer

📄 PDF Viewer Component for Angular 5+

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
0
Last Commit
2mos ago
Bundle Size (min+gzip)
136.5KB
Tree-Shakeable
pe

@pdftron/pdfjs-express

[PDFJS Express](https://pdfjs.express) is a powerful JavaScript-based PDF Library that wraps [PDF.js](https://mozilla.github.io/pdf.js/). It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulat

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
2K
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
niv

ng2-image-viewer

Ng2-Image Viewer for Angular 2+ projects

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
28
Weekly Downloads
2K
Last Commit
2yrs ago
Bundle Size (min+gzip)
3.59KB
Tree-Shakeable
ni

@emazv72/ngx-imageviewer

Angular 10 Image Viewer Component based on Canvas

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
81
Last Commit
9mos ago
Bundle Size (min+gzip)
4.86KB
Tree-Shakeable
rnp

@jemmyphan/react-native-pdf

A <Pdf /> component for react-native

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
1
Last Commit
6mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
vp

vue-pdfs

vue.js pdf viewer

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
1.0/ 5
1
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
3
Last Commit
5mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
spv

simple-pdf-viewer

This is a simple PDF viewer based on PDFjs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
72
Weekly Downloads
722
Last Commit
1yr ago
Bundle Size (min+gzip)
8.20KB
Tree-Shakeable
rvp

react-view-pdf

A simple and powerful PDF Viewer library for React.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
594
Last Commit
N/A
Bundle Size (min+gzip)
125.8KB
Tree-Shakeable
pv

pdf-viewer

Build including the viewer in PDF.JS

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
576
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
ap

angular-pdf

📄 An AngularJS directive <ng-pdf> to display PDF files with PDFJS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
499
Weekly Downloads
492
Last Commit
2yrs ago
Bundle Size (min+gzip)
1.69KB
Not Tree-Shakeable
npv

nativescript-pdf-view

A basic PDF viewer plugin for NativeScript, to display PDF documents on iOS and Android.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
12
Weekly Downloads
326
Last Commit
1yr ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable