Extract PDF pages to images in the browser.
Split any PDF into crisp per-page images, entirely on the device. WebAssembly does the rendering, so nothing uploads and nothing round-trips a server. Preview, edit, or re-assemble pages without a single byte leaving the browser.
Per-page images, straight from the browser
- ✓ Render each PDF page to a PNG or JPEG on the device
- ✓ Runs on WebAssembly, with no upload and no server round-trip
- ✓ Choose output scale / DPI per page for sharp thumbnails or full-res
- ✓ Extract a single page, a range, or the whole document on demand
- ✓ Files never leave the browser, so privacy holds by default
- ✓ Works offline once the WASM module is cached
- ✓ Feed pages straight into preview, edit, or re-assembly
import { DocumentTools } from "@abscode/browser"; // Runs entirely in the browser, nothing is uploaded const tools = await DocumentTools.load(); const pages = await tools.extractPdf(file, { scale: 2, format: "png" }); pages.forEach((page) => { const img = new Image(); img.src = URL.createObjectURL(page.blob); document.body.appendChild(img); });
Common scenarios
In-browser page preview
Render a full PDF to per-page images so users can flip through every page instantly, before anything is saved or sent anywhere.
Split & reorder tools
Turn each page into a draggable card. Users split, drop, and re-sequence pages, then re-assemble a fresh PDF fully client-side.
Thumbnailing
Generate low-DPI page thumbnails for a document picker or gallery view without ever uploading the source file.
Redaction prep
Flatten sensitive pages to images so hidden text and metadata are stripped before anyone marks them up. Pair it with browser compression afterward.
Per-page OCR feeds
Slice a scanned PDF into individual page images and stream each one into your OCR pipeline, one call at a time.
Privacy-first editors
Build editors where documents never touch a server. Pair with browser conversion to re-emit edited pages as PDF.
Priced for every team
Included in the Browser JS license. Pricing shown in your local currency.
Affordable to all
Because extraction runs on the device, there are no per-page cloud fees to rack up. One flat license covers a hobby project or a high-traffic app the same way.
Common questions
Explore the rest of the Browser JS Library
One license, every capability — take this and you also get all of these.