pdfkit - A JavaScript PDF generation library for Node and the browser

  •        468

A JavaScript PDF generation library for Node and the browser. PDFKit is a PDF document generation library for Node and the browser that makes creating complex, multi-page, printable documents easy. It's written in CoffeeScript, but you can choose to use the API in plain 'ol JavaScript if you like. The API embraces chainability, and includes both low level functions as well as abstractions for higher level functionality. The PDFKit API is designed to be simple, so generating complex documents is often as simple as a few function calls.



fontkit : ^1.0.0
linebreak : ^0.3.0
png-js : >=0.1.0



Related Projects

asciidoctor-pdf - :page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby

  •    Ruby

Prawn is a nimble PDF writer for Ruby. More important, it’s a hackable platform that offers both high level APIs for the most common needs and low level APIs for bending the document model to accommodate special circumstances. With Prawn, you can write text, draw lines and shapes and place images anywhere on the page and add as much color as you like. In addition, it brings a fluent API and aggressive code re-use to the printable document space.

Cairo Graphics

  •    C

Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, Quartz, Win32, image buffers, PostScript, PDF, and SVG file output. Experimental backends include OpenGL (through glitz), XCB, BeOS, OS/2, and DirectFB.

MuPDF - A Lightweight PDF, XPS and E-book viewer

  •    C

MuPDF is a lightweight PDF, XPS, and E-book viewer. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen. It supports PDF 1.7 with transparency, encryption, hyperlinks, annotations, searching and more. The viewer is small, fast, yet complete. It supports many document formats, such as PDF, XPS, OpenXPS, CBZ, EPUB, and FictionBook 2. You can annotate PDF documents and fill out forms with the mobile viewers (this feature is coming soon to the desktop viewer as well).

Ghostscript - Document Rendering and Conversion

  •    C

Ghostscript is a rendering and conversion engine for page description languages, including Postscript and PDF. It has ability to convert PostScript language files to many raster formats, view them on displays, and print them on printers that don't have PostScript language capability built in.

PDFBox - Java PDF library

  •    Java

Apache PDFBox is an open source Java PDF library for working with PDF documents. This library allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents. It provides support for adding bookmarks, fonts, text extraction, Encryption, PDF printing and lot more.

OpenOffice.org PDF Importer

  •    Java

The aim of this project is to develop a Portable Document Format (PDF) importer for OpenOffice.org Writer based on XPDF. This project was inspired by the PDF importer within KWord.

PDF2Mail PDF Writer


PDF2Mail is a PDF-Writer Windows printer that creates PDF files from your current print job, opens up a new eMail (in Outlook, Outlook Express or Thunderbird) and attaches the PDF to this eMail.

iText - Java PDF library

  •    Java

iText is one of the popular and widely used PDF library. It is used to generate PDF documents dynamically. Mostly web developers will love it to generate PDF documents and reports based on data from an XML file or a database and serves it to the browser. It has support of adding bookmarks, watermarks, Encryption, Form filling and lot more.

PDF Library - PDF manipulation in .NET

  •    VBNET

A library for PDF manipulation implementing Adobe PDF standard version 1.7. This library allows to read PDF files and apply changes to them, it is written in .NET 2.0 using Visual Studio 2005. Writing and Parsing PDF is supported.

jPod - PDF manipulating and rendering framework

  •    Java

jPod is a PDF manipulating and rendering framework. It provides functionality to read, verify the document against the PDF specification. It also provides content stream and rendering framework. It could able to create new document and do incremental updates.

pdf-bot - 🤖 A Node queue API for generating PDFs using headless Chrome

  •    Javascript

Easily create a microservice for generating PDFs using headless Chrome. pdf-bot is installed on a server and will receive URLs to turn into PDFs through its API or CLI. pdf-bot will manage a queue of PDF jobs. Once a PDF job has run it will notify you using a webhook so you can fetch the API. pdf-bot supports storing PDFs on S3 out of the box. Failed PDF generations and Webhook pings will be retried after a configurable decaying schedule.

PHPWord - A pure PHP library for reading and writing word processing documents

  •    PHP

PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats. The current version of PHPWord supports Microsoft Office Open XML (OOXML or OpenXML), OASIS Open Document Format for Office Applications (OpenDocument or ODF), Rich Text Format (RTF), HTML, and PDF. PHPWord is an open source project licensed under the terms of LGPL version 3. PHPWord is aimed to be a high quality software product by incorporating continuous integration and unit testing. You can learn more about PHPWord by reading the Developers' Documentation.

html-pdf-chrome - HTML to PDF converter via Chrome/Chromium

  •    TypeScript

HTML to PDF converter via Chrome/Chromium. Note: It is strongly recommended that you keep Chrome running side-by-side with Node.js. There is significant overhead starting up Chrome for each PDF generation which can be easily avoided.



iSafePDF is a PDF protection software. it allows you to encrypt PDF document, signe them using a certificate and timestamp the signature. all those features are PDF standards so your document will be readable/editable with all standard PDF programs.

transmuter - The Alien device to convert Markdown and Textile files to HTML or PDF

  •    Ruby

Transmuter is a command line tool to convert Markdown and Textile files into HTML or PDF, or HTML files to PDF. It uses pygments.rb, PDFkit, Redcarpet, and RedCloth.

PDFSam - PDF Split and Merge

  •    Java

PDFsam basic is a simple, platform independent software designed to split, merge and rotate pdf files. It can split your pdf documents (into chapters, single pages, etc.). It can merge many pdf documents or subsections of them. It helps to visually reorder pages of a selected pdf document.

gofpdf - A PDF document generator with high level support for text, drawing and images

  •    Go

Package gofpdf implements a PDF document generator with high level support for text, drawing and images.gofpdf has no dependencies other than the Go standard library. All tests pass on Linux, Mac and Windows platforms.

PDF Form Bubble Up


Bubble Up takes PDF Forms stored in SharePoint document libraries and "bubbles up" the data in the PDF Form to the library. This means the data that had been trapped in the PDF Form can now be used in document library views, workflows, etc. It's developed in C#.

.NET PDF Generator Demo


This demonstrates how to create a complex PDF document from scratch and load an existing PDF file.

Prawn - Fast, Nimble PDF Generation For Ruby

  •    Ruby

Prawn is a pure Ruby PDF generation library that provides a lot of great functionality while trying to remain simple and reasonably performant. It provides support to do Vector drawing, including lines, polygons, curves, ellipses, etc. Extensive text rendering, Security features including encryption and password protection, PNG and JPG image embedding, with flexible scaling options and lot more.