This tool converts each page of a PDF into a JPG image at the resolution you choose — free, in your browser, with no upload to any server. You need an image to drop into a slide deck, post on social media, or attach to a form that refuses PDF uploads. This guide explains exactly what happens under the hood when your PDF becomes a JPEG, what settings matter, and how to avoid the pitfalls that trip people up.
When to use this tool
Use PDF-to-JPG conversion when you need a universally compatible image file. JPEGs open on any device, embed in any email client, and display in any web browser without plugins.
Specific scenarios where JPG is the right output format:
- Inserting a PDF page into a PowerPoint or Google Slides presentation
- Uploading a document preview to a website or marketplace listing
- Sending a single page to someone whose phone cannot open PDFs
- Creating thumbnail previews for a document management system
- Extracting a chart or figure from a report for use in another document
If your content is mostly text, line art, or diagrams with hard edges, PNG may give you a sharper result. JPG excels with photographs, scanned pages, and content where slight compression artifacts are acceptable.
How PDF-to-JPG conversion works
A PDF is not an image. It is a set of instructions — draw this glyph at these coordinates, fill a rectangle with this color, render this embedded image at that position. Converting it to a JPG means executing those instructions to produce pixels.
Here is the pipeline our tool uses:
Step 1: Parsing. The PDF.js library reads the binary PDF structure, locates the page tree, and extracts the content stream for the requested page. The content stream contains operators like Tf (set font), Tm (set text matrix), re (draw rectangle), and Do (draw external object).
Step 2: Rendering. PDF.js interprets each operator and draws the result onto an HTML5 Canvas element. The canvas dimensions are determined by the page's MediaBox (or CropBox if present) multiplied by a scale factor. That scale factor is where DPI enters the picture.
A PDF page declares its size in points (1 point = 1/72 inch). A letter-size page is 612 by 792 points. At 72 DPI, one point equals one pixel, so the canvas is 612 by 792 pixels. At 150 DPI, the scale factor is 150/72 (roughly 2.08), producing a canvas of about 1275 by 1650 pixels. At 300 DPI, the canvas doubles again to roughly 2550 by 3300 pixels.
Step 3: Encoding. Once the canvas holds the rendered page, the browser's built-in canvas.toBlob() method encodes those pixels as a JPEG file. JPEG uses lossy DCT-based compression, which works well for continuous-tone images but introduces slight blurring around sharp text edges. A quality setting between 85 and 92 gives you a good balance between file size and visual fidelity.
Step 4: Download. The resulting blob becomes a downloadable file. For multi-page PDFs, you get a ZIP archive containing one JPG per page, numbered sequentially.
DPI and resolution explained
DPI stands for dots per inch. In the context of screen display, it controls how many pixels represent one inch of the original document.
- 72 DPI — the absolute minimum. Matches the PDF's native point-to-pixel ratio. Text is legible on small previews but soft at full zoom. Useful only for thumbnails.
- 150 DPI — the sweet spot for screen use. Sharp enough for presentations, web use, and on-screen reading. File sizes stay manageable.
- 300 DPI — print quality. If you plan to print the JPG or need to zoom into fine details, this is your setting. File sizes are four times larger than 150 DPI because you have four times as many pixels.
- 600 DPI — overkill for most uses. Produces enormous files. Only warranted if you need to crop a small section and still retain detail.
The relationship is quadratic: doubling DPI quadruples the pixel count and roughly quadruples the file size.
Common issues
Text looks blurry at low resolution. This is not a bug — it is physics. At 72 DPI, a 10-point font renders at about 10 pixels tall. There simply are not enough pixels to draw thin strokes and serifs cleanly. Solution: increase DPI to at least 150.
Transparent backgrounds turn black. JPEG has no alpha channel. If your PDF page has no explicit background color (common in PDFs designed for screen viewing), the canvas starts transparent. When encoding to JPEG, that transparency must be flattened to a solid color. Many tools default to black. Our implementation fills the canvas with white before rendering, so this should not happen here — but it explains the black rectangles you see in other tools.
Vector graphics lose crispness. A PDF can describe a circle as a mathematical curve that is sharp at any zoom level. Once rasterized to a fixed pixel grid, that curve becomes a staircase of pixels. Higher DPI minimizes the staircase effect but never eliminates it entirely. This is an inherent limitation of raster formats.
Font rendering varies across browsers. PDF.js relies on your browser's text rendering engine. Chrome, Firefox, and Safari each handle sub-pixel anti-aliasing differently. The same PDF may produce slightly different JPGs depending on your browser. The differences are subtle — mostly affecting how thin strokes are anti-aliased.
Large PDFs use a lot of memory. A 300 DPI render of a letter-size page allocates a canvas of roughly 2550 by 3300 pixels, each pixel using 4 bytes (RGBA). That is about 33 MB of RAM per page just for the canvas. If your device has limited memory, reduce DPI or process fewer pages at once.
What to expect from our tool
You will get one JPG per page at your chosen resolution. Files are named with the page number and zipped together for multi-page documents. Processing happens entirely in your browser — nothing is uploaded anywhere.
Typical performance on a modern laptop: a 10-page document at 150 DPI converts in about 3 seconds. At 300 DPI, the same document takes around 8 seconds. These times scale linearly with page count.
The output quality matches what you would get from Adobe Acrobat's export function. We use a JPEG quality setting of 92 by default, which preserves detail while keeping file sizes reasonable. Photographic pages compress efficiently (typically 200-400 KB per page at 150 DPI). Text-only pages compress extremely well (often under 100 KB at 150 DPI).
One limitation worth noting: our tool cannot convert password-protected PDFs. You would need to unlock the document first using our Unlock PDF tool before converting pages to images.