Skip to content

Remove QR code from PDF: how we do it and what to check

Tested and updated by the DocBelt team · · rewritten from scratch with screenshots and numbers from our own test run

Old flyers and letters often carry a QR code that now points somewhere you don't want: an expired sign-up page, a personal booking, a tracking link. Our Remove QR from PDF tool finds the codes, lets you fix the boxes, and flattens those pages so the code is gone, not just covered with a white square.

Below is one real run on a two-page library flyer we made up for testing, with the screenshots from that run.

What we did

The flyer has a 53 mm sign-up code on page 1 with a small “Scan to book” caption under it, and a tiny 14 mm feedback code in the footer of page 2. We also put a checkered logo on page 1 to see if the detector would fall for it.

  1. Opened Remove QR from PDF and dropped the flyer in (2 pages, 12 KB).
  2. The tool marked 2 areas, one on each page. It left the checkered logo alone, which is what we wanted.
  3. Clicked both page thumbnails on the right before going on. Don't skip this. The small footer codes are the ones people miss.
  4. Pressed “Remove marked QR codes”, ticked the two boxes in the check dialog and downloaded.
  5. Rendered both pages of the download again and pointed a QR reader at them. Neither code decoded anymore.
DocBelt Remove QR from PDF with an automatic box around the QR code on page 1 of a library flyer
The automatic box on page 1. The checkered logo at the bottom right was correctly left alone.

The caption got cut in half

The automatic box hugs the code itself. On our first run that meant the “Scan to book” line under it was sliced through the middle: the top half went, the bottom half stayed. On a printed flyer that looks sloppy.

Fix: delete the box with the red × and drag a bigger one that takes the caption too. On the second run it came out clean. While you're there, read the line above the code. Ours still says “Register for a tour slot:” with nothing under it now, so you may want to change that text afterwards.

Two crops of the cleaned flyer: on the left the caption under the removed code is cut in half, on the right it is fully removed
Left: automatic box, caption cut in half. Right: our wider box, caption gone too.

The tiny footer code

On page 2 the box on screen sat a hair off the 14 mm code, and a thin edge of the code showed outside it. The downloaded page was clean anyway and the code didn't scan. So judge the downloaded file, not the on-screen overlay. Zoom in on it and try your phone camera on the old spot.

Small QR code in the footer of page 2 with the detection box drawn around it
The 14 mm footer code on page 2. Easy to miss if you only look at page 1.

Numbers from this test

Input2-page A4 flyer with real text, 12 KB
Codes found2 of 2 (53 mm and 14 mm), logo not flagged
Timeabout 5 seconds from opening to download (automated run)
Output2 pages, 205 KB
QR readable afterwardsno, on either page (checked with a decoder at 200 dpi)
Text selectable afterwardsno, because both pages had a code, so both were flattened

That last row is the price. Flattening turns an affected page into an image, so its text can't be selected or searched any more, and our file grew from 12 KB to 205 KB. Pages without a code stay as they were. If you need searchable text back, run the result through OCR.

The tool also strips metadata, attachments and scripts. The title we had set in our test file was gone from the output. Keep the original somewhere safe if you might need the working code again; you can't get it back from the cleaned copy.

The Check QR removal dialog showing both cleaned pages and two confirmation checkboxes before download
The check dialog before download. It says what was removed and asks you to confirm you may remove these codes.

Where it falls short

  • Detection can miss codes that are very small, rotated, low-contrast or partly covered. Look at every page yourself.
  • It looks for QR codes. Barcodes and other 2D codes like Data Matrix you box by hand.
  • Affected pages lose selectable text and the file gets bigger, as above.
  • Removing the code doesn't remove the link if the same address is also printed as text. Search the PDF for it before you send it on.
  • A white box on a coloured background shows. The tool fills with white, so on a dark band the patch is visible.

Open Remove QR from PDF