🌐
Mozilla
mozilla.github.io › pdf.js
PDF.js - Home
A general-purpose, web standards-based platform for parsing and rendering PDFs. Download Demo GitHub Project
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
An introduction to PDF.js with examples. Before downloading PDF.js please take a moment to understand the different layers of the PDF.js project.

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)
🌐
Mozilla
mozilla.github.io › pdf.js › getting_started
PDF.js - Getting Started
An introduction to PDF.js with examples. Before downloading PDF.js please take a moment to understand the different layers of the PDF.js project.
🌐
SourceForge
sourceforge.net › projects › pdf-js.mirror
PDF.js download | SourceForge.net
Download PDF.js for free. 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.
🌐
GitHub
github.com › mozilla › pdf.js
GitHub - mozilla/pdf.js: PDF Reader in JavaScript
The PDF.js files are large and should be minified for production. To use PDF.js in a web application you can choose to use a pre-built version of the library or to build it from source. We supply pre-built versions for usage with NPM under the pdfjs-dist name.
Starred by 52.4K users
Forked by 10.5K users
Languages   JavaScript 71.3% | Fluent 25.5% | CSS 2.2%
🌐
Nutrient
nutrient.io › blog › sdk › complete guide to pdfjs
Complete guide to PDF.js
August 11, 2025 - The following section will walk through how to set up and use PDF.js for simpler use cases. Download or clone PDF.js — You can download(opens in a new tab) the library as a ZIP file or clone the repository using Git.
Find elsewhere
🌐
Apryse
apryse.com › blog › how-to-use-pdf-js
PDF.js Viewer | Apryse
May 8, 2020 - We will also use it as a full screen PDF viewer where we can pass in a PDF filename via URL query string. Try the full screen viewer now: Open Full Screen PDF.js Viewer ... Let’s head over to GitHub to download the latest stable release and then extract the contents inside our website folder.
🌐
Quora
quora.com › How-can-I-download-a-PDF-file-that-is-rendered-by-PDF-js-and-doesnt-have-a-download-button
How to download a PDF file that is rendered by PDF.js and doesn't have a download button - Quora
Answer: Well, I don’t know anything about PDF.js, and I understand one of those files may behave differently, but I’ll give you methods that would work on an ordinary pdf. Maybe they’ll work for you. I’m assuming you’re looking at it in a web browser, and probably got to it by a link ...
🌐
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.394-dist.zip (6.4 MB) Home ·
🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1402087
Unable to download PDFs in embedded pdf.js viewer
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › how-to-download-pdf-file-on-button-click-using-javascript
How to Download PDF File on Button Click using JavaScript ? - GeeksforGeeks
August 5, 2025 - You can set the width of the first column of the table to 50% within the docDefinition.Then trigger the download of the PDF file. Example: The below example shows the implementation of the above-explained approach. ... <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content= "width=device-width, initial-scale=1.0"> <title>Table to PDF</title> <script src= "https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/pdfmake.min.js"> </script> <script src= "https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/vfs_fonts.js"> </script> <style> body { font-family: Ar
🌐
Reddit
reddit.com › r/learnjavascript › download pdf embedded into website via javascript
r/learnjavascript on Reddit: Download pdf embedded into website via javascript
October 2, 2020 -

Hi, i'm a student and i have always used my university proxy server to access online libraries and download files from books. Since there was no download button, i have always used chrome "inspect" function --> Network --> Reloaded page to found the .pdf file link and download it directly.
This system has completely changed since September: now the pdf are shown into a library web reader, and i'm not able to find any .pdf link when i inspect the page. After some research i found out that the page is using javascript (some of the links i find through the inspection are .js, and if i disable javascript the page won't load), but my knowledge ends here.

Please help me to find a way to download .pdf files like i used to. Thanks!

🌐
Parallax
parall.ax › products › jspdf
jsPDF
Get your hands on the leading PDF generator for free - click download now, or view documentation.
🌐
PDF.js Express
pdfjs.community › technical support
Download PDF with annotations - Technical Support - PDF.js Express
December 9, 2020 - PDF.js Express Version Detailed description of issue I seem to be missing some pieces to make this work. I’ve added a download button and I want to let the user download their copy with annotations. Pretty much exact…