Skip to main content

8 posts tagged with "html to pdf api"

View All Tags

How to Generate Invoice PDFs with an API

· 11 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Generate invoice PDF with an API – HTML template to PDF conversion example

Every SaaS product and e-commerce store eventually needs to generate invoice PDFs. Most teams start with a Word template, Canva, or a drag-and-drop builder, and that works fine for five invoices a month. Once you hit hundreds or thousands, you need something that runs without human input.

This guide covers three ways to generate invoice PDFs with an HTML to PDF API: raw HTML templates, Handlebars-based templates with dynamic data, and AI-generated templates. Complete with working code in Node.js and Python that you can run.

How to Automate PDF Generation in n8n

· 8 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

n8n PDF automation workflow for automated PDF generation of invoices, reports, and certificates using PDFBolt API

Most n8n workflows eventually need to produce documents – invoices after purchases, scheduled reports, certificates for course completions. Setting up PDF generation inside n8n usually means dealing with HTML rendering quirks or managing headless browser instances. PDFBolt's API plugs directly into n8n's HTTP Request node, so you send template data and get back a finished PDF. No browser setup, no rendering config – just an API call.

Top Java PDF Generation Libraries Compared

· 12 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Top Java PDF Generation Libraries Compared in 2025

Java applications frequently need to produce PDF files – invoices, reports, contracts, shipping labels. The library you pick determines how much code you write, what web standards you can use, and what license restrictions apply. The Java ecosystem has several approaches, from low-level programmatic construction to browser-based HTML to PDF conversion. Below are code examples, feature tables, and recommendations for the most popular Java PDF libraries – from programmatic PDF builders to HTML to PDF converters.

Convert HTML to PDF in C# and .NET with DinkToPdf

· 14 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Guide to generating PDF from HTML using DinkToPdf in C#/.NET

If you need a reliable way to convert HTML to PDF in C# and .NET, this guide walks you through using DinkToPdf, a .NET wrapper for the wkhtmltopdf library, to generate PDFs from HTML content. DinkToPdf can handle invoices, reports, and other documents that need consistent PDF output. This step-by-step tutorial covers setting up a complete HTML to PDF conversion system in your .NET application, from project scaffolding to a finished invoice generator.

How to Convert HTML to PDF Using an API: Quick Start Guide

· 10 min read
Milena Szymanowska
Milena Szymanowska
PDFBolt Co-Founder

HTML to PDF API Conversion Process showing API-based PDF generation

If you need to generate PDFs from HTML in a production app, you have two options: run a local rendering tool yourself (Puppeteer, Playwright, wkhtmltopdf) or call an HTML to PDF API that does the rendering for you. This tutorial covers the API approach with a complete Node.js example that generates invoice PDFs using EJS templates and the PDFBolt API. You will also find a comparison with headless browser solutions to help you pick the right tool for your project.

API Integration Explained: Types, Methods, and Practical Examples

· 6 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

API Integration Overview

Most web applications talk to each other through APIs. If you've ever pulled data from a third-party service, processed a payment, or generated a PDF from HTML, you've used one. But the terminology around APIs can get confusing fast: REST vs. SOAP vs. GraphQL, synchronous vs. asynchronous, public vs. internal. This guide breaks it down with clear definitions, architecture comparisons, and a working Node.js code example at the end.

How to Generate PDFs in 2025: Methods and Tools Compared

· 10 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Illustration showcasing HTML to PDF conversion in 2025

PDF generation is a core requirement for many web applications – invoices, reports, contracts, certificates. Over the years, various HTML to PDF tools have taken different approaches to the problem. In this post, we look at the evolution of PDF generation solutions – from wkhtmltopdf and PrinceXML (via DocRaptor) to Puppeteer and Playwright – and then walk through a tutorial on using Playwright (Node.js) to generate a sample invoice PDF.

Why HTML to PDF Conversion is Key for Web Apps

· 4 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

HTML to PDF Conversion in Modern Web Apps with PDFBolt

Businesses and developers regularly need to turn HTML into PDF – for invoicing, legal documents, offline file storage, and dozens of other workflows. HTML works well on screen, but PDFs hold their formatting everywhere. An HTML to PDF API removes the guesswork from that conversion.