Add Image to PDF
Drop a PDF and a PNG or JPG, choose where the picture sits and how big it is, then download the same PDF with the image drawn on the pages you pick — all on your own device.
- Free
- No account
- Runs in your browser
- Nothing uploaded
Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy
What is Add Image to PDF?
This tool puts a picture onto pages of a PDF you already have and gives you a new file. It is for the everyday finishing job: stamping a company logo into a corner, signing off a document with a scanned signature image, dropping a "PAID" or "APPROVED" mark onto a form, or repeating a small badge across a report. You choose the image, the position, the size, the opacity and an optional rotation, and the picture is drawn only on the pages you include.
This is the opposite of JPG to PDF and PNG to PDF. Those tools build a brand-new PDF whose pages are the images — the picture becomes the page. Here the PDF comes first and stays: its pages, page count, page sizes, rotation, text, links, bookmarks and form fields are left exactly as they were, and the image is drawn on top of the chosen pages' content. So the question to ask is "what do I already have?" — if you have a document and want a logo on it, use this tool; if you have photos and want them as a PDF, use JPG to PDF or PNG to PDF.
Placement is in points (1 point = 1/72 inch) measured on the page as you see it. Nine fixed positions are offered — the four corners, the four edge midpoints and the centre — each with a margin that is the clearance from the page edge; 24 pt is about 8.5 mm. Custom lets you type an x and a y from the top-left of the visible page to the image's top-left corner. The size is either a share of the page width (a percentage) or an exact width in points, and the height always follows the image's own proportions. Opacity fades the picture (useful for a faint watermark-like mark that still leaves the text readable), and rotation turns it by any angle in whole degrees.
Two coordinate facts make the placement match what you see. The page is measured as displayed, so a page carrying a /Rotate value — common on scanned forms — is turned before anything is placed, and the image lands where the reader will look for it, not sideways. And PDF user space runs from the bottom-left with y increasing upwards, while the numbers this tool asks for run from the TOP-left with y increasing downwards, matching how every image editor and screenshot works; the conversion is done for you. A JPEG's EXIF orientation tag is honoured too, so a phone photo that viewers show upright is placed upright rather than on its side.
What "adding" means: the image is drawn into each chosen page's own content, so it is baked in — every reader and printer shows it, and it stays put. It is not an annotation you can click, select, drag or delete in a reader, and it is not a form field. Existing content is not touched: text, links, bookmarks, form fields and metadata are kept. Because the image is drawn on top, put it somewhere there is room — over a busy area it can cover text or a signature line, and at full opacity it hides whatever is beneath it.
Some cautions, stated plainly. An encrypted or password-protected PDF (including one locked only against editing) is refused with a clear message, because the library used here cannot decrypt it — open it in a PDF reader with its password, save or print an unprotected copy, and use that. Saving a PDF with pdf-lib rewrites the file, so a digital signature on the original stops validating: sign a document after you finish stamping it, or accept that any signed copy will no longer verify. Colour profiles are not managed: the image bytes are embedded as they are, but nothing is done to reconcile a CMYK or wide-gamut image with the document's colour space, so a colour-critical logo may print or display slightly differently than in a program that handles profiles. Very large PDFs and images are held in the tab's memory while they are edited. Everything runs in your browser: the two files are read, combined and saved inside the tab, and neither is ever uploaded. You can confirm in your browser's developer tools, on the Network tab, that no request carries your files.
1. The PDF's leading bytes are checked for the PDF signature, then pdf-lib opens it; a damaged, empty or encrypted file is refused with a specific message, and the page count and each page's displayed size are read. 2. The image's bytes are checked: it must really be a PNG or JPG (the magic bytes decide, not the file name), it must be within the size limit, and its pixel size and any EXIF orientation are read. 3. The placement settings are validated: a known position, a width between 1% and 100% of the page width (or 2 to 2000 pt exactly), an opacity above 0 and at most 100%, a margin between 0 and 200 pt, a rotation that is a number, and — for Custom — both an x and a y. 4. The pages to stamp are all pages or the list you typed (numbers, ranges like 2-6, and 8- for page 8 to the end), checked against the page count. Pages are processed in ascending order. 5. Each page is measured as displayed: its visible area is the /CropBox clipped to the /MediaBox, and its /Rotate is applied, so width and height swap on a turned page. The image's displayed size is the chosen width with the height scaled by the image's own proportions. 6. The image's rotation is turned into its axis-aligned bounding box — a 100 × 40 image at 90° needs a 40 × 100 slot — and that box is anchored at the chosen position with the margin, or placed at the custom x/y. The image itself is centred inside that box and turned by the rotation. A box that would run off the page is refused with a message naming the page rather than being silently clamped. 7. The embedded image is written once. On each chosen page an XObject is registered in the page's resources and a content-stream operation is appended: save the graphics state, apply the transformation (the displayed page, the rotation and the image's EXIF orientation composed into one matrix), draw the image, restore the state. When the opacity is below 100% a graphics state with the non-stroking alpha is registered per page. 8. The document is saved as <name>-with-image.pdf. Your original file is not changed.
| Add Image to PDF (this tool) | JPG to PDF / PNG to PDF | ||
|---|---|---|---|
| What you start with | An existing PDF, plus a logo, stamp or signature image | One or more images and nothing else | |
| What you get | The same PDF, with the image drawn on the pages you pick | A brand-new PDF whose pages are the images | |
| Page size and count | Unchanged — every page keeps its size and number | New pages sized from the images, or A4 / Letter | |
| Existing content and links | Text, links, bookmarks and forms are kept; the image is drawn on top | Nothing to keep — the output is built from the images | |
| Best for | Letterheads, stamps, signatures and badges on a finished document | Turning photos or screenshots into a PDF to send or print |
Worked examples
- report.pdf (3 pages), a 1 × 1 PNG placed bottom right at 20% of the page width, 100% opacity, 24 pt margin → report-with-image.pdf; the image is embedded once, drawn on all three pages, and the pages themselves are otherwise unchanged.
- A US Letter page (612 × 792 pt) and a 1200 × 600 image at 20% of the width: the image is 122.4 × 61.2 pt. Anchored bottom right with a 24 pt margin its top-left corner is at x = 612 − 122.4 − 24 = 465.6 and y = 792 − 61.2 − 24 = 706.8.
- The same image rotated 90° needs a 40 × 100 pt slot for a 100 × 40 pt picture — anchoring uses the rotated bounding box, so the turned image still sits inside the margin.
- Custom x/y on a 612 × 792 pt page: x = 500 pt, y = 700 pt puts a 100 × 50 pt image between x 500–600 and y 700–750, measured from the top-left of the displayed page.
- Pages "1, 3" on a three-page PDF stamps only pages 1 and 3; page 2 is left exactly as it was and the page count stays 3.
How to use Add Image to PDF
- Click "Choose a PDF" or drop a PDF onto the box. The page count and each page's size appear next to the file name.
- Click "Choose an image" or drop a PNG or JPG — a logo, a stamp or a signature. Its pixel size is shown.
- Choose the Position (one of the nine places, or Custom for an exact x/y), the Size (Percent of page width or Exact points), the opacity, an optional rotation, and the margin.
- Choose All pages or Selected pages (type a list such as 1-3, 5), then click "Add image to PDF".
- Check the result line and click "Download" to save <name>-with-image.pdf — your original file is not changed.
Common errors
- "Add an image first — a PNG or JPG to place on the pages." — the image box is empty. Choose a PNG or JPG before adding it to the PDF.
- "… is actually a JPG file, not PDF." — the file you loaded as the PDF is an image with a .pdf name. Use JPG to PDF or PNG to PDF to turn an image into a PDF first.
- "… is actually a SVG file, not PNG or JPG." — the picture is a vector or unsupported image. This tool embeds bitmap PNG or JPG; convert an SVG, GIF, WebP, HEIC or TIFF to PNG or JPG first.
- "… is 25.00 MB, over the 25.00 MB limit for an image. Everything runs in your browser's memory, so very large images can crash the tab." — the picture is too big to hold in memory; resize or compress it, or export a smaller copy.
- "Opacity must be more than 0 and at most 100% — 150% is outside that range." — set the opacity from just above 0 up to 100%.
- "Width must be between 1% and 100% of the page width — 150% is outside that range." — a percentage width must be 1 to 100; use Exact points for a fixed size.
- "Width must be between 2 and 2000 pt — 5000 pt is outside that range." — an exact width must be 2 to 2000 points (about 0.03 to 28 inches).
- "Margin must be between 0 and 200 pt — 250 pt is outside that range." — set the margin from 0 to 200 points (24 pt ≈ 8.5 mm).
- "Rotation must be a number of degrees — a blank value is not." — type a number of degrees for the rotation, or leave it at 0.
- "Page 99 does not exist — this PDF has 3 pages." — the page list has a number past the end of the document. Correct the list.
- "The image is 90 × 90 pt on page 1, which does not fit inside a 24 pt margin on a 100 × 100 pt page. Use a smaller width or margin, or a smaller rotation." — the picture is bigger than the page allows at that margin. Shrink the width or the margin, or turn the image less.
- "At x = 600 pt and y = 700 pt the image runs off page 1 (612 × 792 pt). Move it inside the page or use a smaller width." — the custom position pushes the image past a page edge. Move the x/y inwards or use a smaller width.
- "… is encrypted (password-protected or locked against editing), so its pages cannot be copied." — open the PDF in a reader with its password, save or print an unprotected copy, then stamp that.
FAQ
How do I add an image to a PDF?
Drop the PDF first, then a PNG or JPG. Choose the position, size, opacity and rotation, pick all pages or a range, and click "Add image to PDF". The updated file downloads as <name>-with-image.pdf; your original is not changed.
How is this different from JPG to PDF or PNG to PDF?
JPG to PDF and PNG to PDF build a brand-new PDF whose pages ARE the images. This tool starts from a PDF you already have and draws the image onto its existing pages, keeping the pages, their size, their number, and their text, links and forms. Use this one when a document already exists and needs a logo, stamp or signature on it.
Can I put the image on only some pages?
Yes. Choose Selected pages and type a list such as 1-3, 5, or 2- for everything except the first page. The pages you leave out are not touched. A common use is stamping only the first page of a letterhead.
Where exactly can I place the image?
Nine fixed positions — the four corners, the four edge midpoints and the centre — each with a margin from the page edge, or Custom for an exact x and y in points from the top-left of the page as you see it. The position is worked out per page, so a document that mixes page sizes still sits neatly inside each page.
Can I rotate the image or make it faded?
Yes. Rotation accepts any number of degrees, and the placement uses the rotated image's bounding box, so a turned picture still fits inside its margin. Opacity runs from just above 0 up to 100%; a low value lets the text underneath stay readable, like a light watermark.
Does the image become an annotation I can move or delete later?
No. It is drawn into the page's own content, so it is baked in — every reader and printer shows it, but it cannot be selected, dragged or deleted in a reader, and it is not a form field. That is also why it is best placed where nothing important is printed.
Will adding the image break my PDF?
The pages are not re-rendered or recompressed, and text, links, bookmarks, form fields and metadata are kept — the image is appended to each chosen page's content. One thing cannot survive any edit: a digital signature stops validating, because it covers the exact bytes of the original file. Stamp a document before signing it, or accept that the signature will no longer be valid.
Can I add an image to a password-protected or encrypted PDF?
No. An encrypted PDF, including one locked only against editing, is refused with a message, because the library used here cannot decrypt it. Open the file in a PDF reader with its password, save or print an unprotected copy, and stamp that.
Which image formats can I use?
PNG and JPG (JPEG). The file's real contents decide, not its name, so a renamed file is identified correctly. Vector and other formats — SVG, GIF, WebP, HEIC, TIFF — are not supported here; convert them to PNG or JPG first. An animated PNG is refused with a message asking for a still image.
Is my PDF or image uploaded anywhere?
No. Both files are read, combined and saved inside your browser tab. You can check the Network tab in your browser's developer tools and see that no request carries either file. The PDF is held in the tab's memory while it is edited, so files up to 200 MB are accepted.
Related tools
- PNG to PDF ConverterAdd PNG screenshots or graphics, set the page order and size, and download one PDF with every pixel kept — built in your browser, nothing uploaded.
- JPG to PDF ConverterAdd JPG or other images, put them in page order, choose a page size, and download one PDF — built on your own device, nothing uploaded.
- PDF EditorOpen a PDF, add text, images, white-out boxes, highlights, shapes, drawings or a signature on any page, then save the edited PDF — all inside your browser.
- Add Watermark to PDFDrop one PDF, type the watermark and pick its look, then download a copy with the mark drawn on the pages you choose — all on your own device, with the file never leaving it.
Prefer AllUtil on Google
One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.