HTML-to-PDF

Top 21 HTML-to-PDF Open-Source Projects

  • Dompdf

    HTML to PDF converter for PHP

  • Project mention: Intro to DOMPDF - lightest and simplest PHP library to generate PDF documents | dev.to | 2024-04-05

    Generating PDF documents out of your app's HTML output is a very common requirement and there are several open source libraries to accomplish this. I came across this need for my project recently and I evaluated many popular ones such as TCPDF, mpdf, FPDF, etc. But the one that truly stood up to my evaluation in terms of efficiency (minimal footprint) and ease of implementation was DOMPDF.

  • Snappy

    PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage (by KnpLabs)

  • Project mention: How to Simply Generate a PDF From HTML in Symfony With WeasyPrint | dev.to | 2023-12-12

    When I first looked for solutions to generate a PDF document in a Symfony application, I was amazed to find that a SymfonyCast was made about this. It features the PHP library Snappy, which is essentially a wrapper around wkhtmltopdf.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Pdfkit

    A Ruby gem to transform HTML + CSS into PDFs using the command-line utility wkhtmltopdf (by pdfkit)

  • Project mention: Working with PDFs in Ruby | dev.to | 2023-10-24

    Like the WickedPDF gem, the PDFkit gem uses wkhtmltopdf on the backend to convert plain HTML and CSS files into PDF documents.

  • xhtml2pdf

    A library for converting HTML into PDFs using ReportLab

  • KnpSnappyBundle

    Easily create PDF and images in Symfony by converting html using webkit

  • go-wkhtmltopdf

    Golang commandline wrapper for wkhtmltopdf

  • go-wkhtmltopdf

    Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface (by adrg)

  • Project mention: Library to convert HTML to pdf in Golang | /r/golang | 2023-05-22

    I haven't needed to create PDFs in Go but a quick search brought this library up: https://github.com/adrg/go-wkhtmltopdf

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • scryber.core

    Scryber.Core is a dotnet html to pdf engine written entirely in C# for creating beautiful flexible, flowing documents from html templates including css styles, data binding, svg drawing and encryption

  • Project mention: (Free) Open-source PDF Generation/Export | /r/dotnet | 2023-06-06

    u/WolfenBass1, just spotted your post, and feel free to check out Scryber.Core. It sounds like it supports what need, and will run client-side in Blazor (as well as server side). Using templates, based on html with data binding with expressions you should be able to do what you need. It is open source, and free. Also on Nuget, and any feedback is gratefully received.

  • puppeteer-report

    Convert HTML to PDF by Puppeteer with support of adding a custom header, footer, and page number

  • GotenbergSharpApiClient

    .NET C# Client for the Gotenberg API

  • Docotic.Pdf

    Docotic.Pdf library can create, edit, draw and print PDF files in .NET Core, ASP.NET, Windows Forms, WPF, Xamarin, Blazor, Unity, and HoloLense applications. The library is a 100% managed assembly without unsafe blocks. The assembly has no external dependencies.

  • html-pdf-invoice-template

    An HTML invoice template for use in a browser and with HTML to PDF generation.

  • jikji

    Effortless report generator and reporting tools with React and NodeJS

  • HTMLWithImagesToPDF

    Showcasing a bug in iOS when generating a PDF from an HTML page using UIMarkupTextPrintFormatter.

  • python-anvil

    Python library and CLI for the Anvil API

  • unihtml

    UniHTML client

  • fay

    Stateless, Fast and Reliable PDF rendering service. (by StarpTech)

  • lazypress

    Convert HTML pages to PDFs looking just like they would render in the browser

  • Project mention: Library to convert HTML to pdf in Golang | /r/golang | 2023-05-22

    Not a library per se but you can check the code it uses: https://github.com/alexferrari88/lazypress

  • FastPDF Service API (Python)

    Python SDK for Fast PDF Service

  • FastPDF Service API (Java)

    Java SDK for Fast PDF Service

  • Project mention: FastPDF Service API (Java) VS itext7 - a user suggested alternative | libhunt.com/r/fastpdf-java | 2023-12-07
  • FastPDF Service API (C# .NET)

    C# SDK for Fast PDF Service

  • Project mention: FastPDF Service API (C# .NET) VS itext7-dotnet - a user suggested alternative | libhunt.com/r/fastpdf-csharp | 2023-12-07
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

HTML-to-PDF related posts

  • FastPDF Service API (Java) VS itext7 - a user suggested alternative

    2 projects | 7 Dec 2023
  • FastPDF Service API (C# .NET) VS itext7-dotnet - a user suggested alternative

    2 projects | 7 Dec 2023
  • Library to convert HTML to pdf in Golang

    8 projects | /r/golang | 22 May 2023
  • Solve network errors with PDFKit and wkhtmltopdf

    1 project | dev.to | 14 Jun 2022
  • pdf library in C#

    1 project | /r/aspnetcore | 11 Feb 2022
  • Does anyone have a simple workable example on exporting PDF from a print preview page?

    2 projects | /r/androiddev | 16 Nov 2021
  • Version 5.1.0-beta of our PDF engine has been released to Nuget

    1 project | /r/scryber | 19 Jul 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source HTML-to-PDF projects? This list will help you:

Project Stars
1 Dompdf 10,278
2 Snappy 4,342
3 Pdfkit 2,920
4 xhtml2pdf 2,179
5 KnpSnappyBundle 1,220
6 go-wkhtmltopdf 1,006
7 go-wkhtmltopdf 210
8 scryber.core 172
9 puppeteer-report 137
10 GotenbergSharpApiClient 101
11 Docotic.Pdf 65
12 html-pdf-invoice-template 63
13 jikji 44
14 HTMLWithImagesToPDF 39
15 python-anvil 16
16 unihtml 14
17 fay 13
18 lazypress 10
19 FastPDF Service API (Python) 0
20 FastPDF Service API (Java) 0
21 FastPDF Service API (C# .NET) 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com