← Blog

InDesign Data Merge with a unique QR code on every page

2 December 2026

InDesign's Data Merge builds a page, or a sheet of labels, for every row of a spreadsheet. With a column of image files it can put a different QR code on each one, and the name, table or seat number from the same row beside it.

Every BulkQR download of PNG or SVG images includes that spreadsheet: _merge.csv, with one row per code and an @image column naming each code's file. Mail merge QR codes explains what's in it and how to get your other columns into it. This post is the InDesign part, using the series' made-up gala guest list.

A sheet of four Spring Gala 2026 name badges, each with a guest's name, their table and their own QR code, merged in InDesign from _merge.csv

Before you start

Step by step

  1. Open or create your document. Draw a graphics frame where the QR code goes, at the size you want it printed, and text frames for anything else (the name, the table).

  2. Open Window › Utilities › Data Merge.

  3. From the panel's menu, choose Select Data Source… and pick _merge.csv.

  4. Place the code. Select the graphics frame with the Selection tool and drag the image field from the panel onto it. That's the @image column: the panel drops the @ and shows a picture icon instead.

  5. Place the text. Click into a text frame where the name should go and click Name in the panel. Repeat for each field. Style the <<Name>> placeholder as you would any text.

    An InDesign badge layout with Name, Table and image placeholders, next to the Data Merge panel listing the columns of _merge.csv, where image has a picture icon

  6. Preview. Tick Preview at the bottom of the panel and step through a few records. Each should show a different code and its own name.

    The same badge with Preview ticked on record 3: Sofía García, Table 7, and her own QR code

  7. Merge. Choose Create Merged Document… from the panel menu, or Export To PDF to go straight to a PDF. Tick Alert When Images Are Missing, so a missing file can't slip through quietly.

Badges and label sheets

To fit several badges or labels on each page, choose Multiple Records under Records Per Document Page when you merge. The Multiple Record Layout tab sets the page margins, whether records run in rows or columns first, and the spacing between them. Tick Preview Multiple Record Layout to check the sheet before you commit.

InDesign's Create Merged Document dialog on the Multiple Record Layout tab: 10 mm margins, records arranged rows first, and Preview Multiple Record Layout ticked

With an A4 page and one badge laid out in its top-left corner, the gala list merges to four badges a sheet, like the sheet at the top of this post.

Two limits to know: the document you merge from must be a single page, or its fields on a single parent page, and every record takes the same space.

Content Placement Options

Content Placement Options, in the Data Merge panel menu, decides how each image sits in its frame:

InDesign's Content Placement Options dialog: Fitting set to Fit Images Proportionally, with Centre In Frame and Link Images ticked

Doesn't InDesign make QR codes itself?

It does. A column headed with a #, such as #QRCode, becomes a QR code when you merge, and links go in as URL:https://…. For plain codes from a short list, that's enough.

BulkQR's codes are worth the extra step when you want a logo in the middle, your brand's colours or a chosen error correction level. A dynamic code can even be pointed somewhere else after the badges are printed, though its merge file doesn't carry your other columns yet: its rows are in your list's order, so paste the names in alongside. You also get image files you can use on the web, in Word or in email, so every copy of a code is the same.

When it doesn't work

Before the print run, scan a few codes on the proof with an ordinary phone. What makes a good QR code covers the size and contrast that keep them scanning.

More in this series

Got a list and a layout? Generate your codes and merge them in one go.