InDesign Data Merge for product catalogs

InDesign Data Merge works well when every record fills the same fixed layout: a product card, a label, a single line. It breaks down on long tables whose row count changes from one product family to the next. For those, place a linked spreadsheet, import XML or use a script.

Catalog page with fastener variants arranged in a dense table by thread size and material
Illustration Variant table built from spreadsheet rows

What Data Merge does

Data Merge combines a formatted InDesign document, called the target document, with a data source file. InDesign replaces the field placeholders in the target with values from each record and writes the result as a new document or a PDF. Adobe describes it in its Data Merge overview.

The data source is a text file in which each row is one record and each column is one field. Adobe lists comma-delimited (CSV), tab-delimited (TXT) and semicolon-delimited files. Each target document can use only one data source. The panel is under Window > Utilities > Data Merge.

For a catalog, the useful part is that the layout is built once. The part number, the name and the photo of each product sit in styled placeholders, and the merge repeats that design for every row. The limit is the same idea seen from the other side: one record fills one set of placeholders.

Where Data Merge works in a catalog

It fits any page element where every record has the same fields and takes the same space:

  • Product cards in a grid: photo, name, part number and two or three key values.
  • Line cards and short product lists with a fixed number of items per page.
  • Labels, tags and spec strips where each record is one block.
  • Catalogs of single-variant products, where one SKU is one row and one card.

For several records on one page, Adobe offers Records Per Document Page > Multiple Records, with a Multiple Record Layout tab for margins and for rows-first or columns-first order. This is how label sheets are made, and the same mechanism can fill a card grid. Adobe states that all placeholders must use the same size, and that data fields cannot appear on more than one parent page or on document pages in a multi-page document when you merge multiple records.

The data side matters as much as the layout. A sheet with one row per SKU, one column per field and units in their own columns is what Data Merge expects. The product data preparation guide and the catalog data template describe that structure.

Where Data Merge breaks

The trouble starts when the page is not a repeated block. The table below lists the common catalog patterns and a better route for each.

Catalog patternData MergeBetter route
Product cards, one SKU eachGood fitData Merge, multiple records per page
Family table with a different number of variants per familyPoor fitLinked spreadsheet per family, XML import or a script
Table that runs across several pagesPoor fitPlaced table with header rows, in threaded frames
Compound size such as 1/2" x 3/4" x 2 mWorks if kept as one text fieldSplit into separate fields only if the table needs to sort or align them
Variants with different attribute setsAwkwardOne sheet per product type, each mapped to its own table style
Part number index with page numbersNot applicableInDesign index, built after layout

Three limits explain most of the table. First, a table cell can hold a placeholder, but the table does not add rows as records are added; Adobe's merge works by repeating the layout for each record. Second, long lists that flow across pages depend on table and frame settings that a merge does not control. Third, a merged document is a snapshot: change a price in the sheet and you need to update or re-merge, and any manual fix in the output is not carried into the next merge.

Empty values also need attention. Data Merge has a Remove Blank Lines For Empty Fields option, but it removes only paragraphs that are completely empty. A cell that contains a single space stays.

What to use for long tables

There are four routes. Which one fits depends on how often the data changes and who maintains the template.

Place the spreadsheet as a table

InDesign can place an Excel or Word table with File > Place and Show Import Options. To keep a link to the source, turn on Create Links When Placing Text and Spreadsheet Files in Preferences > File Handling before you place. Adobe describes this in Create and import tables. This suits a catalog with one table per family, where each family is its own range or sheet. Apply table and cell styles after placing so the look stays consistent.

Import XML

File > Import XML adds structured elements to the Structure pane. In merge mode, InDesign compares the incoming elements with the structure already in the document and replaces the content of matching tagged frames. Append mode adds the content at the end of the structure instead. See Adobe's Import XML data page. XML suits data that already has a hierarchy, such as family, then variant, then attribute, and that comes out of a product information system.

Use a script

InDesign scripts can read a data file and build or fill pages, tables and frames, including a table with exactly as many rows as a family has variants. Adobe describes the Scripts panel in Automate workflows with scripts. A script is custom code, so it needs someone who can maintain it when the layout or the data columns change.

Use a plug-in that links to the data

Third-party plug-ins connect InDesign to a spreadsheet or database and refresh linked content. They are a product with a license, and the template is tied to the plug-in. Ask who owns the license and whether the files open without it.

