10 Best JavaScript PDF Viewer Libraries

List hand-picked by Openbase Experts
Learn More

Sponsored
pspdfkit

pspdfkit

PDF viewing and editing in the browser.

Sponsored
SEE LICENSE IN https://pspdfkit.com/legal/License.pdf
TypeScript Icon
TypeScript Definitions: Built-In
Weekly Downloads
13.6K
npv

ng2-pdf-viewer

📄 PDF Viewer Component for Angular

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
1.2K
Weekly Downloads
138K
Last Commit
9mos ago
User Rating
5.0/ 5
1
Top Feedback
1Hard to Use
nep

ngx-extended-pdf-viewer

A full-blown PDF viewer for Angular 12, 13, 14, 15, and beyond

Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
322
Weekly Downloads
39K
Last Commit
9mos ago
User Rating
4.8/ 5
6
Top Feedback
12Great Documentation
5Highly Customizable
4Responsive Maintainers
ren

@react-pdf/renderer

📄 Create PDF files using React

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
11.5K
Weekly Downloads
198K
Last Commit
10mos ago
User Rating
5.0/ 5
5
Top Feedback
8Great Documentation
2Performant
1Easy to Use
rp

react-pdf

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

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
6.5K
Weekly Downloads
453K
Last Commit
8mos ago
User Rating
4.0/ 5
6
Top Feedback
3Performant
2Great Documentation
2Easy to Use
vpe

vue-pdf-embed

PDF embed component for Vue 2 and Vue 3

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
145
Weekly Downloads
21.1K
Last Commit
8mos ago
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
epubjs

epubjs

Enhanced eBooks in the browser.

BSD-2-Clause
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
5.1K
Weekly Downloads
7.4K
Last Commit
10mos ago
User Rating
5.0/ 5
1
Top Feedback
ng2-pdfjs-viewer

ng2-pdfjs-viewer

An angular component for PDFJS and ViewerJS (Supports all versions of angular)

Apache
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
195
Weekly Downloads
35K
Last Commit
10mos ago
User Rating
5.0/ 5
1
Top Feedback
@secib/pdf

@secib/pdf

PDF Reader in JavaScript

Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
39.8K
Weekly Downloads
7
Last Commit
9mos ago
User Rating
5.0/ 5
11
Top Feedback
rnf

react-native-file-viewer

Native file viewer for React Native. Preview any type of file supported by the mobile device.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
345
Weekly Downloads
34.1K
Last Commit
1yr ago
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
rnp

react-native-pdf

A <Pdf /> component for react-native

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
1.3K
Weekly Downloads
63.8K
Last Commit
8mos ago
User Rating
4.0/ 5
1
Top Feedback
vp

vue-pdf

vue.js pdf viewer

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
1.9K
Weekly Downloads
25.4K
Last Commit
1yr ago
User Rating
5.0/ 5
3
Top Feedback
5Great Documentation
4Easy to Use
1Performant
rnv

react-native-view-pdf

📚 PDF viewer for React Native

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
256
Weekly Downloads
11.9K
Last Commit
7mos ago
User Rating
4.0/ 5
1
Top Feedback
rpr

rn-pdf-reader-js

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

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
335
Weekly Downloads
6.2K
Last Commit
2yrs ago
User Rating
4.0/ 5
1
Top Feedback
rnp

react-native-pdf-view

React Native PDF View

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
400
Weekly Downloads
80
Last Commit
5yrs ago
User Rating
5.0/ 5
1
Top Feedback
vpr

vue-pdf-reader

A vue pdf reader component, based on pdf.js.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
10
Weekly Downloads
137
Last Commit
3yrs ago
User Rating
4.0/ 5
1
Top Feedback
pdf

pdfvuer

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

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
707
Weekly Downloads
10.3K
Last Commit
1yr ago
User Rating
2.0/ 5
1
Top Feedback
1Great Documentation
ng2-alfresco-viewer

ng2-alfresco-viewer

Alfresco Angular Components

Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
287
Weekly Downloads
190
Last Commit
9mos ago
react-file-viewer

react-file-viewer

Extendable file viewer for web

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
429
Weekly Downloads
17.5K
Last Commit
9mos ago
User Rating
Top Feedback
2Buggy
hj

html2pdf.js

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

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
2.6K
Weekly Downloads
78.4K
Last Commit
1yr ago
rph

react-pdf-highlighter

Set of React components for PDF annotation

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
675
Weekly Downloads
2.3K
Last Commit
10mos ago
User Rating
Top Feedback
2Hard to Use
2Unwelcoming Community
npv

@amaplex-software/ng2-pdf-viewer

📄 PDF Viewer Component for Angular

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
1.2K
Weekly Downloads
0
Last Commit
9mos ago
User Rating
1.0/ 5
1
Top Feedback
rpj

