ID Card Template for Mail Merge
A professional ID card template designed for employee badges, student identification, event credentials, and membership cards. Whether you are issuing 50 new hire badges for a growing startup, producing 5,000 student IDs for a university, or printing 10,000 conference credentials for a trade show, this template handles bulk generation with pixel-perfect precision. Each card is personalized with the individual’s photo, name, ID number, department, and a unique QR code or barcode for verification.
When to Use This Template
This template is built for any scenario where you need to produce a large number of ID cards that share a consistent layout but contain unique personal data. Common use cases include:
- Employee ID badges — Generate company ID cards with photos, job titles, department names, and employee numbers for onboarding batches or annual reissues
- Student ID cards — Produce school or university identification cards with student photos, grade levels, student numbers, and academic year validity dates
- Event credentials — Create access badges for conferences, trade shows, and festivals with attendee-specific QR codes for entry verification
- Conference badges — Print personalized attendee badges with names, organizations, roles (speaker, VIP, staff), and scannable codes for session tracking
- Visitor passes — Issue temporary visitor badges with host name, visit date, access level, and an expiration time for security checkpoints
- Membership cards — Generate gym, club, or organization membership cards with member photos, membership IDs, and renewal dates
If you currently design ID cards one at a time in Photoshop or Canva and manually swap out names and photos, this template eliminates that repetitive work entirely.
Template Fields
| Field | Description | Example | Spreadsheet Column |
|---|---|---|---|
| Full Name | Cardholder’s display name | Maria Santos | full_name |
| Employee ID | Unique identifier number | EMP-2025-0472 | employee_id |
| Title or Role | Job title, role, or position | Senior Designer | title_or_role |
| Department | Team or organizational unit | Product Design | department |
| Organization | Company, school, or event name | Acme Corp | organization |
| Photo | Headshot or portrait image | maria_santos.png | photo |
| QR Code | Verification URL or encoded data | https://verify.acme.com/EMP-0472 | qr_code |
| Issue Date | Date the card was issued | January 15, 2025 | issue_date |
| Expiry Date | Date the card expires | January 15, 2026 | expiry_date |
| Barcode ID | Machine-readable ID code | EMP-2025-0472 | barcode_id |
Card Sizes
Choose the right dimensions for your use case. Set your PDF page size to match the target card before uploading to Mergram.
| Size | Dimensions | Orientation | Best For |
|---|---|---|---|
| CR80 Landscape | 3.375 × 2.125 in | Horizontal | Standard employee IDs, membership cards |
| CR80 Portrait | 2.125 × 3.375 in | Vertical | Student IDs, staff badges with photos |
| Event Badge | 4 × 3 in | Horizontal | Conference badges, trade show credentials |
| Badge Insert | 3 × 4 in | Vertical | Large event badges with lanyard slot |
| Custom | Any size | Any | Special formats like wallet cards or key tags |
Info
The output PDF dimensions match your original template exactly. Design your PDF at the correct card size before uploading — Mergram does not resize the page, it overlays dynamic fields onto your existing layout.
Field Mapping Guide
Connecting your spreadsheet data to the ID card template is straightforward. Follow these steps for the best results:
- Prepare your spreadsheet — Each row represents one ID card. Include columns for all ten fields:
full_name,employee_id,title_or_role,department,organization,photo,qr_code,issue_date,expiry_date, andbarcode_id. Leave optional columns blank for cards that do not need them. - Upload your ID card PDF — Design the card layout in Canva, Illustrator, or any design tool and export as PDF. The design should include all static elements: company logo, background graphics, decorative borders, and any fixed text like “EMPLOYEE ID” or “STUDENT IDENTIFICATION.”
- Place dynamic fields on the canvas — Drag each field from the sidebar onto the PDF at the exact position where the data should appear. Position the photo prominently in the top-left or top-center. Place the full name as the largest text element. Put the
employee_idandbarcode_idnear the bottom edge for easy scanning. - Choose the correct render type for each field — Use text for
full_name,title_or_role,department,organization,issue_date, andexpiry_date. Use the image type for thephotofield. Use the QR code type forqr_codeand the barcode type forbarcode_id. - Size the photo field carefully — Create a square or portrait bounding box for the photo. The image fills the width of the bounding box and maintains its aspect ratio, aligned to the top-left corner. For uniform-looking cards, crop all headshots to the same aspect ratio before uploading.
- Preview before merging — Generate previews with several different rows to verify that photos align correctly, QR codes are scannable, long names fit within the layout, and dates are formatted as expected.
Tip
For photo matching, name your image files to correspond to a spreadsheet column value (e.g., maria_santos.png for a row where photo contains maria_santos). Upload all photos to a media album — Mergram matches filenames case-insensitively, with or without the file extension.
Info
Image fields scale to cover the bounding box width with maintained aspect ratio, aligned to the top-left corner. For consistent card layouts, crop all photos to the same aspect ratio (such as 1:1 for square or 3:4 for portrait) before uploading. Supported formats: PNG and JPEG.
Customization Tips
The visual design of your ID cards is entirely controlled by the PDF template you upload. Mergram overlays dynamic data onto the PDF without altering the underlying design:
- Upload your logo — Embed your company, school, or event logo directly in the PDF template. Place it in the top-left or top-center for maximum visibility
- Custom fonts — Upload
.ttf,.otf, or.woff2fonts to match your brand guidelines. Apply them to thefull_name,organization, anddepartmentfields for a polished, professional look - Department-specific color coding — Design different colored borders, stripes, or background panels in the PDF for each department. Create separate templates or use conditional fields to switch colors based on the
departmentcolumn - QR codes for verification — Map a column with unique URLs (e.g.,
https://verify.company.com/EMP-0472) or encoded data (vCard, JSON payload) to the QR code field. Security staff scan the code to instantly verify the cardholder’s identity - Barcodes for legacy systems — If your organization uses barcode scanners for time tracking, door access, or cafeteria payments, add a barcode field mapped to
barcode_id. Code 128 is the most widely supported format - Dual-sided ID cards — Create a two-page PDF template: page 1 for the front (photo, name, QR code, logo) and page 2 for the back (policies, emergency contact, barcode, magnetic stripe area). Both pages are filled with the same row’s data automatically
Warning
Avoid placing text fields over busy background patterns or images — poor contrast makes the card difficult to read and scan. Use solid or semi-transparent backgrounds behind text areas for the best results.
Printing Tips
How you print your ID cards depends on the volume and durability requirements:
| Method | Best For | Equipment | Durability |
|---|---|---|---|
| PVC card printer | Corporate IDs, student cards | Zebra, Fargo, Evolis, Magicard | High — plastic card, 3–5 years |
| Perforated badge paper | Event badges, visitor passes | Regular color laser or inkjet | Low — paper, single use |
| Laminated paper | Membership cards, temporary IDs | Color printer + thermal laminator | Medium — 1–2 years |
| Pre-printed card stock | High-volume, pre-designed cards | ID card printer with overlay | High — protected print |
PVC card printers — For professional, long-lasting employee and student IDs, use a dedicated ID card printer. These printers accept CR80 PVC cards and apply full-color prints with an optional protective overlay layer. Export your merged PDFs and send them to the printer driver.
Badge paper — For events and conferences, print on perforated badge paper (such as Avery adhesive badges) with a regular color printer. Design your PDF to match the badge paper layout exactly — position, size, and spacing must align with the perforations.
Laminated cards — Print on heavy card stock (200–300 gsm) with a color printer, then laminate each card using a thermal laminator with 5 mil or 7 mil pouches. This approach is cost-effective for quantities under 200.
Tip
If your ID card printer requires a specific layout (e.g., one card per page in a certain position), design your PDF template at exactly that size. Mergram outputs the merged PDFs at the same dimensions as your template, so the files are ready to send straight to the printer.
Best Practices
- Standardize photo formats — Crop all headshots to the same aspect ratio and resolution before uploading. Consistent photos produce uniform, professional-looking cards across the entire batch
- Include human-readable ID alongside barcodes — Always display the
employee_idin plain text near the barcode or QR code. If a scanner fails, staff can manually verify the number - Use high-contrast QR codes — Place QR codes on a white or light background. Black QR codes on white provide the most reliable scan performance across all devices
- Test print before bulk runs — Generate 3–5 sample cards and print them before running the full batch. Verify photo clarity, text legibility, barcode scanning, and color accuracy at the actual print size
- Set expiry dates proactively — Include an
expiry_datefield and set it 1–2 years in the future. This encourages regular reissuance and lets you invalidate old cards during security audits - Use filename templates for organized output — Set a filename pattern like
id-[[full_name]]-[[employee_id]].pdfso the generated files are easy to sort, search, and distribute without manual renaming
Bulk Generation Workflow
- Design your ID card layout in Canva, Illustrator, or your preferred tool at the correct card size
- Prepare a spreadsheet with one row per person, including all personal details and photo filenames
- Upload headshot photos to a media album with filenames matching your spreadsheet’s
photocolumn - Place dynamic fields — name, photo, employee ID, QR code, barcode, dates
- Generate up to 100,000 ID cards in one batch job
- Download as individual PDFs or a combined file for batch printing
Get Started
Upload your ID card design and personnel data to Mergram. Place your fields, upload your photos to a media album, and generate your first batch of personalized ID cards in minutes.