A catalog usually mixes routes: Data Merge or a linked table for cards and short tables, a script or XML for the long family tables, and the built-in index for part numbers (see how to build a part number index). That mix is what our catalog from a spreadsheet service sets up.

Set up a merge step by step

  1. Save the sheet as CSV, TXT or semicolon-delimited text. If it contains accents or symbols, use UTF-8; Adobe says UTF-8 with or without a byte order mark is supported.
  2. For image columns, start the header with @, for example @Photo, and put the path of each file in the rows.
  3. Open the target document and choose Select Data Source from the Data Merge panel menu. Turn on Show Import Options if InDesign does not read the delimiter or encoding correctly.
  4. Check that the field names appear in the panel. Insert each field by selecting it in the panel. Adobe notes that typing a field name by hand does not create a valid field.
  5. Format the placeholders with character and paragraph styles. The formatting carries through to every merged record.
  6. Set image fitting and Remove Blank Lines For Empty Fields in Content Placement Options.
  7. Turn on Preview and step through records, including the longest name and the record with the most empty fields.
  8. Choose Create Merged Document. Turn on Generate Overset Text Report With Document Creation and Alert When Images Are Missing, and choose Single Record or Multiple Records per page.
  9. After the data changes, save the sheet and choose Update Data Source in the panel menu, then merge again.

Adobe documents each step in Add and edit data fields and Merge records.

Common mistakes and checks

  • Part numbers changed by Excel. Leading zeros disappear and codes such as 3-4 become dates. Format the column as text and reopen the saved CSV before merging.
  • Wrong delimiter or encoding. Garbled characters or one giant field means the import options need adjusting. Adobe says a comma or quotation mark inside a field needs the field in quotation marks.
  • Missing glyphs. Adobe advises using a font that contains the characters in your data. Check degree signs, Greek letters and special symbols.
  • Broken image paths. Paths are the usual cause of missing pictures. Copy a full path from the Links panel with Copy Info > Copy Full Path and edit it to match the pattern for your system. Alert When Images Are Missing flags the rest.
  • Overset text. The longest product name and the widest value decide whether the layout holds. Read the overset report after every merge.
  • Edits in the merged file. Fix data in the sheet and layout in the target. A re-merge replaces the output.
  • Placeholders in two places. Data fields cannot live on both a parent page and document pages at the same time.

Before sending pages to print, compare a sample of merged values with the source: first, middle and last record of each family, plus every record that has an empty field.

When to hand it to a specialist

Learning Data Merge is worth the time for a short, uniform product range. Hand the job over when the catalog has tables that grow and shrink by family, several attribute sets, a part number index with replacements, or an edition every year. The first template and the data mapping take the effort; later updates then run from the sheet.

If you want to see how your data would behave before deciding, the free catalog review checks the first 50 rows of your spreadsheet. For the cost of a build, see pricing; for later editions, see catalog updates. Distributor-size ranges are covered on the large catalog design page.

Sources

Adobe changes its help pages and menu names between releases. The steps above follow the pages as they read on December 2, 2026.

Frequently asked questions

Can InDesign Data Merge read an Excel file directly?

No. Adobe lists comma-delimited (CSV), tab-delimited (TXT) and semicolon-delimited text files as data sources. Save the sheet from Excel in one of those formats, as UTF-8 if it contains accents or symbols, and check that part numbers survived the export.

Can Data Merge build a specification table with a different number of rows per product family?

Not by itself. Data Merge replaces each placeholder with one value from one record and repeats the layout per record. A table that grows with the number of variants in a family is better handled by placing a linked spreadsheet, importing tagged XML or running a script.

Does Data Merge work for a price list or a parts list?

It can, if every row has the same fields and the layout is a fixed block, such as a card, a label or one line of text. Long running tables that flow across pages and frames fit it poorly.

What happens to hand edits when I merge again?

A new merge creates a new document, so edits made in the previous merged document are not carried over. Put corrections in the data source or the target document. Adobe also describes an Update Content in Data Fields command for documents merged with placeholders on parent pages.

How do I get images into a merged catalog?

Add a column whose header starts with @, such as @Photo, and put the file path of each image in the rows. If Excel rejects the @, type an apostrophe before it. Adobe says both absolute and relative paths are supported, and on macOS it recommends POSIX-style paths.

When should I hand a catalog from a spreadsheet to a specialist?

When the catalog has long tables, variants with different attribute sets, part number indexes or more than one edition a year. Setting up the template and the data mapping once is the expensive part, and a specialist can set up the first edition and the updates.