Home › PDF Tools › Mail Merge to PDF

Mail Merge to PDF

Create personalized letters, notices, receipts or invitations in bulk. Paste or upload your CSV or Excel list, write the template with {{Column}} placeholders, check each record in the live preview, and download one combined PDF or a ZIP with a separate, individually named PDF for every row.

Last updated:

1 Data

2 Template

Formatting: **bold**, *italic*, # Heading, start a line with ^ to center or > to right-align, a line with only --- for a page break. Blank line = new paragraph.

3 Preview

Record 1
Advertisement
Advertisement

How to use the Mail Merge to PDF

  1. Add your data: paste CSV text with a header row or upload a .csv or .xlsx file. The table shows the records that were found.
  2. Write the template and click the field chips to insert placeholders such as {{First Name}}. Use {{First Name|Customer}} to set a fallback for empty cells.
  3. Check the preview: step through the records with the arrows or click a row in the table.
  4. Set the layout: page size, font, margins, spacing and an optional logo.
  5. Choose the output and press Generate PDFs: one combined PDF for printing, or a ZIP of separate PDFs named with your file name pattern.

Template syntax

WriteResult
{{First Name}}The value of the First Name column for each record
{{First Name|Customer}}The value, or "Customer" when the cell is empty
{{date}}Today's date, e.g. October 24, 2026
{{row}}The record number (1, 2, 3 …), handy for reference numbers and file names
**bold**, *italic*bold, italic
# Subject lineA larger bold heading
^ text / > textA centered / right-aligned line
--- on its own linePage break
Single line break / blank lineNew line (as in an address block) / new paragraph

Preparing your data

  • Use one header row with short, clear column names (First Name, Street, City). These names are what you put inside the braces.
  • Keep one record per row. Values containing commas or line breaks must be wrapped in double quotes in CSV files; spreadsheet programs do this automatically when exporting.
  • Format amounts and dates in the sheet the way you want them printed, for example $1,180.00 or November 15. The merge inserts the text as it is.
  • Test with a range first: generate records 1 to 3, check the PDFs, then run the whole list.

Combined PDF or separate files?

A combined PDF is easiest for printing and posting: every record starts on a new page, so you can print the whole batch in one go. A ZIP of PDFs suits emailing or archiving, because each person's document is a separate file with a meaningful name such as letter-3-Tanaka.pdf.

Frequently asked questions

How do I mail merge into separate PDF files?

Choose ZIP of PDFs as the output and set a file name pattern such as letter-{{Last Name}}.pdf. Each record becomes its own PDF named from its columns, and all files are delivered in one ZIP download. Duplicate names get a number added.

Can I use an Excel spreadsheet?

Yes. Upload an .xlsx file and the first worksheet is used, with the first row as column names. Dates formatted as dates in Excel are written out like October 24, 2026. Older .xls files are not supported; save them as .xlsx or CSV first.

What happens when a cell is empty?

The placeholder becomes empty. If a whole line contains only placeholders that are all empty, such as an unused Company or Address 2 line, the line is removed so the address block has no gaps. You can also give a fallback with {{Column|text}}, for example Dear {{First Name|Customer}}.

Do the placeholders have to match the column names exactly?

They must have the same spelling, but upper and lower case and spaces around the name do not matter, so {{first name}} matches the column First Name. Placeholders that match no column are listed in a warning above the preview.

Can the letters be longer than one page?

Yes. Text flows onto as many pages as needed, and a line containing only --- forces a page break. In the combined PDF each record always starts on a new page.

Which characters are supported?

The PDFs use the standard Times, Helvetica and Courier fonts, which cover English and Western European languages, including accented letters, curly quotes, dashes, € and £. Characters outside that set, such as Cyrillic, Greek, Asian scripts and emoji, are replaced with a question mark and a note is shown.

Is my mailing list uploaded?

