๐ŸŒ
Mozilla
mozilla.github.io โ€บ pdf.js
PDF.js - Home
A general-purpose, web standards-based platform for parsing and rendering PDFs.
API
A general-purpose, web standards-based platform for parsing and rendering PDFs.
Examples
This tutorial shows how PDF.js can be used as a library in a web browser.
Policy Templates for Firefox
Note: As of Firefox 140, this policy no longer completely disables PDF.js; it changes the handler to send PDF files to the operating system. Embedded PDF files are shown in the browser.
Getting started
A general-purpose, web standards-based platform for parsing and rendering PDFs.

PDF viewer in JavaScript included in Mozilla Firefox

PDF.js is a JavaScript library that renders Portable Document Format (PDF) files using the web standards-compliant HTML5 Canvas. The project is led by the Mozilla Corporation after Andreas Gal launched it (initially โ€ฆ Wikipedia
Factsheet
Original author Andreas Gal
Developer Mozilla
Initial release 2 July 2011 (2011-07-02)
Factsheet
Original author Andreas Gal
Developer Mozilla
Initial release 2 July 2011 (2011-07-02)
๐ŸŒ
npm
npmjs.com โ€บ package โ€บ pdfjs-dist
pdfjs-dist - npm
2 weeks ago - PDF.js is a Portable Document Format (PDF) library that is built with HTML5.
      ยป npm install pdfjs-dist
    
Published ย  Nov 29, 2025
Version ย  5.4.449
Discussions

Any good libraries or iframe alternatives for reviewing PDFs in a Vue app? Currently using iframe but it takes forever to load the PDF
Hi! There is a library from Mozilla that tackles this issue, since its pretty common to need a PDF reader on the web. Give it a look to see if it fits you: https://github.com/mozilla/pdf.js I don't know if there's any good Vue wrapper for it, but I feel the mozilla pdf library its been the standard for PDFs. Hope it helps More on reddit.com
๐ŸŒ r/vuejs
24
10
September 17, 2024
Favorite library for pdf generation
I did spin up a small backend service that uses http://wkhtmltopdf.org/ and it has been a godsend. Before i was using window.print() and a good amount of css @media print, but client browsers were crashing when generating too much data. More on reddit.com
๐ŸŒ r/javascript
4
4
July 20, 2016
How do you convert HTML To PDF without a third-party package/library?
You don't? Unless writing it yourself. More on reddit.com
๐ŸŒ r/javascript
18
4
May 20, 2018
PDF manipulation library that doesn't require PDF-TK?

have you seen HummusJs? HummusJs

More on reddit.com
๐ŸŒ r/javascript
1
1
August 23, 2015
๐ŸŒ
GitHub
github.com โ€บ mozilla โ€บ pdf.js
GitHub - mozilla/pdf.js: PDF Reader in JavaScript
PDF Reader in JavaScript. Contribute to mozilla/pdf.js development by creating an account on GitHub.
Starred by 52.4K users
Forked by 10.5K users
Languages ย  JavaScript 71.3% | Fluent 25.5% | CSS 2.2%
๐ŸŒ
Mozilla
mozilla.github.io โ€บ pdf.js โ€บ getting_started
PDF.js - Getting Started
โ”œโ”€โ”€ docs/ - website source code โ”œโ”€โ”€ examples/ - simple usage examples โ”œโ”€โ”€ extensions/ - browser extension source code โ”œโ”€โ”€ external/ - third party code โ”œโ”€โ”€ l10n/ - translation files โ”œโ”€โ”€ src/ โ”‚ โ”œโ”€โ”€ core/ - core layer โ”‚ โ”œโ”€โ”€ display/ - display layer โ”‚ โ”œโ”€โ”€ shared/ - shared code between the core and display layers โ”‚ โ”œโ”€โ”€ interfaces.js - interface definitions for the core/display layers โ”‚ โ””โ”€โ”€ pdf.*.js - wrapper files for bundling โ”œโ”€โ”€ test/ - unit, font, reference, and integration tests โ”œโ”€โ”€ web/ - viewer layer โ”œโ”€โ”€ LICENSE โ”œโ”€โ”€ README.md โ”œโ”€โ”€ gulpfile.mjs - build scripts/logic โ”œโ”€โ”€ package-lock.json - pinned dependency versions โ””โ”€โ”€ package.json - package definition and dependencies
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ PDF.js
PDF.js - Wikipedia
July 18, 2025 - PDF.js is a JavaScript library that renders Portable Document Format (PDF) files using the web standards-compliant HTML5 Canvas.
๐ŸŒ
Nutrient
nutrient.io โ€บ blog โ€บ sdk โ€บ complete guide to pdfjs
Complete guide to PDF.js
August 11, 2025 - PDF.js is Mozillaโ€™s open source JavaScript library for rendering PDFs in browsers without plugins. This guide covers PDF.js setup, rendering with the Canvas API, navigation controls, zoom functionality, and handling basic annotations. However, for enterprise applications requiring advanced features, high performance, and dedicated support, Nutrient Web SDK is the ideal solution.
Find elsewhere
๐ŸŒ
DEV Community
dev.to โ€บ handdot โ€บ generate-a-pdf-in-js-summary-and-comparison-of-libraries-3k0p
A full comparison of 6 JS libraries for generating PDFs - DEV Community
March 22, 2022 - As for PDFKit the APIs provided have an imperative pattern, with the result that creating a complex layout tend to be very hard. Embedding fonts itโ€™s not difficult but needs an extra step: converting the fonts to TTF files. jsPDF is not the easiest library to master, but the documentation is very rich so youโ€™ll not encounter any particular obstacle while working with it.
๐ŸŒ
PDF-LIB
pdf-lib.js.org
PDF-LIB ยท Create and modify PDF documents in any ...
Create and modify PDF documents in any JavaScript environment.
๐ŸŒ
SourceForge
sourceforge.net โ€บ projects โ€บ pdf-js.mirror
PDF.js download | SourceForge.net
November 2, 2025 - A PDF Reader in JavaScript. PDF.js is a web standards-based platform for parsing and rendering Portable Document Formats (PDFs). Open source and built with HTML5, this PDF viewer is supported by a great community and Mozilla Labs.
๐ŸŒ
PDF.js Express
pdfjs.express
PDF.js Viewer: Annotate, Form Fill | Easy Setup | PDF.js Express
Form Filling Library ยท Real-time Collaboration ยท Customize your PDF.js Viewer
๐ŸŒ
GitHub
github.com โ€บ parallax โ€บ jsPDF
GitHub - parallax/jsPDF: Client-side JavaScript PDF generation for everyone.
A library to generate PDFs in JavaScript. You can catch me on twitter: @MrRio or head over to my company's website for consultancy. jsPDF is now co-maintained by yWorks - the diagramming experts.
Starred by 30.9K users
Forked by 4.8K users
Languages ย  JavaScript 96.4% | TypeScript 2.4% | HTML 1.2%
๐ŸŒ
cdnjs
cdnjs.com โ€บ home โ€บ libraries โ€บ pdf.js
pdf.js - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers
Libraries ยท pdf.js ยท PDF Reader in JavaScript ยท 52k ยท GitHub ยท package ยท Apache-2.0 licensed ยท Tags: PDF, reader, Js ยท Version ยท 5.4.149 ยท Loading... Asset Type ยท All ยท Loading...
๐ŸŒ
Nutrient
nutrient.io โ€บ blog โ€บ sdk โ€บ top js pdf libraries
Top JavaScript PDF generator libraries for 2025
June 24, 2025 - PDFKit(opens in a new tab) is a popular and robust Node.js JavaScript PDF generator library. It lets you create multipage PDFs from scratch โ€” adding text, images, shapes, and custom fonts.
๐ŸŒ
npm
npmjs.com โ€บ package โ€บ pdfkit
pdfkit - npm
A JavaScript PDF generation library for Node and the browser.
      ยป npm install pdfkit
    
Published ย  Aug 30, 2025
Version ย  0.17.2
Author ย  Devon Govett
Homepage ย  http://pdfkit.org/
๐ŸŒ
PDFKit
pdfkit.org
PDFKit
A JavaScript PDF generation library for Node and the browser.
๐ŸŒ
npm
npmjs.com โ€บ package โ€บ jspdf
jspdf - npm
3 weeks ago - A library to generate PDFs in JavaScript. You can catch me on twitter: @MrRio or head over to my company's website for consultancy. jsPDF is now co-maintained by yWorks - the diagramming experts.
      ยป npm install jspdf
    
Published ย  Nov 19, 2025
Version ย  3.0.4
๐ŸŒ
Best of JS
bestofjs.org โ€บ projects
PDF projects
Best of JS is a project by Michael Rambeau, made in Osaka, Japan
๐ŸŒ
Parallax
parall.ax โ€บ products โ€บ jspdf
jsPDF
Generate professional PDFs easily with jsPDF, the open-source solution for PDF generation. Create event tickets, reports, certificates, and more in minutes with our intuitive interface.
๐ŸŒ
Syncfusion
syncfusion.com โ€บ blogs โ€บ post โ€บ free-javascript-pdf-viewer-libraries
Top 5 Free JavaScript PDF Viewer Libraries for Developers in 2025 | Syncfusion Blogs
July 16, 2025 - Everything a developer needs to know to use JavaScript control in the web app is completely documented. ... PDF.js is a popular open-source library developed by Mozilla to render PDF files directly in web browsers.