jsPDF
Client-side JavaScript PDF generation for everyone. (by parallax)
react-pdf
đź“„ Create PDF files using React (by diegomura)

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
jsPDF | react-pdf | |
---|---|---|
33 | 55 | |
29,967 | 15,387 | |
1.0% | 1.0% | |
6.2 | 9.2 | |
17 days ago | 11 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jsPDF
Posts with mentions or reviews of jsPDF.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-02-24.
-
HTML to PDF JavaScript – Example with Code
As stated in its documentation “html2pdf.js converts any webpage or element into a printable PDF entirely client-side using html2canvas and jsPDF.”
- JsPDF: Generate PDFs on the Client-Side with Just JavaScript
-
Best HTML to PDF libraries for Node.js
jsPDF is a popular JavaScript PDF generator that allows users to generate PDF files in the web browser dynamically. The library is well-maintained, stable, easy to use, and has rich documentation.
-
Seeking Alternative jQuery Plugin for Exporting ASP.NET Web Form HTML Table to Excel and PDF
I haven't had to generate PDF files from the browser, but jsPDF looks promising.
-
jsPDF new version not working
So, as advised on the github page https://github.com/parallax/jsPDF i tried to source the new version of jsPDF using either the first or second src that you see in comment in the code below.
-
trouble with jsPD library
was working fine. But it seems this version does not have the function to do dashed lines, so i wanted a newer version. I tried downloading the folder of the newest one, or tu put : as mentionned in this page : https://github.com/parallax/jsPDF, but now i got a bug when i try to create the pdf and the code stops at the instruction var doc = new jsPDF(); I hope have i been clear, sorry i'm kind of trying out things...
-
Data grid with export and print features
You can use the .NET built-in datagrid, write your own .csv export (it's about 15 lines of code), and use jsPDF to convert the datagrid content to pdf using JavaScript.
- Can I stick a complex web app to a WordPress site?
-
Bibliotecas NodeJS incrĂveis que vocĂŞ nĂŁo tem ideia que existem
🔀 Repositório no GitHub
- De HTML a PDF
react-pdf
Posts with mentions or reviews of react-pdf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-27.
-
Pdf Generation Libraries Comparison
React PDF
-
How to Create PDFs using React JS
Official React PDF Renderer Docs
-
Creating a Remix Server to Return a React Page as a PDF
Now, you can check the page display at http://localhost:3000 and download the PDF at http://localhost:3000/pdf. By the way, I also tried React-pdf, but since it required building the PDF from scratch with limited styling options, I decided to go with the current method.
- Show HN: Open-source Reactjs lib for create PDF files
-
TOP React Liabraries and tools you Need
React PDF render libraries help you create and display PDF documents directly within your React applications. Imagine building invoices, reports, or forms that look professional and can be saved or printed as PDFs. These libraries provide tools to structure your PDF content using React components, style them with CSS-like syntax, and then convert the result into a PDF file. Think of it as building a webpage that magically transforms into a printable document! Learn More
-
How we improved our client-side PDF generation by 5x
Using react-pdf, we crafted a solution that allowed users to manipulate their reports with an impressive degree of flexibility. But, as data grew (imagine trying to cram an entire financial year's worth of invoices, up to 22,000 rows, into one PDF), our solution began to falter, especially on older PCs with limited resources.
-
Launch HN: Onedoc (YC W24) – A better way to create PDFs
https://github.com/diegomura/react-pdf is good as well if you want to use React.
-
Htmldocs: Typeset and Generate PDFs with HTML/CSS
Been using https://github.com/diegomura/react-pdf for this purpose for years
Uses React Native like components and styling.
WYSIWYG: https://react-pdf.org/repl
-
Show HN: An open-source web-app for creating resumes using YAML
Thank you. This is certainly possible. The library I'm using for rendering the PDF (https://react-pdf.org/) does support Node.js as well. This is a good point, I suppose a lot of people will have their resumes in GitHub.
- How to create dynamic PDF using React?
What are some alternatives?
When comparing jsPDF and react-pdf you can also consider the following projects:
PDF.js - PDF Reader in JavaScript
redocx - đź“„ Create word documents with React
PDFKit - A JavaScript PDF generation library for Node and the browser
react-pdf - Display PDFs in your React app as easily as if they were images.
pdfmake - Client/server side PDF printing in pure JavaScript
react-to-pdf - Generate pdf from react components

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured