REST API · PDF Processing

PDF Tools
API

Convert HTML to PDF, merge multiple PDFs, split pages, add watermarks, extract metadata, and protect documents — all via a simple API call.

bash
curl -X POST "https://snapapis.com/api/v1/pdf/process" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "action=html_to_pdf&html=<h1>Hello</h1>"

6 PDF operations in one API

Everything you need for server-side PDF generation and manipulation.

HTML → PDF

Convert any HTML/CSS to beautifully styled PDF documents with custom paper sizes and margins.

Merge PDFs

Combine multiple PDF files into a single document. Up to 20 files at once.

Split Pages

Extract specific pages from a PDF into separate files.

Watermark

Add text watermarks across all pages of a PDF document.

PDF Info

Extract metadata, page count, author, title, and text preview from any PDF.

Protect

Generate password-protected PDF documents from HTML content.