Fork PDF logo

Fork PDF

Live this week

HTML to PDF with a queryable DOM

Fork PDF

Fork PDF - HTML to PDF with a queryable DOM

ABOUT Fork PDF
Fork PDF is an HTML-to-PDF API that gives you programmatic access to the rendered document layout mid-flight. By exposing the physical DOM server-side, it lets you extract element coordinates, validate document structure, and resolve layout issues in a single API call. Key Features: * Exact Coordinate Extraction: Query rendered elements directly to return physical bounding boxes (page number, x, y, width, and height) in your API response or webhook payload, streamlining e-signature placement and custom data retrieval. * Autonomous Self-Healing: Run server-side spatial assertions to detect layout collisions or orphaned content across page breaks, automatically applying style patches and re-rendering before final delivery. * Dynamic Table of Contents: Measure the exact physical page numbers headings land on during rendering, patch the verified numbers into your template, and re-render in a single roundtrip. * Offline Spatial Inspection: Download spatial document maps to query element geometry and inspect layout boundaries locally using the forkpdf Node.js library. * Production Reliability: Zero-Data Retention with Bring-Your-Own-S3 (BYO-S3), Dead Letter Queues with retry functions for failed webhook payloads, and native fillable AcroForm generation. Get started with 100 free credits. No credit card required.
DEMO VIDEO
OVERVIEW

Problem

Traditional HTML to PDF APIs are black boxes that do not allow access to the rendered DOM, making it difficult to extract dynamic element coordinates, generate accurate Tables of Contents, or prevent layout breaks without complex post-processing.

Solution

Fork PDF exposes the rendered DOM mid-flight, allowing developers to query and extract dynamic element coordinates, auto-generate accurate Tables of Contents, and apply layout self-healing to prevent page breaks, all in a single API call.

What makes it unique

Unlike traditional HTML to PDF APIs, Fork PDF exposes the rendered DOM during the conversion process. This allows developers to programmatically inspect, query, and manipulate the document's structure, extract specific data, and apply intelligent layout patches, providing a level of control and dynamic functionality previously unavailable.

BUILT BY
EVERY RUN, KEPT

Launch history

Every launch keeps its locked points and placement when the next run starts from zero.

1
run
#22
best
DISCUSSION0
Links aren't allowed

Be the first to comment

Share your thoughts, ask a question, or leave feedback for the maker.