Skip to content

Pay Stub Template

Professional pay stub template for mail merge. Generate personalized pay stubs for your entire team in bulk — earnings, deductions, taxes, and net pay calculated from your payroll spreadsheet.

Pay Stub Template for Mail Merge

A professional pay stub template designed for bulk generation with Mergram. Upload your pay stub PDF, connect your payroll spreadsheet, and generate personalized pay stubs for your entire team in a single batch. Each pay stub displays earnings, itemized deductions, tax withholdings, and net pay — all pulled directly from your data. Whether you run payroll weekly, biweekly, or monthly, this template removes the tedious work of producing individual pay stubs one at a time.

Pay stubs are an essential part of payroll compliance. Employees rely on them to verify compensation, understand deductions, and maintain personal financial records. Providing clear, accurate, and professionally formatted pay stubs builds trust and reduces payroll inquiries.

When to Use This Template

This pay stub template is ideal whenever you need to produce a high volume of pay stubs that share the same layout but contain different employee and payroll data. Common scenarios include:

If you currently export pay stubs one by one from your payroll system or manually fill in PDF templates, this workflow will save you significant time each pay cycle.

Template Fields

FieldDescriptionExampleSpreadsheet Column
Employee NameFull name of the employeeSarah Johnsonemployee_name
Employee IDCompany or payroll ID numberEMP-2025-0412employee_id
Pay Period StartFirst day of the pay periodJanuary 1, 2025pay_period_start
Pay Period EndLast day of the pay periodJanuary 15, 2025pay_period_end
Gross PayTotal earnings before deductions$3,200.00gross_pay
Federal TaxFederal income tax withheld$480.00federal_tax
State TaxState income tax withheld$160.00state_tax
Social SecuritySocial Security (OASDI) contribution$198.40social_security
MedicareMedicare tax withheld$46.40medicare
Health InsuranceEmployee health premium contribution$125.00health_insurance
Retirement 401(k)401(k) or retirement plan deduction$160.00retirement_401k
Other DeductionsGarnishments, union dues, or misc$50.00other_deductions
Net PayTake-home pay after all deductions$1,980.20net_pay
YTD GrossYear-to-date gross earnings$38,400.00ytd_gross
YTD NetYear-to-date net pay$23,762.40ytd_net
Check NumberPaycheck or direct deposit referenceCHK-10458check_number

Field Mapping Guide

Field mapping connects each column in your payroll spreadsheet to a specific position on the pay stub PDF. Here is how to set it up:

  1. Prepare your spreadsheet — Each row represents one employee’s pay stub for the current pay period. Column headers should match the field names above (e.g., employee_name, gross_pay, net_pay). Mergram’s fuzzy matching will suggest the closest field if your headers differ from the standard names.
  2. Place fields on the canvas — Drag each field from the sidebar onto the PDF at the exact position where the data should appear. Group related fields logically: employee information at the top, earnings in the upper section, deductions in the middle, and net pay prominently at the bottom.
  3. Choose render types — Most fields use plain text. Use the QR code type for employee portal links or direct deposit confirmation URLs. Use the barcode type for check numbers or employee IDs if your system scans pay stubs for record-keeping.
  4. Preview before merging — Click Preview to see a rendered pay stub using your first row of data. Verify that dollar amounts align properly, deduction labels match your template, and year-to-date totals are positioned correctly.

Tip

Use a consistent column naming convention in your spreadsheet. Names like employee_name, gross_pay, and net_pay make auto-detection more reliable and reduce manual mapping effort.

Customization Tips

The visual appearance of your pay stubs is entirely controlled by your PDF template. Mergram overlays dynamic data onto the PDF without altering the underlying design:

Info

If you import payroll data from accounting software, export it as CSV or Excel and map the columns directly. Most payroll systems (QuickBooks, Gusto, ADP, Paychex) support spreadsheet exports that align with these field names.

Best Practices

Warning

Pay stubs contain personally identifiable information (PII) and financial data. Always use password protection when emailing pay stubs, and verify that your email delivery list matches your spreadsheet rows before sending a batch.

Get Started

Upload any pay stub PDF and start merging at Mergram. Connect your payroll spreadsheet, place your fields, and generate your first batch of professional pay stubs in minutes.

Key features

Bulk Generation

Generate pay stubs for your entire team from a single spreadsheet in one batch

Password Protection

Encrypt each pay stub with a unique password for employee privacy

Email Delivery

Send pay stubs as encrypted PDF email attachments automatically

Custom Branding

Upload your company logo and use custom fonts for professional pay stubs

Frequently asked questions

Can I use my own pay stub design?
Yes! Upload any PDF pay stub layout. You can also import designs from Canva directly into Mergram for full creative control over the layout and branding.
Does Mergram calculate taxes and deductions?
Calculations should be done in your spreadsheet using formulas or imported from your payroll software. Mergram places the final computed values onto the PDF at the positions you define.
Can I password-protect pay stubs?
Yes, and it is highly recommended for pay stubs containing sensitive financial data. Use the password template feature with patterns like [[employee_id]] or [[ssn_last4]] to encrypt each pay stub with a unique password.
How do I include year-to-date totals?
Add YTD columns (YTD Gross, YTD Net, YTD Tax, etc.) to your spreadsheet. Place these as separate fields on the pay stub template. Your payroll software or spreadsheet formulas can calculate running totals.
Can I email pay stubs directly to employees?
Yes. Configure your SMTP settings, set up an email template with merge fields, and Mergram sends each pay stub as a PDF attachment to the corresponding employee email address.

Ready to try it yourself?

Start merging PDFs in minutes — free account required, no credit card needed.

Related articles