# PolyDoc

> Convert HTML to PDF and screenshots via REST API

- **Website**: https://polydoc.tech
- **Uneed Page**: https://www.uneed.best/tool/polydoc
- **Pricing**: Freemium
- **Category**: Development
- **Tags**: Automation, API & Data, Development
- **Submitted by**: @to21as
- **Launch Date**: 2026-09-24
- **Social Links**: [GitHub](https://github.com/polydoc-tech/)

## About

A REST API for HTML to PDF and screenshot generation, with best-effort PDF/A and PDF/UA output you can verify before it ships.

- High-fidelity PDF Generation: Convert HTML strings or URLs into accurate PDFs with full support for modern JavaScript and CSS.

- Archival & E-Invoicing: Generate best-effort PDF/A archival output for long-term retention, and create Factur-X and ZUGFeRD hybrid e-invoices with embedded XML data.

- Accessible PDFs: Create best-effort tagged PDFs (PDF/UA-1) for screen reader compatibility.

- Verification You Can Enforce: An optional VeraPDF check on PDF/A or PDF/UA output; if a document does not pass, the API returns an error instead of a non-conformant file.

- Security & Control: Protect documents with password encryption, add watermarks, and configure PDF outlines and metadata.

- Layout Customization: Utilize standard or custom page sizes, margins, orientation, headers, footers, and page ranges. Supports CSS Paged Media tools like Paged.js.

- Screenshot Capture: Generate pixel-perfect screenshots in PNG, JPEG, or WebP formats from HTML or URLs, with options for full-page or clipped captures and custom viewports.

- Developer-Friendly Features: Inject CSS and JavaScript, wait for specific selectors, control rendering media types, and block ads/trackers.

- Templates: Design and manage HTML templates with a built-in editor, using Liquid syntax for dynamic data integration.

- Webhooks & Cloud Storage: Receive conversion results asynchronously via webhooks and upload generated files directly to your cloud storage (AWS S3, Google Cloud, Azure Blob Storage, etc.) using presigned URLs.

- Dashboard & Playground: Manage API keys, test conversions live, monitor usage with analytics, and track quotas.

- Privacy-Focused: Stateless architecture, isolated rendering, and EU data residency ensure your data is processed securely and never stored after conversion.

- Sandbox Mode: Test integrations risk-free with watermarked sandbox conversions.