PDF basics

PDF vs JPG for documents

Which format to use for scans, forms, printing and sharing

When a document belongs in a PDF and when a JPG is the better choice: pages, searchable text, printing, forms, file size, photos of paper versus scans, and converting between the two.

On this page

Quick answer: Use PDF for anything that is a document rather than a picture: several pages in order, searchable text, sharp printing at any size, forms and signatures. Use JPG when you need a single picture of something – a snapshot for a chat, an image for a web page, or a destination that only accepts images. A photo or scan of a page converted to PDF is easier to send and keep, but it gains no text; only OCR can add that.

What each format actually is

A JPG (JPEG) is a single raster image: a grid of pixels compressed with the lossy method defined in ITU-T T.81. It has a width and a height, colour channels, optional EXIF metadata such as the camera model and orientation, and nothing else. There is no notion of pages, text, fonts or vector shapes. Whatever appears in the picture – a letterhead, a paragraph, a signature – is a pattern of coloured dots.

A PDF is a container for pages. Each page carries a size in points, a rotation and a content stream of drawing instructions: place these glyphs from that embedded font here, stroke this line, paint this image in this rectangle. The same file can hold fonts, vector graphics, raster images, annotations, form fields, bookmarks, attachments and metadata. Crucially, a PDF can hold a JPEG inside it without re-encoding it, so "PDF versus JPG" is often a choice between a picture on its own and the same picture wrapped in a structure that can carry more.

The comparison at a glance

Question PDF JPG
Several pages in one file Yes – pages in a fixed order No – one image per file
Searchable, selectable text Yes, when a text layer exists (born-digital or OCR) Never
Sharp when printed or zoomed Text and vectors at any size; images at their own resolution Only up to the pixel count of the image
Forms, signatures, links, bookmarks Supported Not possible
File size for a page of text Small – a few kilobytes plus shared fonts Large for the detail it carries
File size for a photograph About the same as the JPEG it contains The baseline
Accessible to screen readers Possible, with a text layer and structure tags Only through an external description

Multi-page documents

The most common reason to choose PDF is the simplest: a document has more than one page. Six photographs of a six-page contract are six files that can arrive in any order, be renamed by a mail client and be missed by whoever opens them; the same six pages in one PDF arrive together, in sequence, with a page count anyone can check.

If your pages exist as images, the JPG to PDF tool and the PNG to PDF tool turn them into one document with one image per page, in the order you set, on a page size you choose. Pages that already exist as separate PDFs are combined with Merge PDF; how to merge PDF files covers ordering and what happens to mixed page sizes.

Text, search and accessibility

A PDF exported from a word processor or generated by a system stores its text as text: character codes drawn with an embedded font, usually with a mapping back to Unicode. That is what lets a reader search for a word, select a paragraph, read the document aloud with a screen reader or feed it to the PDF text extractor. A photograph of a page contains the shapes of letters, not the letters themselves, and a search for a client's name finds nothing.

Converting that JPG into a PDF does not change this. The result is an image-only PDF, which has the convenience of pages but still no text; the guide to scanned versus searchable PDFs explains how to tell the two apart and why optical character recognition is the only way to add a text layer afterwards.

Accessibility deserves a specific mention. Web accessibility guidelines require that non-text content has a text alternative, and an image of text is non-text content. A JPG of a letter embedded in a web page or an email needs a full transcript to be accessible; a tagged PDF with real text can be navigated by headings and read in order. A PDF with only an OCR layer sits between the two: it can be read aloud, but without structure tags the reading order and headings may be lost.

Printing and resolution

Text and vector graphics in a PDF are resolution-independent: the file says "draw this letter at this size" and the printer draws it with every dot it has. A JPG has a fixed number of pixels, and how sharp it prints depends on how many of those pixels land on each inch of paper.

The usual figure for crisp printed text is around 300 pixels per inch. An A4 page at that density is roughly 2,480 by 3,508 pixels; a Letter page roughly 2,550 by 3,300. When you convert PDF pages to images with the PDF to JPG tool you choose the resolution for exactly this reason: 72 or 96 pixels per inch is enough for a thumbnail or a chat message, around 150 for reading on screen, and 300 only when the image itself will be printed. For documents that must print predictably – right paper size, margins and orientation – PDF is what print shops and office printers expect; a JPG is scaled to fit whatever the print dialog decides.

Forms, signatures and anything interactive

