You can use const { jsPDF } = window.jspdf; as shown in the official documentation if you want to use the CDN.

Even tho, I still do recommend the NPM package way (so does the package itself).

Answer from kissu on Stack Overflow
🌐
cdnjs
cdnjs.com › home › libraries › jspdf
jspdf - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers
https://cdnjs.cloudflare.com/ajax/libs/jspdf/3.0.3/jspdf.es.min.js · https://cdnjs.cloudflare.com/ajax/libs/jspdf/3.0.3/jspdf.es.min.js.map · https://cdnjs.cloudflare.com/ajax/libs/jspdf/3.0.3/jspdf.umd.js · https://cdnjs.cloudflare.com/ajax/libs/jspdf/3.0.3/jspdf.umd.js.map ·
🌐
jsDelivr
jsdelivr.com › package › npm › jspdf
jspdf CDN by jsDelivr - A CDN for npm and GitHub
May 19, 2015 - A free, fast, and reliable CDN for jspdf. PDF Document creation from JavaScript
Published   May 19, 2015
🌐
cdnjs
cdnjs.com › home › libraries › jspdf-autotable
jspdf-autotable - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers
Content delivery at its finest. cdnjs is a free and open-source CDN service trusted by over 12.5% of all websites, serving over 200 billion requests each month, powered by Cloudflare.
🌐
jsPDF
artskydj.github.io › jsPDF › docs › index.html
jsPDF - GitHub Pages
To add the font to jsPDF use our fontconverter in /fontconverter/fontconverter.html . The fontconverter will create a js-file with the content of the provided ttf-file as base64 encoded string and additional code for jsPDF. You just have to add this generated js-File to your project.
🌐
jsDelivr
jsdelivr.com › package › npm › jspdf-autotable
jspdf-autotable CDN by jsDelivr - A CDN for npm and GitHub
February 26, 2025 - A free, fast, and reliable CDN for jspdf-autotable. Generate pdf tables with javascript (jsPDF plugin)
Published   Aug 24, 2015
🌐
CodePen
codepen.io › tmilar › pen › MWbOXox
jsPDF lib minimal example
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <!-- Js PDF --> <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.3.0/jspdf.umd.min.js"></script> <!-- Js PDF Auto Table --> <script src="https://cdn.jsdelivr.net/npm/jspdf-autotable@3/dist/jspdf.plugin.autotable.min.js"></script> <title>Title of the document</title> </head> <body> <div class="col text-end"> <button type="button" class="btn btn-secondary" id="btnGenerateReport" onclick="prepareReport()"> Generate Report </button> </div> <script> function prepareReport() { var doc = new jspdf.jsPDF(); doc.autoTable({ html: '#reportTable' }); const stationSelected = "my-station"; const dateSelected = "my-date"; doc.save(stationSelected + '_' + dateSelected + '.pdf'); } </script> </body> </html>
🌐
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.
🌐
GeeksforGeeks
geeksforgeeks.org › html › how-to-generate-pdf-file-using-jspdf-library
Generate PDF File Using jsPDF Library - GeeksforGeeks
The jsPDF library is included via a CDN, enabling JavaScript-based PDF generation.
Published   July 23, 2025
Find elsewhere
🌐
npm
npmjs.com › package › jspdf
jspdf - npm
4 weeks ago - To use jsPDF in older browsers like Internet Explorer, polyfills are required. You can load all required polyfills as follows: ... Alternatively, you can load the prebundled polyfill file. This is not recommended, since you might end up loading polyfills multiple times. Might still be nifty for small applications or quick POCs. <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/3.0.4/polyfills.umd.js"></script>
      » npm install jspdf
    
Published   Nov 19, 2025
Version   3.0.4
🌐
Esri Community
community.esri.com › t5 › arcgis-javascript-maps-sdk-questions › esri-js-sdi-amp-jspdf › td-p › 1417780
ESRI JS SDI & jsPDF - Esri Community
May 1, 2024 - Is anybody using jsPDF for outputs when working with data accessed via the ESRI JS SDK? I was trying to keep things simple to start and do everything client side in the browser so I've been using the ESRI SDK via the CDN. I am running into problems trying to load the jsPDF library from CDN on the ...
🌐
CDNPKG
cdnpkg.com › home › jspdf › 1.4.1
JSPDF 1.4.1 CDN links - CDNPKG
2 CDN to use with JSPDF 1.4.1. Find out the best CDN to use with jspdf 1.4.1 or use multiple CDN as fallback. Simply copy and paste one of these URL !.
🌐
CDNPKG
cdnpkg.com › home › jspdf › jspdf.min.js
JSPDF.MIN.JS: DOWNLOAD - CDNPKG
Download jspdf.min.js or get a CDN url for 25 versions of jspdf.
🌐
CDNPKG
cdnpkg.com › home › jspdf
JSPDF CDN links - CDNPKG
1 CDN to use with JSPDF. Find out the best CDN to use with jspdf or use multiple CDN as fallback. Simply copy and paste one of these URL !.
🌐
jsDelivr
jsdelivr.com › package › npm › jspdf-new
jspdf-new CDN by jsDelivr - A CDN for npm and GitHub
July 11, 2019 - A free, fast, and reliable CDN for jspdf-new. PDF Document creation from JavaScript
Published   Jul 11, 2019
🌐
jsDelivr
jsdelivr.com › package › npm › jspdf-npm-packages
jspdf-npm-packages CDN by jsDelivr - A CDN for npm and GitHub
September 11, 2017 - A free, fast, and reliable CDN for jspdf-npm-packages. PDF Document creation from JavaScript
Published   Sep 11, 2017
🌐
GitHub
github.com › parallax › jsPDF › issues › 2877
JsPDF CDN link is not working · Issue #2877 · parallax/jsPDF
June 11, 2020 - Hey, I think the CDN URL mentioned in the README.md is no longer working https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.1.0/jspdf.umd.min.js
Published   Aug 27, 2020
🌐
OpenReplay
blog.openreplay.com › generating-a-pdf-from-a-div-using-the-jspdf-library
Generating a PDF from a div using the jsPDF Library
June 4, 2024 - To start using jsPDF, you can install it using two options: CDN: Include the library directly in your HTML head tag using a CDN link as follows:
🌐
Decentro
decentro.tech › blog › engineering & apis › jspdf: what is it & how to use it to generate pdf from html
JsPDF: What Is It & How To Use It To Generate PDF from HTML - Decentro
June 12, 2024 - Now comes the star of the show, jsPDF part First, Set up jsPDF To use jsPDF, you need to include the library in your HTML file. You can either download the library and include it locally, or you can include it directly from a CDN.