PDF to Image
PDF to Image
How to convert PDF pages to images
Drop your PDF
Drag a PDF onto the dropzone or click to choose one. The file loads into pdf.js — Mozilla's open-source PDF renderer — entirely in your browser. The status line shows total pages and file size once loaded.
Pick page range and format
Leave the Pages field blank to render every page, or type a range like 1-5 or 1,3,7-9. JPG is the universal default. PNG is lossless, so text edges stay exact (bigger files); it is not transparent here, because pdf.js paints the canvas white before drawing. WebP is the modern small-file alternative.
Set DPI
72 DPI matches what's displayed on screen (smallest files). 150 DPI is sharp for thumbnails and previews. 300 DPI matches print quality (largest files — use sparingly for many-page conversions). Higher DPI = larger image dimensions and more memory.
Convert and download
Click Convert pages. Each rendered page appears as a thumbnail with a per-file Download button, or use Download all to save every page as one .zip. Files are named filename-page-NNN.jpg (.png or .webp for those formats) so they sort correctly. If a page cannot be rendered, the status line names it instead of leaving it out silently.
PDF to image — when raster beats vector
A PDF is fundamentally a vector document: text and graphics are described mathematically, not as pixel grids. That's why PDF is great for printing (scales to any size without losing quality) and good for screen reading (fonts stay crisp at any zoom). But sometimes you need a PDF page as a flat image — for embedding in a slide deck, posting on social media, attaching to a CMS that doesn't accept PDFs, or saving a snapshot that's hard to edit. This conversion is technically called "rasterising" — turning vector instructions into a fixed pixel grid. Once a page is rasterised, the embedded text is no longer selectable and the file size depends entirely on dimensions and compression, not the original document complexity.
What actually does the rendering
This page uses pdf.js 4.10.38, Mozilla's PDF renderer — the same engine that displays PDFs inside Firefox. It is served from this domain as two files, a 353 KB main module and a 1.38 MB worker, and both are byte-identical copies of the published npm package. The page asks pdf.js for a page, asks for a viewport at scale = DPI ÷ 72 — 72 because a PDF's default user-space unit is 1/72 inch (ISO 32000-2, 8.3.2.3) — draws that viewport onto an HTML <canvas>, and then calls the canvas's own toBlob() to encode a JPG, PNG or WebP. The encoder is your browser's, not ours.
The page waits for pdf.js to finish each page before encoding it. Until 5 November 2026 it waited a fixed, short time instead, so a slow page could be saved half-drawn and a page that failed simply dropped out of the list. Nothing about this pipeline touches a RECATOOLS server — the file is read with File.arrayBuffer() and never leaves the tab.
At 300 DPI, a single A4 PDF page renders to roughly 2480×3508 pixels — about 8.7 megapixels per page. A 50-page PDF at 300 DPI generates 435 megapixels of canvas — roughly 1.7 GB of pixel data if every page is held at once, which is why phones give up first.
DPI is the setting that decides everything else
DPI ("dots per inch") controls how detailed the rasterised image is. Desktop screens sit around 100–160 ppi; current phone screens are 320–460 ppi; print is 300–600 dpi. For most web uses (CMS embeds, social posts, slide decks), 150 DPI is plenty — the resulting image is sharp on retina screens at the document's intended display size and stays reasonable in file size. Bump to 300 DPI only if you'll print the output or need detail (small text legibility, fine-grained diagrams). Going above 300 DPI is rarely worth the file-size cost unless the document is meant to be enlarged.
JPG vs PNG vs WebP for PDF pages
JPG works for almost everything but introduces lossy compression artefacts around sharp text and lines — usually invisible at 85%+ quality. PNG preserves every pixel exactly (no artefacts) but files are several times larger; use it for documents with lots of fine text or diagrams where legibility matters. Note that PNG output here is opaque, not transparent: pdf.js fills the canvas white before it draws, so there is no alpha channel to preserve. For WebP, Google's own comparison study reports files 25–34% smaller than JPEG at equivalent SSIM — worth taking where you control the software that will open the file. That study used Google's and libjpeg's encoders; your browser's encoder is the one that runs here, so compare the file sizes shown under each page.
What this tool doesn't do
It doesn't OCR — if your PDF is a scan, the output is still a picture, not editable text. It doesn't preserve layers, tagging or text: rasterising flattens everything, and that is usually the point. It doesn't open encrypted PDFs — this page never prompts for a password, so a protected file fails at load and has to be decrypted first in your own PDF reader. It doesn't crop, rotate, or composite pages onto one image. For those, render the pages here and then process the images in our Image Format Converter or Watermark Maker.
Why the scale is DPI ÷ 72, and what a rasterised page stops being
A PDF's default user space unit is 1/72 inch (ISO 32000-2, 8.3.2.3), so pdf.js at scale = 1 gives you exactly 72 pixels per inch. Every DPI option on this page is just DPI ÷ 72 handed to getViewport().
That 1/72 inch is the typographic point, which is also why PDF page sizes are quoted in points: US Letter is 612 × 792, A4 is 595 × 842.
An A4 page at 300 DPI renders to 2481 × 3508 pixels here (210 × 297 mm, each side rounded up to a whole pixel) — about 8.7 megapixels. A 50-page document is 435 megapixels of canvas, which is what makes high-DPI batches fail on phones.
iPhones and iPads cap a canvas at 4,096 × 4,096 pixels, and past that a canvas silently draws nothing. A page too large at your DPI is rendered at the largest size that fits, and the status line says which.
A single PDF page can mix vector and raster content — glyph outlines and line art are vector, photographs are embedded image XObjects (ISO 32000-2, 8.9). Conversion flattens both into one pixel grid.
pdf.js paints the canvas white before it draws anything, so PNG output from this tool has no transparency even though PNG supports it. If you need an alpha channel, you need a different pipeline, not a different format.
If your browser cannot encode the format you asked for, the HTML canvas specification tells it to fall back to PNG rather than fail. This page notices, names the files .png, and says so.
Rasterising is a one-way door: the output carries no fonts, no tags, no reading order and no selectable text, so it is unusable to a screen reader. Keep the PDF if anyone needs to read it assistively.
FAQ
-
No. Your PDF is read with
File.arrayBuffer(), rendered by pdf.js in this tab, and encoded by the browser's own canvas encoder. Verify it yourself in DevTools → Network: loading the page fetches the pdf.js module and its worker from this domain, and after that, no request the page makes carries your file; the only other traffic is the site's usual page-view beacons and, if you have consented, analytics and ads. -
72 for thumbnails. 150 for web (default). 300 for print or sharp on-screen detail. Above 300 only for very small text on documents you'll enlarge. Higher DPI = bigger files and more browser memory — slow on phones.
-
No. pdf.js can accept a password, but this page never prompts for one, so an encrypted file stops at the load step and the status line shows the error. Open it in your own PDF reader, save an unprotected copy, and convert that.
-
No limit is coded in — the constraint is your browser's memory, and it scales with pixels, not pages. Each page is one canvas of
width × height × 4bytes: A4 at 300 DPI is 8.7 megapixels, about 35 MB of canvas, and every rendered page is also held as an encoded image until you convert again or leave the page. iPhones and iPads cap a single canvas at 4,096 × 4,096 pixels; a page past that is rendered smaller and the status line says so. If a run stalls, convert a smaller range or drop the DPI. -
No — rasterised text is just pixels. If you need selectable text in the output, you need OCR (optical character recognition), which this tool doesn't include. For OCR, look at Tesseract.js or Adobe Acrobat.
-
Same as printing:
1single page,1-5range,1,3,5list,1-3,8,10-12mix. Leave the field blank for every page. Pages render in the order you type them, a page listed twice renders once, and a page the file does not have stops the run with a message naming it. -
PNG is lossless — every pixel preserved exactly, no quality knob to turn. Quality only matters for lossy formats (JPG, WebP). PNG file size depends on image complexity and dimensions, not a slider.
-
Google's published WebP study measured WebP files 25–34% smaller than JPEG at the same SSIM score, so for the same apparent quality you carry fewer bytes. Use WebP where you control the software that opens the file; use JPG where you don't. If your browser cannot encode WebP, the canvas specification makes it return a PNG instead — this page tells you, and names the downloaded file after the format you actually got.
-
Yes — tap the dropzone to pick a file rather than dragging. Keep the DPI at 100–150 on a phone: mobile browsers allocate much less canvas memory than desktop ones, and a long document at 300 DPI is the reliable way to lose the tab. Use Download all: it saves one .zip, where separate downloads are often cut to the first one on a phone.
-
Not in this version — one PDF at a time. For multi-PDF workflows, merge the PDFs first using our PDF Merger, then convert the merged result here.
Method & sources
How it computes
Rasterises each selected page with pdf.js 4.10.38 in the browser at scale = DPI / 72 (a PDF unit is 1/72 inch, ISO 32000-1 8.3.2.3), on a canvas whose sides round up to whole pixels, waiting for each render to finish, then encodes it with the browser's canvas.toBlob() as JPEG, PNG or WebP. Pages past the iOS canvas limit render at the largest size that fits. The file is read with File.arrayBuffer(); nothing is uploaded.
What this tool implements
- Corrected 2026-11-05: export raced each render against a 200 ms-6 s timeout sized by canvas area and encoded the canvas whatever its state, so a slow page could come out half-drawn, and a page whose render or encode failed was skipped with no message. Export now waits for pdf.js (30 s ceiling) and the status line names every page it could not render.
- Corrected 2026-11-05: canvas sides were Math.ceil(points x DPI / 72) on a double, so US Letter at 150 DPI came out 1276 px wide (612 x 150 / 72 = 1275.0000000000002). Sides now round up after allowing for floating-point noise: Letter at 150 DPI is 1275 x 1650, A4 at 300 DPI is 2481 x 3508.
- Corrected 2026-11-05: a range part naming a page the file does not have, or that is not a page number, was discarded silently. Page lists now go through the same range check as the PDF Splitter and are refused with a message naming the part; blank means every page; a page listed twice renders once and is reported.
- MDN: iOS devices limit a canvas to 4,096 x 4,096 pixels, past which drawing commands do nothing. A page that would exceed it is rendered at the largest scale that fits, and the DPI used is reported.
- Encoding is delegated to the browser (WHATWG HTML, the canvas element, toBlob): if the user agent does not support the requested type it must create the file as PNG. The page detects that, names the file .png and says so.
- PNG output is opaque, not transparent: pdf.js fills the canvas with #ffffff before drawing (CanvasGraphics.beginDrawing in pdf.js 4.10.38).
Show 1 more
- Download all saves one stored ZIP with SGT timestamps, instead of one download per page.
Sources
- ISO 32000-1:2008 (PDF 1.7), free copy published by Adobe — 8.3.2.3 User Space (default unit 1/72 inch). https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF…
- Mozilla. pdf.js v4.10.38 — getViewport({scale}), page.render and the default white canvas background. https://github.com/mozilla/pdf.js/releases/tag/v4.10.38
- WHATWG. HTML Living Standard — 4.12.5 The canvas element: toBlob(type, quality) and the PNG fallback for an unsupported type. https://html.spec.whatwg.org/multipage/canvas.html#dom-canvas-toblob
- MDN Web Docs. <canvas>: The Graphics Canvas element — Maximum canvas size. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Eleme…
- Google. WebP Compression Study — WebP files 25%-34% smaller than JPEG at equal SSIM. https://developers.google.com/speed/webp/docs/webp_study
What can make this go out of date
- None at runtime: pdf.js 4.10.38 is a vendored copy served from this domain, and the image encoder is the visitor's own browser.