Sign a PDF With a Photo of Your Signature (No White Box)

Cover illustration: Sign a PDF With a Photo of Your Signature (No White Box)

Sign a sheet of plain white paper with a dark pen, photograph it in even daylight, crop the photo close to the signature, then upload it in Sign PDF with Remove white background ticked. In our test that gave a clean signature with a see-through background that sat on the form’s signature line without hiding it. The things that went wrong were all in the photo: a shadow, the desk around the paper, ruled paper and pencil.

This guide is about getting the photo right. For the general signing steps and what this kind of signature is (and is not), see How to Sign a PDF Without Printing or Scanning.

Step by step

  1. Sign on plain white paper (printer paper, not a notebook) with a black or dark blue ballpoint or gel pen. Sign a little larger than you normally would.
  2. Take the photo in even light, ideally near a window in daytime. Hold the phone straight above the paper and make sure your hand or phone does not cast a shadow on it.
  3. Crop in your phone’s photo editor so only the signature and a margin of blank paper are left. If the paper looks gray or yellow rather than white, raise the brightness or exposure until it looks white.
  4. Open Sign PDF, choose your PDF, then under the signature options pick Upload and choose the photo. Leave Remove white background ticked and press Use signature.
  5. Drag the signature onto the line and resize it with the corner handle. Press Apply & download.
  6. Open the downloaded PDF and zoom in to 200% on the signature to check for a box, gray edges or stray lines.
Sign PDF options with the Upload tab selected, a signature photo chosen and Remove white background ticked
The Upload tab with a cropped signature photo chosen. “Remove white background” is ticked by default.
Sign PDF page preview with an uploaded handwritten signature placed in the shaded Sign here field of a sample consent form
The uploaded signature placed in the shaded “Sign here” field. The blue shading and the line show through around the letters.

Why the paper has to look white

The background removal is a brightness cut-off, not object detection. Reading the tool’s code and checking the outputs, this is what it does:

  • Pixels lighter than about 200 on a 0–255 brightness scale (white or near-white paper) become fully transparent.
  • Pixels between about 150 and 200 become partly see-through. Light gray paper, shadows and pale strokes fall in this range.
  • Anything darker is kept as it is.
  • The image is then trimmed to the part that is still visible. A desk edge or a line that survives stops the trim, so the signature ends up with extra space around it.

So the tool cannot tell paper from desk or shadow. It only removes what is close to white, which is why the photo matters more than any setting.

What we got with six photos

We signed the same one-page sample form with each photo, with the signature in the same default position and size.

PhotoSignature image in the PDFResultSigned PDF
A. Cropped close, daylight832 × 208 px, trimmedClean: only the ink, the form shows through101 KB
A with “Remove white background” off1412 × 479 pxAn off-white box covered the line and part of the label514 KB
B. Whole sheet on a wooden desk1412 × 1062 pxThe paper vanished but the desk stayed and covered the form; the signature was tiny817 KB
C. Cropped, phone shadow on the left1412 × 479 pxA gray patch fading to white across the field705 KB
D. Photo C after brightening832 × 207 px, trimmedClean again105 KB
E. Ruled notebook paper1412 × 479 pxBlue lines disappeared; the red margin line stayed as a thin gray line, and the untrimmed image made the signature smaller124 KB
F. Soft pencil830 × 206 px, trimmedPale and see-through: the darkest strokes were only about 68% opaque71 KB

The form itself was 1.9 KB. A clean, tightly cropped signature added about 100 KB. Photos the tool could not clean up added up to 815 KB, which matters if the signed PDF has to fit an upload limit.

Comparison of three signature photos and the signed PDF for each: clean result, a paper-colored box with background removal off, and a gray shadow patch
Left: the photo we uploaded. Right: the signature area of the downloaded PDF, rendered at 150 DPI.
Comparison of four more signature photos and their signed results: desk left in the image, brightened photo clean, red margin line kept from ruled paper, pale pencil signature
A desk in the frame, a brightened photo, ruled paper and pencil, rendered from the downloaded PDFs.