A PDF form holds its fields as objects on the page: a text box that can be typed in, a checkbox, a signature field, a drop-down list. Links jump to web pages or other pages; bookmarks give a table of contents; comments can be added and replied to. A JPG can show a picture of a form, but the only way to "fill it in" is to draw on the image, and the result is a flattened picture that no system can read back as data. When the opposite is wanted – a completed form that can no longer be changed – preparing PDFs for email describes the flattening options.

File size

Size depends on content, not on the format label. Three cases cover most situations.

A photograph or scan. A JPG and a PDF containing that same JPG are almost identical in size; the PDF adds a few kilobytes of structure. JPG to PDF embeds the JPEG bytes unchanged, so nothing is lost and nothing is gained. If the result is too large, the picture inside is too large: compress the JPG first with the JPG compressor, or compress the finished document with Compress PDF, which downsamples and re-encodes JPEG and Flate images while leaving text alone. How to reduce PDF file size explains the profiles.

A page of text. A born-digital PDF page of text is tiny – the glyph codes and positions take a few kilobytes, and the font is embedded once for the whole document. A JPG of the same page at printable resolution is many times larger and still less legible.

Screenshots and diagrams. Flat colours and sharp edges compress badly as JPEG and show halos around text. Keep them as PNG and use PNG to PDF, which embeds PNG losslessly; or, if the PDF already exists, export pages with PDF to PNG rather than to JPG. Choosing an image format goes into this trade-off for images in general.

Photos of documents versus scans

A scanner and a phone camera both produce pictures of a page, but they are not equivalent. A scanner holds the page flat under even light at a known resolution, so the result has straight edges, consistent size, uniform brightness and a predictable pixel count. A photo has perspective distortion, shadows, a colour cast from the room's lighting and whatever resolution the camera produced – usually far more pixels than the text needs and far less sharpness.

If a photo is all you have, a few habits improve it: shoot straight down with the page filling the frame, in daylight or under even light, with the flash off; crop to the page edge; and consider converting to greyscale, which removes the colour cast and shrinks the file. The image resizer can bring an oversized photo down to a sensible pixel count, and converting with a fixed page size such as A4 or Letter makes every page in the document line up. The result is still an image-only PDF: easier to send and keep than loose photos, but unsearchable until it has been through OCR.

Converting in each direction

Image to PDF is lossless when the source is a JPEG or PNG: the bytes are embedded as they are, one image per page, and EXIF orientation is applied so phone photos come out upright. Choose "original" page size for a digital album where each page matches its photo, or A4 or Letter with a margin for anything that will be printed or attached to a form.

PDF to image is a rendering step. The page is drawn to a canvas at the resolution you pick and saved as JPG or PNG. Text becomes pixels, links and form fields disappear, and the result is only as sharp as the resolution allows. Use it for previews, for systems that accept images only, or for placing a page in a presentation – not as a way to store documents. Round trips – image to PDF to image – re-encode the picture each time a JPEG is produced, so keep the original. When a file's origin is unclear, the image format inspector shows what a JPG or PNG really contains.

Choosing in practice

  • Several pages, or anything that will be filed, archived or referred back to: PDF.
  • Text people will search, quote or read with assistive technology: PDF created from the original document, not from a photo.
  • A form to be filled in, signed or submitted: PDF.
  • A single picture to drop into a chat, a slide or a web page: JPG (or PNG for screenshots).
  • A photo of a receipt, ID or letter that needs to be sent: convert to PDF on a standard page size, after cropping and compressing the image if it is large.

Try it: JPG to PDF to turn photos of pages into one document, or PDF to JPG when a single page needs to be a picture.

Frequently asked questions

Is a PDF smaller than a JPG of the same page?

For a photograph or scan, no: a PDF made from a JPG contains that same JPEG and is only a few kilobytes larger. For a page of text produced from a word processor, yes, by a wide margin, because the text is stored as character codes rather than as pixels. Size follows the content, so compress the image inside rather than switching formats in the hope of a saving.

Can I turn a photo of a document into a PDF?

Yes. The JPG to PDF tool places each photo on its own page, applies the camera's orientation and lets you choose a page size and margin. The result is an image-only PDF, which is convenient to send and store but cannot be searched or have its text copied until optical character recognition has added a text layer.

Does converting a PDF to JPG keep the text searchable?

No. Rendering a page to JPG turns everything on it, including text, into pixels, and links, bookmarks and form fields are lost. Keep the PDF as the master copy and treat the JPG as a disposable picture of it; if you need the words, use the text extractor on the PDF instead.

Sources and further reading

About the author

HelpMeJPG editorial teamEditorial team

The people who build and maintain the HelpMeJPG tools. Guides are written from the tools' own behaviour and the standards they implement, and are revised whenever a tool changes.