The PDFBase Blog

Guides, comparisons, and deep dives on PDF generation for developers.

Guide Jun 4, 2026 · 14 min read

Convert Markdown to PDF — CLI vs Library vs API

Pandoc, md-to-pdf, WeasyPrint, Puppeteer, or an API? Every method compared with real code, CSS gotchas, and a clear recommendation for 2026.

Read article

All Articles

Comparison Jun 29, 2026

The Best URL-to-PDF APIs Compared for 2026

PDFBase, Urlbox, PDFShift, Api2pdf, Browserless, and DocRaptor on rendering, JS support, auth, pricing, and developer experience.

Read article
Comparison Jun 29, 2026

The Best PDF APIs for Developers in 2026

Generation, extraction, and manipulation across PDFBase, Adobe PDF Services, DocRaptor, Api2pdf, and PSPDFKit, with pricing and DX notes.

Read article
Tutorial Jun 29, 2026

Generate PDF Invoices with Node.js

Build an HTML invoice template and render it with Puppeteer, pdfkit, or pdf-lib. Line items, tax, totals, multi-page, and selectable text.

Read article
Tutorial Jun 29, 2026

Extract Tables from PDF to CSV and JSON

Camelot, Tabula, and pdfplumber compared with working code, plus the edge cases (merged cells, scanned pages, multi-page tables) that break each one.

Read article
Guide Jun 29, 2026

Puppeteer PDF Generation: The Complete Guide

Every page.pdf() option, headers and footers, page breaks, web fonts, serverless on Lambda, and the failure modes that print blank pages.

Read article
Tutorial Jun 29, 2026

Style Markdown PDFs with Custom CSS

Control page size and margins, add running headers and page numbers, fix page breaks, style code blocks, and embed fonts with real paged-media CSS.

Read article
Tutorial Jun 4, 2026

Extract Text from PDF in Node.js — 4 Methods

pdf-parse, pdfjs-dist, pdf-lib, or an API? The real tradeoffs behind PDF text extraction, including the layout reconstruction problem nobody warns you about.

Read article
Guide Jun 4, 2026

Convert URL to PDF — Puppeteer, Playwright & API

Capture any webpage as a PDF. Covers SPA rendering, auth handling, CSS injection, and why your first attempt probably produced a blank page.

Read article
Comparison Jun 4, 2026

PDF Parsing in Python: PyPDF2 vs pdfplumber vs API

The honest comparison Python devs need. Table extraction showdown, the pypdf rename mess, and why 30% of PDFs break every library.

Read article
Guide May 20, 2026

HTML to PDF in Node.js — The Complete Guide

Puppeteer, wkhtmltopdf, jsPDF, pdf-lib, or an API? Every method compared with real code examples, honest tradeoffs, and a clear recommendation.

Read article

Stop stitching libraries together.

One API for every PDF operation. 100 free credits, no card required.

Get started free