react-pdf-js

A React component to wrap PDF.js

MIT
TypeScript Icon
TypeScript Definitions: Built-In
TypeScript Icon
Deprecated
GitHub Stars
571
Weekly Downloads
17.4K
Last Commit
2yrs ago
vpc

vue-pdf-cdn

CDN-based PDF.js wrapper for Vue.js

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3
Weekly Downloads
168
Last Commit
7mos ago
ep

@syncfusion/ej2-pdfviewer

Essential JS 2 PDF viewer Component

SEE LICENSE IN license
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
Weekly Downloads
9.3K
Last Commit
npv

ngx-pdf-viewer

📄 PDF Viewer Component for Angular

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
1.2K
Weekly Downloads
10
Last Commit
9mos ago
User Rating
Top Feedback
1Great Documentation
vpa

vue-pdf-app

VUEjs v2 PDF viewer based on Mozilla's PDFJS

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
142
Weekly Downloads
6.3K
Last Commit
1yr ago
pvr

pdf-viewer-reactjs

A simple PDF viewer for React js

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
104
Weekly Downloads
5.2K
Last Commit
2yrs ago
User Rating
Top Feedback
1Hard to Use
cordova-plugin-document-viewer

cordova-plugin-document-viewer

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

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
172
Weekly Downloads
4.3K
Last Commit
1yr ago
npv

ng-pdf-view-annotation

📄 PDF Viewer Component for Angular

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
1.2K
Weekly Downloads
5
Last Commit
9mos ago
voilab-pdf-table

voilab-pdf-table

PdfKit wrapper that helps to draw informations in simple tables

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
52
Weekly Downloads
3K
Last Commit
2yrs ago
rpv

@phuocng/react-pdf-viewer

A React component to view a PDF document

https://react-pdf-viewer.dev/license
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
2.7K
Last Commit
pev

@pdftron/pdfjs-express-viewer

[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

SEE LICENSE IN PDF.js Express Evaluation License.pdf
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
2.3K
Last Commit
htp

html5-to-pdf

HTML to PDF converter based on markdown-to-pdf

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
119
Weekly Downloads
1.5K
Last Commit
1yr ago
User Rating
Top Feedback
1Great Documentation
vp

vue3-pdfjs

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

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
23
Weekly Downloads
1.1K
Last Commit
1yr ago
mpv

mgr-pdf-viewer-react

React PDF Viewer component

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
72
Weekly Downloads
1K
Last Commit
2yrs ago
ap

angular-pdf

An Angularjs directive <ng-pdf> to display PDF in the browser with PDFJS.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
539
Last Commit
pv

pdf-viewer

Build including the viewer in PDF.JS

ISC
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
506
Last Commit
rnd

react-native-doc-viewer

React Native Doc Viewer (Supports file formats: xls,ppt,doc,xlsx,pptx,csv,docx,png,jpg,pdf,xml,binary ...)

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
74
Weekly Downloads
285
Last Commit
3yrs ago
rnp

@jemmyphan/react-native-pdf

A <Pdf /> component for react-native

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
1.3K
Weekly Downloads
3
Last Commit
8mos ago
npv

nativescript-pdf-view

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

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
12
Weekly Downloads
175
Last Commit
2yrs ago
@teamhive/pdf-viewer

@teamhive/pdf-viewer

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

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
68
Weekly Downloads
62
Last Commit
rpn

react-pdf-ner-annotator

A React component to annotate named entities directly onto a PDF.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
Weekly Downloads
45
Last Commit
vp

vue-pdfs

vue.js pdf viewer

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
1.9K
Weekly Downloads
0
Last Commit
1yr ago
User Rating
1.0/ 5
1
Top Feedback
cpp

cordova-plugin-pdf-viewer

PDF Viewer cordova/phonegap plugin for iOS and Android

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
9
Weekly Downloads
16
Last Commit
7yrs ago
cpv

capacitor-pdf-viewer-plugin

Capacitor PDF viewer plugin

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
Weekly Downloads
10
Last Commit
rnf

react-native-file-opener

A React Native module that allows you to open a file (mp3, mp4, pdf, word, excel, dwg etc.) on your device with its default application

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
141
Weekly Downloads
10
Last Commit
6yrs ago
rnp

react-native-pdf-viewer

A simple pdf viewer

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
5
Weekly Downloads
3
Last Commit
5yrs ago
vpe

vue-pdf-eurlanda

vue.js pdf viewer

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
1.9K
Weekly Downloads
1
Last Commit
1yr ago
@tele2/react-native-pdf-wrapper

@tele2/react-native-pdf-wrapper

Easily show PDFs in React Native.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3
Weekly Downloads
1
Last Commit
4yrs ago