# Add QR Codes to PDF

Need every page of a delivery batch to link back to its record, or each form to carry a scannable reference? Write the QR content once as a template and it is filled in per page and per file. The codes are vector shapes, so they print sharply at any size.

- Page: https://hexflowtools.com/pdf/qr-stamp
- Section: [PDF](https://hexflowtools.com/pdf)
- Revised: 2026-11-25
- Cost: $0; works without an account; output carries no watermark
- Data handling: the visitor's own browser opens and processes each file; HexFlow servers never receive it

## Step by step

1. Add one PDF or several.
2. Type “What the code says (template)”, for example a link that ends in {id}-{page}.
3. If you used {id}, list the IDs one line per file, in the same order as the file list. A blank line falls back to the file name.
4. Pick the pages, one of nine positions, the size in millimeters, error correction and an optional caption, then click “Add QR codes”.

## Common questions

### Which placeholders can the template use?

{page}, {total}, {filename}, {date}, {id} for the ID you list for each file, and {n} for the file’s place in the list. Write {page:3} to get 001, 002 and so on.

### How much blank space does the code need?

The quiet zone, counted in modules, is the empty border scanners rely on. Keep it at 2 or more, and use 4 when the page behind the code is busy. Turning on “Solid fill behind the code” helps too.

### Which error correction level should I choose?

L makes the smallest pattern; H, at 30%, still scans when part of the code is smudged or covered, but packs the squares more tightly. M or Q is a sensible middle.

### Is there a limit on content length?

Yes. One QR code holds roughly 2,900 bytes. Short links and IDs scan faster and more reliably anyway.
