choose when you want to build PDFs with React components instead of JSON document definitions.
๐ Create PDF files using React
- 16.8k
- TypeScript
- MIT
PDF generation / document generation
pdfmake is a JavaScript library for client- and server-side PDF generation from a declarative JSON document definition, featuring layout, tables, lists, and styling.
Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.
choose when you want to build PDFs with React components instead of JSON document definitions.
๐ Create PDF files using React
choose when you are in a PHP stack and need HTML/CSS-to-PDF rather than JavaScript JSON layouts.
HTML to PDF converter for PHP
choose when you want a WYSIWYG template designer and TypeScript/React generation instead of hand-written JSON.
Open-source PDF generation library built with TypeScript and React. Features a WYSIWYG template designer, PDF viewer, and powerful generation capabilities. Create custom PDFs effortlessly in both browser and Node.js environments.
choose when your project is in Java and you need programmatic PDF creation and editing.
OpenPDF is an open-source Java library for creating, editing, rendering, and encrypting PDF documents, as well as generating PDFs from HTML. It is licensed under the LGPL and MPL.
choose when you need low-level client-side drawing control instead of automatic layout.
Client-side JavaScript PDF generation for everyone.
choose in a .NET/C# stack for fluent component-based PDF layout rather than JavaScript.
QuestPDF is a modern library for PDF document generation. Its fluent C# API lets you design complex layouts with clean, readable code. Create documents using a flexible, component-based approach.
choose in a Python stack for high-fidelity HTML/CSS-to-PDF rather than JS JSON layout.
The awesome document factory
choose for .NET reporting with a visual report designer rather than code-defined PDFs.
Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports
choose when you need low-level PDF creation and modification in any JavaScript environment.
Create and modify PDF documents in any JavaScript environment
Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.
choose if you need a command-line webpage-to-PDF tool instead of embedding a library.
๐ CLI to convert Webpages to PDFs ๐
These projects were analysed and named pdfmake among their alternatives. The relationship is not symmetric โ how pdfmake rates them is a separate judgement, made when pdfmake is analysed in its own right.
calls pdfmake โChoose it for declarative JSON-based document definitions on client or server; jsPDF requires manual positioning.โ
Client-side JavaScript PDF generation for everyone.
calls pdfmake โChoose for JavaScript client/server PDF generation with declarative document definitions.โ
QuestPDF is a modern library for PDF document generation. Its fluent C# API lets you design complex layouts with clean, readable code. Create documents using a flexible, component-based approach.
calls pdfmake โUse if you prefer a declarative JSON document definition over an imperative drawing API, in JS.โ
A JavaScript PDF generation library for Node and the browser