Illustration of a PDF document being edited with an online PDF tool
How-To GuideApril 19, 20268 min read

How to Add Images and Hyperlinks in PDF Files (2026 Guide)

These two tasks look similar and are not. Placing an image on a PDF page is drawing: any tool that can draw can do it. A hyperlink is a separate annotation object with its own rectangle and its own action, and a tool either implements that object or it cannot make a link at all, no matter how much blue underlined text it can put on the page. Our own tool can do the first and not the second, and the rest of this page explains both mechanisms so you can predict what any tool will do.

In This Guide

Adding an image, and the size mistake everyone makes

When you place an image on a PDF page, the image is embedded at its own pixel dimensions and then drawn scaled into the box you positioned. The scaling is display geometry; it does not change what is stored. Drop a 4000 pixel wide photograph into a box two inches across and all four thousand pixels go into the file. The page shows a small picture and the document carries a large one.

So resize the image before you place it. The arithmetic is simple: multiply the printed width in inches by the resolution you need. A two inch wide logo at 300 dpi needs 600 pixels. At 150 dpi, which is fine for anything that will only be read on a screen, it needs 300. Anything beyond that is file size you are carrying for no visible benefit, and it is the single commonest reason a PDF with three small images ends up at 20 MB.

In RaptorPDF

The image placement lives in the sign tool rather than in the annotator, which is not obvious from the name. Open the tool, use "Upload signature image", and the picture appears on the page: drag to move it, drag the corner dot to resize, press Delete to remove it. It is not limited to signatures. A logo, a stamp, a scanned initial or a photograph all work the same way.

Three specifics worth knowing:

The placement is flattened into the page at download, which means it becomes part of the page graphics and cannot be moved or removed by whoever opens the file afterwards.

One warning about Image to PDF

Turning a set of photographs into a PDF is a different tool and it has a real weakness you should know about: it re-encodes every image as PNG on the way in. PNG is lossless, so nothing gets blurry, but a lossless encoding of a photograph is several times larger than the JPEG it came from. Converting a dozen phone photos to a single PDF therefore produces a much bigger file than the sum of the originals. If size matters, resize the photographs down first, or assemble the PDF in a tool that passes JPEG data through unchanged.

On other tools

Apple Preview can place an image on a page through the markup toolbar, entirely locally. LibreOffice Draw inserts images through Insert, Image and then exports the whole document to PDF, which means the rest of the page is re-rendered too, so check the result against the original. Acrobat's Edit PDF has a proper Add Image function and lets you replace an existing image in place, which nothing free does.

Understanding this explains almost every strange link behaviour you have run into.

A hyperlink in a PDF is a /Link annotation. It consists of a rectangle on the page and an action, usually a /URI action containing the address. Crucially, the rectangle is not attached to the text. The blue underlined words you see are ordinary drawn text; the clickable region is an invisible box that happens to sit over them. They are two separate things that were placed to line up.

Three consequences follow, and all three are things people report as bugs:

There is a useful consolation if your tool cannot create link annotations. Many readers, Acrobat included, will detect a plain text URL on the page and make it clickable themselves; Acrobat has a preference for exactly this. It is not reliable across every reader, but writing out the full address as visible text means the reader can at minimum select and copy it, which a broken link annotation does not offer. So https://www.raptorpdf.com written out in full is a reasonable fallback, and a bare "click here" is not.

The reliable route: links in the source document

Add the link in Word, Google Docs, LibreOffice or InDesign, then export. Those applications emit proper /Link annotations, handle line-wrapped links correctly, and get the rectangles right because they know where the text is.

One trap catches people constantly, and it is worth stating precisely: Save as PDF and Print to PDF are not the same thing. Word's own Save As or Export to PDF preserves hyperlinks. Sending the same document to "Microsoft Print to PDF" on Windows, or through the macOS print dialog's Save as PDF, goes through a print pipeline that has no concept of link annotations, so every link is silently lost. The resulting file looks identical and nothing is clickable. If your exported PDF lost its links, this is almost certainly why.

The same logic applies to anything that re-renders a page. Compressing a PDF by rasterising its pages, which is how our compressor and many others work, destroys link annotations along with the text layer. Add links last, or accept that they will not survive.

What each tool can and cannot do

ToolPlace an imageCreate a clickable linkLocal processing
RaptorPDFYes, via the sign tool; PNG or JPEGNo. Visible URL text onlyYes, nothing uploaded
Apple PreviewYes, markup toolbarNoYes
Word, Docs, LibreOffice WriterYes, in the source documentYes, on export; not via Print to PDFWord and LibreOffice yes, Docs no
LibreOffice DrawYesYesYes
Adobe Acrobat ProYes, including replacing an existing imageYes, with link types for URL, page and emailDesktop version yes

Pricing for the commercial options changes, so check the vendor's page rather than a figure in an article. For our part: free covers three operations a day with files up to 50 MB, no watermark and no account, and operations are counted at download, so placing an image and stamping page numbers in one session before downloading counts once. Pro is $4.99 a month or $39.99 a year with a 300 MB ceiling.

Getting a professional result

Place an image or a signature on any page

Upload a PNG or JPEG, drag to position, resize by the corner, download. Nothing is uploaded to a server.

Open the sign tool

Frequently Asked Questions

How do I add an image to a PDF for free?

In RaptorPDF the image placement lives in the sign tool rather than the annotator: use "Upload signature image", then drag to position and resize by the corner dot. Use PNG or JPEG, since WebP does not currently embed correctly. Apple Preview does the same locally on a Mac through its markup toolbar, and LibreOffice Draw inserts images and exports to PDF, though it re-renders the whole document in the process.

How do I add a clickable hyperlink to a PDF?

A PDF link is a separate annotation object, so the tool has to implement it; drawing blue underlined text is not the same thing. The reliable route is to add the link in Word, Google Docs or LibreOffice and then use that application's Save as PDF or Export function. Do not use Print to PDF, which goes through a print pipeline that discards link annotations entirely and is the usual reason exported links stop working. Acrobat Pro and LibreOffice Draw can add links directly to an existing PDF. RaptorPDF cannot; it can only place the URL as visible text.

Why did my hyperlinks disappear when I saved as PDF?

Almost certainly because you printed to PDF rather than exporting. Word's Save As or Export to PDF preserves link annotations; "Microsoft Print to PDF" and the macOS print dialog's Save as PDF do not, because a print pipeline has no concept of them. The file looks identical and nothing is clickable. Re-export from the source application instead.

Can I add an image to a PDF on a Mac?

Yes, with Preview's markup toolbar, which works entirely locally and needs no additional software. RaptorPDF in Safari is the other no-upload option, and LibreOffice Draw works if you also need to change text on the page.

What image formats can I add to a PDF?

PNG and JPEG are universally supported and cover every real need: PNG for logos, flat colour and transparency, JPEG for photographs. Desktop editors often also accept TIFF, BMP and GIF. In RaptorPDF, stick to PNG and JPEG, because a WebP upload can be silently dropped from the output file.

Does adding an image make the PDF much bigger?

It adds roughly the size of the image file, because the image is embedded at its own pixel dimensions no matter how small a box you draw it into. That is why resizing the image beforehand matters: a two inch wide logo only needs about 600 pixels at 300 dpi. Note also that RaptorPDF's Image to PDF tool re-encodes images as PNG, which is lossless but makes a document built from photographs considerably larger than the original JPEGs.

Related Resources