7 min read
Mail Merge Google Docs from Google Sheets: Step by Step
Mail merge Google Sheets rows into personalized Google Docs with Sheet2Doc. Match template fields, test one row, then generate letters, certificates and PDFs.
Create a personalized Google Doc for each spreadsheet row
To mail merge Google Sheets into Google Docs, put one record on each spreadsheet row and add matching placeholders to a Google Docs template. Open Sheet2Doc in Sheets, select the data tab and template, then generate a document for each row you want to process.
The layout stays consistent while values such as names, dates and amounts change. You can use the same workflow for personalized letters, certificates, notices, client summaries and other repeatable documents. Sheet2Doc can keep editable Google Docs, PDFs, or both.
1. Prepare one record per row in Google Sheets
Give each column a clear, unique header. Most spreadsheets use row 1 for headers and row 2 for the first record. A letter batch could use Name, Email, Reference and Appointment Date.
For a fictional example, one row might contain Jordan Lee, a test email address, reference JL-104 and an appointment date of November 12, 2026. Another row holds the next recipient’s details. Each row should contain everything needed for its own document.
Finish calculations and review dates, amounts and names before generating files. If you are preparing invoices, calculate totals in the spreadsheet and verify them there; the template merge places values into a document.
- Keep headers unique and use the exact same names in the template.
- Use one row per recipient or document record.
- Include a stable reference when names may repeat.
- Add an email column only if you plan to send the outputs.
- Keep a separate working copy for experiments with sample data.
2. Create the Google Docs mail-merge template
Create a Google Doc with the text and layout you want to reuse. Replace changing details with double-brace placeholders that match your sheet headers: {{Name}}, {{Reference}} and {{Appointment Date}}.
A simple letter could begin ‘Dear {{Name}},’ followed by ‘Your appointment is scheduled for {{Appointment Date}}. Your reference is {{Reference}}.’ Keep the surrounding wording fixed and use fields only where values change.
Use a native Google Doc as the template. If you start with a Word file, convert it to Google Docs first. Keep each placeholder together with consistent formatting, and test longer names and answers before committing to a detailed layout.
3. Open Sheet2Doc from your spreadsheet
Install Sheet2Doc, then open Extensions → Sheet2Doc → Open Sheet2Doc in the spreadsheet. Although the output is a Google Doc, you run this workflow from Google Sheets.
Choose the tab containing your merge records. Confirm Header row and First data row, then select your template using the file picker. The picker helps grant the add-on access to the chosen file. Click Load merge fields to review the placeholders found in the template.
If you change column names, use Refresh columns and check the fields again. A header named Student Name should match {{Student Name}}, not {{Name}}.
4. Choose Docs, PDFs or both
Choose Google Doc only when you want editable documents for review. Choose PDF only for files you expect to deliver as finished documents, or Doc and PDF when you need both versions.
Select an Output folder and a readable File name pattern. For example, Letter - {{Reference}} - {{Name}} makes files easier to identify than a repeated generic name. Keep email delivery off and Run mode set to Manual only for your first test.
5. Generate one selected row first
Select one data row in the spreadsheet and click Generate selected. Open the resulting file from the generated-link columns and inspect the actual document.
Confirm that each field used the intended value, the file name is correct and the document went to the chosen folder. Test a long name, a blank optional field and any unusual characters you expect. If a letter should fit on one page, verify that realistic answers do not push it onto a second page.
When you want email delivery, enable Email each generated file, choose the recipient email column and use a row containing your own address for the next test.
6. Generate the remaining documents and review statuses
After the sample looks correct, use Generate selected for a chosen group of rows or Generate pending for the pending records. Keep Skip rows already generated or emailed enabled for normal batches.
Use the status and generated-file URL columns to review the result. A file being generated and a file being emailed are separate outcomes. Check the relevant status before retrying an incomplete row, especially if email delivery is enabled.
Avoid clearing completed statuses just to repeat a batch. First identify which records need correction and whether another generated file or email is intended.
Fix common Google Docs mail-merge problems
If a placeholder remains in the output, check the template spelling and exact sheet header. If a value is blank, check the source cell and whether you chose the right data tab, header row and first data row.
If the template cannot be opened, choose the native Google Doc with the picker again. If dates, totals or page breaks look wrong, correct the source data or layout and test one row before processing more records.
Sheet2Doc’s free plan includes 25 generated documents per month. Review the current plan and remaining allowance before running a larger batch.
Frequently asked questions
Can I mail merge Google Sheets data into Google Docs?
Yes. Sheet2Doc uses spreadsheet rows and a Google Docs template with matching placeholders to generate a personalized document for each processed row.
Does Sheet2Doc run inside Google Docs?
You open Sheet2Doc from the Extensions menu in Google Sheets. The Google Doc is the reusable template and can also be an output format.
Can I create certificates or personalized letters in bulk?
Yes. Prepare one record per row, add matching placeholders to the template, test Generate selected on one row and then process the remaining records.
Can I generate editable Docs and PDF attachments together?
Yes. Choose Doc and PDF as the output format. Test the generated layout and any email delivery before running a batch.
Sheet2Doc
Put this workflow to work
Start from the product page for setup details, or install the add-on from the Google Workspace Marketplace.