No. The data, template and generated PDFs stay in your browser. Nothing is sent to a server, which makes the tool suitable for customer and member lists.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Bulk Certificate GeneratorUse your own certificate design and a CSV of names to create a PDF certificate for every row.CSV to PDFTurn a CSV file into a clean, paginated PDF table with repeating headers.Text to PDF ConverterTurn plain text or a .txt file into a clean PDF with your font, size, margins and page size.Business Letter GeneratorWrite a properly formatted block or modified block business letter and download it as PDF or Word.Merge PDFCombine several PDF files into one document.Compress PDFReduce PDF file size while keeping it readable.Protect PDF with PasswordLock a PDF with a password and AES-256 encryption, and restrict printing, copying or editing.Unlock PDFRemove the password and print, copy or edit restrictions from a PDF you have the password for.Split PDFExtract pages or split a PDF into separate files.Delete PDF PagesRemove pages from a PDF using a visual thumbnail grid.Rotate PDFRotate one page or all pages of a PDF by 90, 180 or 270 degrees.Add Page Numbers to PDFNumber PDF pages with your choice of position, format and font.Watermark PDFStamp a text or logo watermark on PDF pages with custom opacity.Sign PDFDraw, type or upload a signature and place it on any PDF page, free and private.Fill PDF FormFill in PDF form fields online: text boxes, checkboxes, radio buttons and dropdowns.PDF Metadata EditorView and edit a PDF's title, author, subject, keywords and dates, or clear them all.Flatten PDFFlatten PDF form fields and annotations into the page so they can no longer be edited.Grayscale PDFConvert a color PDF to grayscale or pure black and white for printing, right in your browser.PDF ViewerOpen and read PDF files in your browser with zoom, search, thumbnails and fullscreen.PDF Word CounterCount words, characters and lines in a PDF, page by page, with top words and CSV export.Organize PDFReorder, rotate, delete and duplicate PDF pages with drag-and-drop thumbnails.Crop PDFTrim PDF margins by dragging a crop box on the page, for all pages or selected ones.Resize PDFChange PDF page size to A4, Letter, Legal, A3 or custom and scale content to fit.Redact PDFBlack out names, numbers and any text in a PDF for real: the hidden text is removed, not covered.PDF EditorAdd text, whiteout, shapes, images and drawings to any PDF page, then save a new PDF.Compare PDFCompare two PDF files and see added, removed and changed text side by side, page by page.Insert Pages into PDFInsert blank pages or pages from another PDF anywhere in your document, privately in your browser.PDF Page CounterCount the pages of many PDFs at once, with totals, page sizes and a CSV export.Add Header and Footer to PDFAdd header and footer text with page numbers, date and file name to every PDF page.Invert PDF ColorsTurn a PDF into dark mode: invert colors, keep hues or use a night sepia theme for easy reading.PDF N-UpPrint 2, 4, 6, 9 or 16 PDF pages per sheet with your own order, margins and borders.PDF Booklet MakerTurn a PDF into a print-ready folded booklet: pages imposed 2 per sheet in saddle-stitch order.Add Stamp to PDFStamp APPROVED, PAID, DRAFT or custom text with a date onto any PDF page.Remove Blank Pages from PDFFind and delete empty or near-blank pages in a PDF automatically.Add Bookmarks to PDFAdd, edit and nest PDF bookmarks (outline) or auto-generate them from headings, in your browser.Add Margins to PDFAdd white space margins or a binding gutter to PDF pages, enlarging pages or scaling to fit.Alternate Merge PDFInterleave two PDFs page by page, e.g. scanned fronts and backs, into one combined file.Bates Numbering PDFStamp sequential Bates numbers on one or many PDFs, numbered continuously across files.PDF to Speech ReaderListen to any PDF read aloud with your browser's voices, with speed control and highlighting.Remove Annotations from PDFStrip comments, highlights, sticky notes and drawings from a PDF, with counts per page.Repair PDFFix damaged or corrupted PDF files: rebuild the xref table and recover readable pages.Reverse PDF Page OrderFlip the page order of one or many PDFs in one click, with a thumbnail preview.Split PDF Pages in HalfCut each PDF page into two pages, left/right or top/bottom, ideal for scanned book spreads.Savings Tracker PrintableColor-in savings goal tracker: jar, grid or thermometer for any goal and amount per cell. Print PDF.Book Interior FormatterTurn a manuscript into a print-ready 6x9 (or any trim size) book PDF with gutters, headers and page numbers.Book Spine Width CalculatorSpine width and full cover size with bleed from page count, paper type and trim size.Check Register PrintablePrint a blank check register or fill one in online with an automatic running balance.Debt Payoff Tracker PrintableTurn your debts into a printable snowball or avalanche coloring tracker with a payoff date.Time Off Request FormMake a PTO request form with dates, leave type, hours and approval, as a fillable PDF.Change PDF Background ColorGive PDF pages a sepia, cream, pastel or custom background color behind the text.Create Fillable PDF FormTurn any PDF into a fillable form: add text fields, checkboxes, radio buttons and dropdowns.Extract Highlights from PDFPull highlighted text and comments out of a PDF with page numbers; export to Markdown, TXT or CSV.Extract Links from PDFList every hyperlink and URL in a PDF with page numbers; copy them or export as CSV.Extract PDF AttachmentsList the files embedded in a PDF and download them one by one or all as a ZIP.
See all 51 Edit & Organize PDF →