talira

Compare

PrawnHexaPDFPDFKitReportLab
What it isPure Ruby library for generating PDFs from codeVersatile PDF creation and manipulation for RubyA JavaScript PDF generation library for Node and the browser.The print button for eBusiness
KindOpen sourceOpen sourceOpen sourceOpen core
Trust0.420.340.700.35
Stars4823—10733—
Last commit2026-04-18—2026-11-03—
LicenceRuby OR GPL-2.0-only OR GPL-3.0-onlyAGPL-3.0-onlyMITBSD-3-Clause
PricingFree and open sourceFree and open sourceFree and open sourcePaid, free tier
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it—
  • HexaPDF (AGPL) (self-hosted, AGPL-3.0-only): free
    You arrange: keeping HexaPDF's producer line in every PDF it creates or changes, releasing your source under the AGPL when the licence requires it
  • HexaPDF commercial licence (self-hosted, proprietary): EUR 600 per physical host a year (any number of VMs on it), EUR 300 per virtual machine a year for VM-only deployments; unlimited hosts on request
—
  • ReportLab Toolkit (open source) (self-hosted, BSD-3-Clause): free
    You arrange: Python (pure Python since 4.0), the rlPyCairo extra if you render bitmaps or charts
  • ReportLab PLUS (self-hosted, proprietary): annual, by PDF pages output per month: £1,728/year up to 30,000 pages, £3,456 (30k-100k), £6,912 (100k-300k), £13,824 (300k-1M), ask above 1M; financial services pay double; perpetual licence on enquiry
    You arrange: Python 3.8+, a reportlab.com account to install rlextra from ReportLab's private package index, a licence file deployed with the app (output is watermarked without a valid one), one licence per business purpose; embedding in products you sell needs a separate agreement
SOC 2————
HIPAA————
SSO————
APINoYesNoNo
PluginsYes—NoNo
MCP serverNo—NoNo
Company——foliojsReportLab
Features
  • vector drawing
  • flowing text with inline formatting
  • built-in and embedded TrueType fonts
  • PNG and JPG images
  • grid layout
  • repeating headers, footers and page numbers
  • outlines
  • encryption and passwords
  • All 10 features
  • pure Ruby with minimal dependencies
  • canvas API mapping to PDF operators
  • document composition engine with flowing text, styles, lists and columns
  • JPEG, PNG and PDF images with transparency
  • UTF-8 text with TrueType fonts and subsetting
  • AcroForm forms with appearance generation
  • annotations and document outlines
  • file attachments and extraction
  • All 15 features
  • Canvas-like vector graphics API with SVG path parsing, transforms and gradients
  • Text wrapping, alignment, soft hyphens and bulleted lists
  • Tables
  • Font embedding and subsetting (TrueType, OpenType, WOFF, WOFF2, collections)
  • JPEG and PNG images, including transparency
  • Annotations: links, notes, highlights, underlines
  • AcroForms
  • Outlines (bookmarks)
  • All 10 features
  • Platypus page layout engine with flowables and page templates
  • Vector graphics and barcodes
  • Open-source toolkit (BSD)
  • PLUS: RML (Report Markup Language)
  • PLUS: Preppy templating preprocessor (BSD)
  • PLUS: pageCatcher to parse and reuse existing PDF pages
Limitations
    • Requires keeping HexaPDF's producer line in every PDF under the AGPL: a commercial licence removes the requirement