Fixes for common problems

  • A white or beige box around the signature: make a new signature with Remove white background ticked.
  • A gray patch or dark corner: retake the photo in better light, or brighten it in your phone’s editor until the paper looks white. In our test, brightening the shadowed photo was enough.
  • The desk, table or paper edge appears: crop the photo so only paper is left around the signature.
  • Faint lines through the signature: sign on blank paper. Light blue rules disappeared in our test, but darker or colored lines (like a red margin) stay.
  • The signature looks pale: sign again with a dark pen. Pencil and light gel ink come out see-through.
  • The signature looks small inside its frame: something besides the ink survived (a line, a smudge, a shadow), so the image was not trimmed. Crop tighter or clean the photo.
  • The form asks for a separate signature image (for example a JPG under 20 KB) instead of a signed PDF: that is a different job; see Resize an Image in KB Before Uploading.

Before you reuse your signature

  • Remember on this device saves the cleaned signature image in this browser’s local storage so it is ready next time. Leave it unticked on a shared or work computer.
  • Treat the original photo like any other sensitive document. Delete it from shared albums or chats once you have what you need.
  • The result is a picture of your signature on the page, not a certified digital signature. If the PDF also has fillable fields, flatten it after signing so the values cannot be changed under your signature.

Limitations we found

  • The background cut-off is fixed. There is no slider to adjust it, so a gray photo has to be fixed before you upload it.
  • Sign PDF does not crop or rotate the uploaded photo. Do that in your phone’s editor first.
  • The ink color choices apply only to drawn and typed signatures, not uploaded ones.
  • Wide photos are scaled down to 1400 pixels across before processing. That was plenty for a signature, but it is another reason to crop close.
  • We tested JPG photos in desktop Chrome. We did not test a real phone camera or other image formats.

How we tested this

Date24 October 2026
EnvironmentGoogle Chrome 156 (headless) on Linux x86_64, desktop viewport 1280×900, the live tool at pdfroo.com/sign-pdf
Test filesA fictional one-page consent form (1.9 KB) with a shaded “Sign here” field, and six simulated phone photos of the fictional signature “Rina Example”, made by a script to reproduce common capture problems: five 2400 × 800 px crops (daylight, shadow, shadow brightened, ruled paper, pencil) and one 4032 × 3024 px whole-sheet photo on a desk. The daylight photo was used twice, with background removal on and off.
SettingsUpload tab, “Remove white background” on (off for one run), default position and size
ResultsSee the table above. Every output had 1 page and 1 embedded signature image with a transparency channel; the form text was unchanged.
TimingPreparing the signature took 0.12–0.26 s and saving the signed PDF 0.1–0.4 s
NetworkAfter the files were chosen, the only requests were GETs for PDFroo’s own scripts (the PDF viewer and tool code). No request went to another site and no request sent data, so neither the PDF nor the photo was uploaded.

We extracted the signature image from every downloaded PDF with pypdf, measured its size and transparency, rendered each page with pdftoppm and checked the text with pdftotext. See our tool testing methodology.

Check before you send

  • At 200% zoom there is no box, gray edge or stray line around the signature.
  • The signature sits on the right line and on the right page.
  • The signed file is within any size limit you were given.
  • “Remember on this device” is off if this is not your computer.

Tools mentioned in this guide

Keep reading

How to Sign a PDF Without Printing or Scanning (Free)

Sign a PDF in your browser: draw, type or upload a signature and place it on the page. Tested, with what this kind of signature is and isn’t.

Resize an Image in KB Before Uploading (20 KB to 200 KB)

Fit a photo under 20, 50, 100 or 200 KB or to an exact pixel width. Tested with a 4 MP phone photo, PNG screenshots and a batch, with real sizes and pitfalls.

How to Remove Duplicate Pages From a PDF After Merging

Find pages that repeat after combining PDFs, delete the extra copies, and check the final page count. Tested with overlapping files and a re-scan.

How to Prepare a PDF for Long-Term Archiving

Prepare a PDF for long-term archiving by checking text, page order, metadata, forms, compression, file naming, backups, and PDF/A requirements.

How to Redact Sensitive Information From a PDF Safely

Learn why black boxes and cropping may not remove PDF data, then follow a safer workflow to redact, flatten, verify, and share sensitive files.

How to Make a PDF Easier to Read on a Phone

Make a PDF easier to read on a phone by fixing orientation, cropping wide margins, splitting long files, and preserving clear searchable text.