AltHub

alvarcarto/url-to-pdf-api Alternatives

HTML-to-PDF / URL-to-PDF rendering service

Self-hosted microservice that converts a URL or raw HTML into PDF or PNG using headless Chrome/Puppeteer, aimed at receipts and invoices.

7.1kHTMLMITdormant · last push 2.7y agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

gotenberg/gotenbergGitHub

Self-hosted Go/Chromium API that converts URLs/HTML to PDF and also Office formats; pick when you want a maintained Docker-first alternative with broader format support.

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

13.0k
Go
MIT
active2mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

westy92/html-pdf-chromeGitHub

Node library that drives Chrome directly; pick when you want PDF conversion embedded in your process instead of a separate HTTP service.

HTML to PDF or image (jpeg, png, webp) converter via Chrome/Chromium

807
TypeScript
MIT
active1mo ago
microlinkhq/browserlessGitHub

Broader headless-browser service that includes PDF generation; pick when you also need general automation/screenshots, not just HTML-to-PDF.

The headless Chrome/Chromium driver on top of Puppeteer. Take screenshots, generate PDFs, extract text and HTML with a production-ready API.

1.8k
JavaScript
MIT
active24d ago
kane50613/takumiGitHub

Rust/Wasm renderer that turns JSX/HTML/CSS into PDF with no headless browser; pick for lightweight/edge/serverless deployments.

Render OG images and paged PDFs from JSX, HTML, and CSS. No headless browser. Runs on Node.js, Cloudflare Workers, browsers, and Rust.

3.0k
Rust
Apache-2.0
active24d ago
eKoopmans/html2pdf.jsGitHub

Client-side library that renders the current DOM to PDF; pick when generation must happen in the browser with no server.

Client-side HTML-to-PDF rendering using pure JS.

4.9k
JavaScript
MIT
active26d ago
Kozea/WeasyPrintGitHub

Python library that renders HTML/CSS to PDF with its own layout engine; pick when you want no Chrome/Puppeteer dependency in a Python stack.

The awesome document factory

9.6k
Python
BSD-3-Clause
active26d ago
dompdf/dompdfGitHub

PHP HTML-to-PDF library with its own CSS rendering; pick when you are in a PHP app and cannot run headless Chrome.

HTML to PDF converter for PHP

11.2k
PHP
LGPL-2.1
active2mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

esbenp/pdf-botGitHub

Node queue API around headless Chrome with S3/webhooks, but no commits for 2.5 years; choose only if you need queue-style workflows and can accept stale maintenance.

🤖 A Node queue API for generating PDFs using headless Chrome. Comes with a CLI, S3 storage and webhooks for notifying subscribers about generated PDFs

2.6k
JavaScript
MIT
dormant2.6y ago
simonhaenisch/md-to-pdfGitHub

CLI that only converts Markdown files to PDF; choose it when your input is exclusively Markdown and no HTTP API is needed.

Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.

2.0k
TypeScript
MIT
slowing11mo ago
lampnick/doctronGitHub

Go/Docker HTML-to-PDF/image API powered by Chrome, but unmaintained for 2.2 years; choose if you need a Go-native binary and can tolerate no updates.

html转pdf , html转图片 , Docker-powered html convert to pdf(html2pdf), html to image(html2image like jpeg,png),which using chrome(golang) kernel.

585
Go
Apache-2.0
dormant2.3y ago
marcbachmann/node-html-pdfGitHub

PhantomJS-era predecessor to Chrome rendering, archived and deprecated; choose only for legacy PhantomJS-based integrations.

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.

3.6k
JavaScript
MIT
archived2.4y ago

End-user tools

Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.

RelaxedJS/ReLaXedGitHub

Local authoring CLI that compiles Pug/SCSS/HTML to PDF via Chrome; pick when you want a desktop document workflow rather than an HTTP service.

Create PDF documents using web technologies

11.8k
JavaScript
ISC
slowing1.1y ago

Listed as an alternative to

These projects were analysed and named url-to-pdf-api among their alternatives. The relationship is not symmetric — how url-to-pdf-api rates them is a separate judgement, made when url-to-pdf-api is analysed in its own right.

QuestPDF/QuestPDFGitHub

calls url-to-pdf-api “A self-hosted web service for rendering URLs to PDF/PNG, not a library to embed.”

QuestPDF is a modern library for PDF document generation. Its fluent C# API lets you design complex layouts with clean, readable code. Create documents using a flexible, component-based approach.

14.2kC#active
Kozea/WeasyPrintGitHub

calls url-to-pdf-api “Self-hosted web service for converting URLs to PDF, not a library you can embed.”

The awesome document factory

9.6kPythonactive
microlinkhq/browserlessGitHub

calls url-to-pdf-api “Choose as a self-hosted PDF/PNG rendering service, but it's a standalone API not a swap-in library.”

The headless Chrome/Chromium driver on top of Puppeteer. Take screenshots, generate PDFs, extract text and HTML with a production-ready API.

1.8kJavaScriptactive