Skip to content
ToolkitHub

PDF to JPG

Save PDF pages as images

Guide

Rendering PDF pages as images

By Logappradeep · ServiceNow developer

Sometimes a PDF page needs to be a picture: a slide for a social media post, a page preview for a website, a diagram to drop into a presentation, or a document for an app that only accepts images. Converting renders each page exactly as it appears in a reader and saves it as a JPG or PNG.

Understanding DPI

PDF pages are measured in points, where 72 points equal one inch. DPI (dots per inch) decides how many pixels are produced for every inch of page. An A4 page is about 8.27 by 11.69 inches, so:

  • 72 DPI gives roughly 595 by 842 pixels: fine for thumbnails and quick previews.
  • 150 DPI gives roughly 1240 by 1754 pixels: sharp on most screens and a good default for sharing.
  • 300 DPI gives roughly 2480 by 3508 pixels: print quality, suitable for reprinting or zooming into fine detail, at about four times the file size of 150 DPI.

JPG or PNG?

JPG uses lossy compression that suits photographs and produces small files, but it can create faint smudges around sharp text and lines. PNG is lossless, so text and line drawings stay perfectly crisp, but files are larger for photo-heavy pages. For text documents and diagrams choose PNG; for brochures and photo pages JPG is usually the better trade-off.

How pages are rendered

The tool uses pdf.js to interpret each page's drawing instructions, fonts and images and paint them onto an HTML canvas at the resolution you selected. The canvas is then exported as JPG or PNG. Single pages download directly; multi-page documents are bundled into a ZIP file with sequentially numbered images. Everything happens on your device, so even confidential reports can be converted without being uploaded.

Things to be aware of

The output images contain no selectable text; they are pictures of the pages. If you need the words themselves, use PDF to Text instead. High DPI on long documents uses a lot of memory: a 100-page file at 300 DPI means rendering hundreds of millions of pixels. On phones, convert in smaller page ranges or choose 150 DPI.

Rendering can differ slightly from your desktop reader if the PDF relies on fonts that were not embedded in the file. In that case a substitute font is used and spacing may shift a little. Transparent areas of a page become white in JPG, since the format has no transparency.

If you only need an image of one figure, convert the page at 300 DPI and then use the Crop tool to cut out the area you want.

Frequently asked questions

Which DPI should I choose?

Use 150 DPI for on-screen sharing and 300 DPI if the images will be printed or you need to zoom into small text.

Why are the images in a ZIP file?

Each page becomes a separate image, so multi-page documents are bundled into one ZIP for a single download.

Can I convert just a few pages?

Convert the document and keep the images you need, or remove unwanted pages first with the Remove Pages tool.

Are my PDF pages uploaded to convert them?

No. Pages are rendered with pdf.js inside your browser and the images are created locally.