🌐
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
A general-purpose, web standards-based platform for parsing and rendering PDFs.
Policy Templates for Firefox
PDF files are downloaded and sent externally. 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)
🌐
cdnjs
cdnjs.com › home › libraries › pdf.js › 2.6.347
pdf.js - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers
https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.min.js · https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.entry.js · https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.6.347/pdf.worker.entry.min.js · https://cdnjs....
🌐
GitHub
github.com › mozilla › pdf.js
GitHub - mozilla/pdf.js: PDF Reader in JavaScript
If everything worked out, install all dependencies for PDF.js: ... Finally, you need to start a local web server as some browsers do not allow opening PDF files using a file:// URL. Run: ... Please keep in mind that this assumes the latest version of Mozilla Firefox; refer to Building PDF.js ...
Starred by 52.4K users
Forked by 10.5K users
Languages   JavaScript 71.3% | Fluent 25.5% | CSS 2.2%
🌐
SourceForge
sourceforge.net › projects › pdf-js.mirror
PDF.js download | SourceForge.net
November 2, 2025 - This is an exact mirror of the PDF.js project, hosted at https://github.com/mozilla/pdf.js. SourceForge is not affiliated with PDF.js.
🌐
Mozilla
mozilla.github.io › pdf.js › getting_started
PDF.js - Getting Started
$ git clone https://github.com/mozilla/pdf.js.git $ cd pdf.js ... Note that we only mention the most relevant files and folders. ├── build/ │ ├── pdf.mjs - display layer │ ├── pdf.mjs.map - display layer's source map │ ├── pdf.worker.mjs - core layer │ └── ...
🌐
jsDelivr
jsdelivr.com › package › npm › pdfjs-dist-min
pdfjs-dist-min CDN by jsDelivr - A CDN for npm and GitHub
May 17, 2023 - A free, fast, and reliable CDN for pdfjs-dist-min. Generic build of Mozilla's PDF.js library.
Published   May 17, 2023
🌐
npm
npmjs.com › package › pdfjs-dist
pdfjs-dist - npm
2 weeks ago - Generic build of Mozilla's PDF.js library.. Latest version: 5.4.449, last published: 14 days ago. Start using pdfjs-dist in your project by running `npm i pdfjs-dist`. There are 2281 other projects in the npm registry using pdfjs-dist.
      » npm install pdfjs-dist
    
Published   Nov 29, 2025
Version   5.4.449
Find elsewhere
🌐
PDF.js Express
pdfjs.express › documentation › get-started › manually
PDF.js Express Plus Download & Integration | Documentation
If you haven't already done so, download PDF.js Express and extract it. Move the extracted PDF.js Express folder into your project directory. Once you have the files, create a new html webpage in the same project directory.
🌐
CDNPKG
cdnpkg.com › home › pdf.js › pdf.min.js
PDF.MIN.JS: DOWNLOAD - CDNPKG
Download pdf.min.js or get a CDN url for 1510 versions of pdf.js.
🌐
GitHub
github.com › dealfonso › pdfjs-viewer
GitHub - dealfonso/pdfjs-viewer: A viewer based on PDFjs, which can be embedded in any web page (not using iframes)
There is a single javascript file that contains the whole PDFjsViewer class (in folder js). There are also a set of css files that contain some styles to be used in the library and examples. These files can also be included individually in your project, or combined into a single file by concatenating them. A Makefile is provided to create the single all-in-one minified js and css files for the library.
Starred by 79 users
Forked by 6 users
Languages   JavaScript 76.3% | Makefile 14.5% | CSS 9.2%
🌐
jsDelivr
jsdelivr.com › package › npm › pdfjs-dist-viewer-min
pdfjs-dist-viewer-min CDN by jsDelivr - A CDN for npm and GitHub
July 13, 2024 - A free, fast, and reliable CDN for pdfjs-dist-viewer-min. Generic minified build of Mozilla's PDF.js library including the viewer component.
Published   Jun 19, 2016
🌐
GitHub
gist.github.com › shinoyu › 340b44bcd686c224a881cda950cf3595
pdf.js sample. · GitHub
Clone this repository at <script src="https://gist.github.com/shinoyu/340b44bcd686c224a881cda950cf3595.js"></script> Save shinoyu/340b44bcd686c224a881cda950cf3595 to your computer and use it in GitHub Desktop. Download ZIP · pdf.js sample.
🌐
SourceForge
sourceforge.net › home › open source software › formats and protocols › protocols › web services › pdf.js › files
PDF.js - Browse Files at SourceForge.net
This is an exact mirror of the PDF.js project, hosted at https://github.com/mozilla/pdf.js. SourceForge is not affiliated with PDF.js. For more information, see the SourceForge Open Source Mirror Directory. Summary · Files · Reviews · Download Latest Version pdfjs-5.4.449-dist.zip (6.4 MB) Home ·
🌐
Crabbly
printjs.crabbly.com
Print.js - Javascript library for HTML elements, PDF and image files printing.
Print.js is a tiny javascript library to help printing from the web. Print friendly support for HTML elements, image files and JSON data. Print PDF files directly form page.