Most PDF-to-PNG converters upload your file, queue it, watermark the output, or cap the resolution behind an account. This one runs in your browser tab and gives you an editor before export.
Page size and export resolution
The default import uses 96 pixels per inch of PDF page size. An A4 page is about 794 × 1123 pixels at 1×; the menu next to the download button also offers 2× and 3×. Image DPI stored inside the PDF does not set the output size. Large exports may be reduced to fit the browser canvas limit. No watermark is added.
Fix the page before you export it
This is the part a plain converter can't do. As soon as the PDF parses, the design opens in the embedded Polotno editor with text still selectable and images still separate objects. Correct a typo, drop a logo, recolour the background, remove the pages you don't want: then export. The PNG is rendered from what you're looking at.
For transparency, set the page background to transparent. If the artwork also contains a white background shape, remove it before exporting.
Vector in, raster out
The parse step uses @polotno/pdf-import, built on Mozilla's pdf.js, so text arrives as text and shapes as paths rather than as one pre-flattened bitmap. The rasterisation to PNG happens last, at export time, from live vector data: which is why edges stay clean instead of picking up the softness of a re-encoded screenshot.
As an API, without the browser
The same conversion runs server-side. Post a Polotno design to the Cloud Render API and get a PNG back, or run the renderer inside your own infrastructure when the documents cannot leave your network. Both paths take the same design schema. Check representative files in the renderer you deploy, since rendering support can differ.
This is the usual shape for a PDF conversion pipeline: parse once with pdfToJson(), then render every page you need at whatever resolution the destination wants.
The same conversion in code
The SDK exposes the same primitives this page is built on:
import { pdfToJson } from "@polotno/pdf-import";
import { createStore } from "polotno/model/store";
const buffer = await file.arrayBuffer();
const json = await pdfToJson({ pdf: buffer });
const store = createStore({ key: "YOUR_KEY" });
store.loadJSON(json);
await store.waitLoading();
// Trigger a browser download
await store.saveAsImage({ fileName: "page.png" });
// Or get the bytes as a data URL, one page at a time
const dataUrl = await store.toDataURL({
pageId: store.pages[0].id,
pixelRatio: 2,
});Full API reference: PDF Import and the Import & Export overview.
