Guide

Word mail merge to separate PDF files

Updated

Word's mail merge does not make separate PDFs. You need a macro, an add in or another route.

Want separate PDFs made for you?

2 minutes

Want somebody to build the pipeline?

Tell us the volume and what has to come out the other end. Up to three document and data extraction software suppliers will contact you directly.

Next: where to reach you.

  • Free, no obligation
  • We never ask you to upload a document here
  • No marketing lists, ever
  • Free to use
  • No account needed
  • Steps from each maker's own guides
  • Suppliers only if you ask
  • Your details go to up to three document software suppliers, and no one else.
  • No spam, ever. Privacy notice

The most searched version of the question, with an unsatisfying answer: the feature is not hidden. Microsoft's mail merge simply does not describe one.

Question 1

What do you need out of it?

This is the decision that separates a five minute job from a scripting project, and it is worth being precise about before you start.

What Word gives you

Microsoft describes the mechanism plainly. You work on the main document in Word, inserting merge fields for the personalized content, with a data source such as a list, spreadsheet or database associated with it. The merge document generates a personalized version of itself for each name in the data source.

Finish and merge to a new document, and that is what you get: one file with one section per record. Everything after that is yours to arrange.

The three parts of the workaround

Merge to a new document rather than to the printer. Split that document into one file per section. Export each one to PDF with a useful name.

The middle step needs a macro or an add-in. There is no supported route without one, and Microsoft's guidance on mail merge does not contain one.

Naming is the whole value

A folder of files called Document1 to Document400 is no more useful than the single combined PDF you already had, and takes longer to produce.

So the macro has to build the filename from a field: a surname, an account number, an invoice reference. Decide which field before you start, and sanitise it, because real names and references contain characters your filesystem will refuse.

The Excel formatting trap

Word takes the underlying value from Excel, not what Excel displays. A cell showing £1,250.00 can arrive in the merged document as 1250 or as 1249.999999.

The fix is to format inside the merge field rather than in the spreadsheet, using a numeric or date picture switch on the field itself. This is the defect most likely to produce a thousand correct-looking documents with wrong numbers in them, and it is invisible until somebody reads one carefully.

Check the last record, not the first

Everybody tests the first output. Off-by-one errors in the data source range live at the end, and blank final records are common where a spreadsheet has a trailing row.

Open the first, the last and three from the middle. It takes a minute and it catches nearly everything that goes wrong at volume.

Sources

This site's own dataset, every figure quoted from its source and dated:

  • The Merge to PDF Tool Index carries 31 published figures read from 27 sources' own pages; the 29 published figures given without a breakdown run from 8.99 to 199 USD, read November 11, 2026.
  1. Microsoft, use mail merge for bulk email, letters, labels and envelopes
  2. Microsoft, mail merge using an Excel spreadsheet
  3. Google, Apps Script guide to Google Docs
  4. Section508.gov, creating accessible PDFs
  5. Section508.gov, laws and policies

Find the route before you open Word

What has to come out, and what you are working with. Two answers and the method is decided.