Skip to main content

HTML to PDF in Rails: Complete Guide with Grover Gem

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

Generate PDF from HTML using Grover in Ruby on Rails

Modern web applications frequently need to generate professional PDF documents for invoices, reports, contracts, and other business materials. The Grover gem is a widely used Ruby on Rails PDF generator that relies on Google Chrome's headless browser for accurate rendering with full CSS3, Flexbox, and Grid support. This tutorial walks you through Ruby HTML to PDF conversion using Grover's Chrome-based engine integrated with Rails' ERB templating system.

Ruby on Rails PDF Generation with Prawn: Complete Tutorial

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

Professional PDF document generation with Prawn gem in Ruby on Rails

The Prawn gem is one of the most downloaded Ruby on Rails PDF generator libraries, used for creating complex, well-designed PDFs with clean and readable code. Below you'll learn how to set up Prawn, build an invoice PDF with tables and custom fonts, and configure the rendering options.

WickedPDF Tutorial: HTML to PDF in Ruby on Rails

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

Ruby on Rails PDF Generation with WickedPDF

WickedPDF is the most popular HTML to PDF gem for Ruby on Rails, providing tight integration with Rails' built-in ERB templating system. Below you'll learn how to set up WickedPDF, build an invoice PDF with ERB templates, and configure the rendering options.

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.

Apache PDFBox Java Tutorial: How to Generate PDFs

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

Apache PDFBox Java Tutorial: Generate PDFs from HTML with Code Examples

Most Java HTML to PDF libraries rely on browser engines to render content. But if you need full control over layout, fonts, positioning, and structure – especially for invoices, reports, or certificates – Apache PDFBox offers a code-driven alternative. Rather than converting web pages, PDFBox lets you programmatically construct PDF documents from scratch using Java. This guide covers PDFBox's low-level API for creating formatted PDFs – you skip browser dependencies entirely and control exactly how your documents are styled, structured, and generated.

How to Generate PDF from HTML in Java Using Flying Saucer

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

Convert HTML to PDF in Java using Flying Saucer and Thymeleaf – step-by-step guide

Looking for a reliable way to convert HTML to PDF in Java – without relying on headless browsers or heavyweight libraries? In this tutorial, you'll learn how to use Flying Saucer (xhtmlrenderer) together with Thymeleaf templates to generate clean, print-ready PDFs directly in your Java application. Flying Saucer is a lightweight, pure Java library that renders XHTML and CSS into PDF format – no external rendering engines required. It works well for reports, invoices, and other dynamic documents where fast, consistent PDF generation matters.

HTML to PDF in Java with Playwright and Thymeleaf

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

HTML to PDF with Playwright in Java

Need to convert HTML to PDF in your Java project? This tutorial shows you how to use Playwright for Java together with Thymeleaf templates to generate clean, well-formatted PDFs. We'll build an invoice generator that renders HTML to PDF using a headless Chromium browser, with full CSS and JavaScript support. The code examples are ready to copy and adapt for your own HTML to PDF generation in Java.

OpenPDF in Java: How to Generate Professional PDF Documents

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

Generate PDFs with OpenPDF in Java

Programmatic PDF generation is a common requirement for Java applications that produce invoices, reports, or contracts. OpenPDF, a lightweight and open-source PDF library derived from iText, provides a free solution for creating these documents in Java. In this step-by-step guide, we'll build a PDF invoice generator using OpenPDF as a practical example you can adapt to your own projects.

Top C# and .NET PDF Generation Libraries Compared

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

Best C# Libraries for PDF Generation

The .NET ecosystem offers a rich variety of libraries for PDF generation. From creating documents from scratch to converting HTML to PDF or generating reports with complex layouts, C# developers have several proven options to pick from. This article covers the most popular PDF libraries available for C# and .NET, with download statistics, key features, installation guides, and practical code examples to help you choose the right tool for your project.

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.