talira

Compare

pdf-libHexaPDFpdfcpuDocSpring
What it isCreate and modify PDF documents in any JavaScript environment.Versatile PDF creation and manipulation for RubyPDF tooling for Go and the command lineFill PDF forms, generate PDFs and Word documents, and collect e-signatures with one API.
KindOpen sourceOpen sourceOpen sourceSaaS
Trust0.140.340.680.68
Stars8678—8911—
Last commit2024-07-17—2026-11-02—
LicenceMITAGPL-3.0-onlyApache-2.0proprietary
PricingFree and open sourceFree and open sourceFree and open sourceFree tier, from $49/month
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
—
  • DocSpring Cloud: free Developer plan; Starter from $49/month, Growth from $149/month, Scale from $399/month
  • DocSpring Enterprise (self-hosted, proprietary): not published: contact sales
    You arrange: PostgreSQL 14 or later, Redis 6.2 or later, a file storage service such as AWS S3 or Google Cloud Storage, the servers or Kubernetes cluster it runs on, a DocSpring licence key and Docker registry credentials, which DocSpring emails you
SOC 2———Yes
HIPAA———Yes
SSO———No
APINoYes—Yes
PluginsNo———
MCP serverNo——Yes
Company———DocSpring
Features
  • Create PDFs from scratch or modify existing ones
  • Draw text, images and SVG paths
  • Embed TrueType/OpenType fonts and PNG/JPEG images; measure text
  • Embed and draw pages from other PDFs
  • Add, insert, remove, split and merge pages
  • Create, fill, read and flatten AcroForm fields (text, checkbox, radio, dropdown, option list)
  • File attachments and document metadata
  • No native dependencies
  • 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
  • validate, optimize, split, trim and merge PDFs
  • extract and manipulate images, fonts and metadata
  • encrypt and decrypt, change passwords, set permissions
  • resize, rotate, crop, zoom and n-up pages
  • add and remove stamps and watermarks
  • validate signature integrity, report signature evidence and remove signatures
  • attachments, portfolios, bookmarks, annotations, keywords and properties
  • form commands: list, lock, unlock, reset, export to JSON, fill from JSON and multifill from JSON or CSV
  • All 12 features
  • PDF form filling for fillable and flat PDFs
  • AI field detection, naming and typing on uploaded PDFs
  • Word (.docx) and OpenDocument (.odt) templates with Liquid tags, conditions and table-row loops
  • Page Designer: PDF templates built from a blank page as a JSON layout (text, tables, images, charts, barcodes, QR codes, form fields)
  • HTML, CSS and Liquid templates with headers, footers and page numbers
  • Output as PDF, Word, ODT or PNG page images
  • Batches of up to 50 documents per request; combine PDFs
  • Signature requests to one or more signers, by email or embedded, with reminders and an audit trail
  • All 40 features
Limitations
  • Doesn't open or edit encrypted PDFs: PDFDocument.load throws an EncryptedPDFError
  • Doesn't extract plain text from a page outside form fields: it reads the values of text fields only
  • Requires keeping HexaPDF's producer line in every PDF under the AGPL: a commercial licence removes the requirement
  • No official Docker image yet: one is planned for v0.17.0
  • Doesn't generate Excel spreadsheets (XLSX) or PowerPoint presentations (PPTX): it outputs PDF, Word, ODT and PNG
  • No ISO 27001 certification (it has SOC 2 Type II)
  • No SAML single sign-on (Okta, Entra ID); sign-in is by email, Google or GitHub
  • No easy way yet to send a document for signature from the web app: signature requests are created with the API
  • Cloud hosting only in the US or the EU: DocSpring Enterprise runs on your own servers instead