HTML to PDF free library? .NET 6.0

This page summarizes the projects mentioned and recommended in the original post on /r/dotnet

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • QuestPDF

    QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.

  • Like many have suggested, I also cast my vote on QuestPDF. No more +50MB library including a Chrome browser to render HTML so a PDF of it can be created, which took 2-3 seconds each time. But with QuestPDF, it's so much faster!

  • WkHtmlToPdf-DotNet

    C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.

  • I've been using a c# wrapper for WkHtmlToPdf: https://github.com/HakanL/WkHtmlToPdf-DotNet It has worked very well so far. A lot of these html->pdf libraries rely on System.Drawing since they're quite old, so finding one that worked on linux, even if it does p/invoke was great for a old net472 project->net6.0 port that I'm doing.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • GotenbergSharpApiClient

    .NET C# Client for the Gotenberg API

  • https://gotenberg.dev/ https://github.com/ChangemakerStudios/GotenbergSharpApiClient

  • gotenberg

    A developer-friendly API for converting numerous document formats into PDF files, and more!

  • https://gotenberg.dev/ https://github.com/ChangemakerStudios/GotenbergSharpApiClient

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts