Skip to content

How to Create Bulk ID Cards

Generate employee ID cards, student badges, and event credentials in bulk. Upload a badge template, add photos from a spreadsheet, and produce hundreds of personalized ID cards at once.

Generating Bulk ID Cards and Badges

Creating ID cards one at a time is slow and error-prone when you need badges for an entire company, a student body, or a conference with hundreds of attendees. With Mergram, you design a single card template, connect it to a spreadsheet of people, and generate every personalized ID card — complete with photos, names, titles, and QR codes — in one batch.

Common use cases include:

Prerequisites

To bulk-generate ID cards, you need:

Design your ID card first

Create your card layout in any design tool — Canva, Adobe Illustrator, Figma, or PowerPoint. Include all static elements (company logo, background, decorative borders, label text like “EMPLOYEE ID”) and leave blank areas where Mergram will place variable fields (photo, name, ID number, QR code). Export the final design as a PDF.


Preparing Your Employee Data

Create a spreadsheet with one row per person. Include all the variable fields you need on the card:

EmployeeNameEmployeeIDTitleDepartmentPhotoFileQRDataIssueDateExpiryDate
Alice ChenEMP-2025-001Software EngineerEngineeringalice-chenhttps://hr.example.com/EMP-2025-001Jan 15, 2025Jan 14, 2026
Bob MartinezEMP-2025-002Product DesignerDesignbob-martinezhttps://hr.example.com/EMP-2025-002Jan 15, 2025Jan 14, 2026
Carol JohnsonEMP-2025-003Marketing LeadMarketingcarol-johnsonhttps://hr.example.com/EMP-2025-003Jan 15, 2025Jan 14, 2026
David KimEMP-2025-004Data AnalystAnalyticsdavid-kimhttps://hr.example.com/EMP-2025-004Jan 15, 2025Jan 14, 2026
Eva RossiEMP-2025-005HR CoordinatorPeople Opseva-rossihttps://hr.example.com/EMP-2025-005Jan 15, 2025Jan 14, 2026

Use consistent ID formats

Choose a consistent format for employee or student IDs (e.g., EMP-YYYY-NNN or STU-NNNNN). This makes them easy to sort, search, and reference. Include the ID format in your card design as a static label or as part of the merge field.

ColumnPurposeExample Value
EmployeeNameFull name displayed on the cardAlice Chen
EmployeeIDUnique identifier for the badgeEMP-2025-001
TitleJob title or roleSoftware Engineer
DepartmentDepartment or team nameEngineering
PhotoFileFilename of the person’s photo (matches Media Album)alice-chen
QRDataURL or text encoded in the QR codehttps://hr.example.com/EMP-2025-001
IssueDateDate the card was issuedJan 15, 2025
ExpiryDateDate the card expiresJan 14, 2026
AccessLevelSecurity clearance or access tierLevel 3
BarcodeDataData for a barcode field (alternative to QR)4006381333931

Uploading Photos to Media Albums

Photos are the most important visual element on an ID card. Mergram’s Media Albums organize your images and link them to spreadsheet data.

Step 1: Create a Media Album

  1. Go to Assets → Media Albums
  2. Click Create Album and name it descriptively (e.g., “Employee ID Photos 2025”)
  3. The album is team-scoped — everyone on your team can access it

Step 2: Upload Photos

Upload all photos at once (PNG or JPEG, up to 10MB each). For best results:

PNG and JPEG only

Mergram supports PNG and JPEG image formats. If your photos are in HEIC, WebP, TIFF, or BMP, convert them to JPEG or PNG before uploading. PNG is preferred for photos with transparent backgrounds.

Step 3: Name Photos to Match Your Spreadsheet

Your photo filenames must match the values in the PhotoFile column of your spreadsheet:

Spreadsheet PhotoFile ValueUploaded FilenameMatch?
alice-chenalice-chen.jpg✅ Yes (stem fallback)
alice-chenalice-chen.png✅ Yes (stem fallback)
alice-chenAlice-Chen.JPG✅ Yes (case-insensitive)
alice-chenalice_chen.jpg❌ No (underscore vs hyphen)
alice-chenalice-chen-photo.jpg❌ No (different name)

Use employee IDs for filenames

The most reliable naming convention is to use employee IDs as filenames — EMP-2025-001.jpg matching EMP-2025-001 in the spreadsheet. Employee IDs are unique and never contain special characters that might cause matching issues.


Designing the ID Card Template

Card Sizes

Choose the right card size for your use case:

Card TypeDimensions (inches)Dimensions (mm)Use Case
CR80 (standard)3.375 × 2.12585.6 × 53.98Employee badges, student IDs, membership cards
CR793.303 × 2.05183.9 × 52.1Slightly smaller, fits tighter badge holders
Event badge (small)4 × 3101.6 × 76.2Conference badges with more room for info
Event badge (large)4 × 3.75101.6 × 95.25Full event credentials with schedule or QR code
Hanging badge3.5 × 5.2588.9 × 133.35Visible hanging badges for events and trade shows

Match your template size to your printer stock

If you plan to print on PVC cards, match the CR80 size exactly. For paper-based badges, you have more flexibility. Always design at the exact dimensions of your intended output — scaling a template after generation can distort photos and barcodes.

Template Layout Sections

A well-designed ID card includes these areas:

SectionContentField Type
Company logo / headerOrganization logo or nameStatic (part of PDF design)
Photo areaPerson’s headshotVariable (image field)
NameFull name of the personVariable (text field, large font)
Title / roleJob title, grade level, or roleVariable (text field, medium font)
DepartmentDepartment or teamVariable (text field, small font)
ID numberEmployee or student IDVariable (text field, monospace or bold)
QR codeVerification URL or employee linkVariable (QR code field)
Issue / expiry datesCard validity periodVariable (text field, small font)
BarcodeAlternative machine-readable codeVariable (barcode field)

Placing Fields on the Canvas

Upload your PDF template to the Mergram editor, then drag spreadsheet columns onto the canvas.

Text Fields

Drag each text column to the corresponding position on the card:

  1. EmployeeName — Prominent position, large font (16–24pt depending on card size)
  2. Title — Below the name, medium font (10–14pt)
  3. Department — Below the title, small font (8–12pt)
  4. EmployeeID — Bottom area or corner, bold or monospace font (10–12pt)
  5. IssueDate and ExpiryDate — Small font at the bottom (7–10pt)

Adding Dynamic Photos

To place the person’s photo on each card:

  1. Drag the PhotoFile column onto the canvas
  2. Set the render type to “Image” in the field properties toolbar
  3. Resize the bounding box to fit the photo area on your template — images scale to cover the bounding box width while maintaining aspect ratio
  4. Go to the Media tab in the editor sidebar and link your Media Album
  5. Preview to verify the photo renders correctly

Preview with real data

Always preview your ID card with real data before running the full merge. Check that photos fit the bounding box, names don’t overflow, and the QR code is large enough to scan. A single preview catches most layout issues.


Adding QR Codes

QR codes turn an ID card into a scannable credential. Common uses include:

QR Code ContentPurposeExample Value
Verification URLConfirm card authenticityhttps://verify.company.com/EMP-2025-001
Employee portal linkQuick access to internal profilehttps://hr.company.com/employee/EMP-2025-001
vCard dataAdd contact to phoneBEGIN:VCARD\nN:Chen;Alice\nEND:VCARD
Plain ID stringSimple lookup codeEMP-2025-001
Event check-in URLScan to mark attendancehttps://event.com/checkin/TKT-48291

Placing a QR Code Field

  1. Add a column to your spreadsheet with the QR code content (URLs, IDs, or text)
  2. Drag the column onto the canvas
  3. Set the render type to “QR Code” in the field properties toolbar
  4. Resize the bounding box — QR codes scale to cover the bounding box width while maintaining their square aspect ratio
  5. Position the field where you want it on the card (typically a bottom or back corner)

QR code minimum size

A QR code needs to be large enough to scan reliably. For standard CR80 cards, aim for at least 0.75 × 0.75 inches (19 × 19 mm). Larger QR codes scan faster and from greater distances. Always test by scanning a preview with your phone camera.

Adding Barcodes

If you prefer a linear barcode (e.g., for turnstile scanners or legacy systems), use the barcode field type:

  1. Add a BarcodeData column with numeric or alphanumeric codes
  2. Drag it onto the canvas and set render type to “Barcode”
  3. Adjust the bounding box width to control the barcode’s horizontal span
  4. Barcode height is controlled by the barcode height setting, not the bounding box height

Custom Fonts and Branding

Professional ID cards use consistent typography to reinforce your brand. Mergram supports custom font uploads for any text field.

Applying Custom Fonts

  1. Go to Assets → Fonts and upload your font files (.ttf, .otf, or .woff2)
  2. Select a text field on the canvas (e.g., EmployeeName)
  3. In the field properties toolbar, change the font to your uploaded font
  4. Repeat for other fields — use different weights for hierarchy (bold for names, regular for titles)

Use font weights for hierarchy

Pair a bold or semi-bold weight for the employee name with a regular or light weight for the title and department. This creates visual hierarchy without needing different font families. If your brand uses a specific typeface, upload the full family (regular, bold, italic) for maximum flexibility.

Common Font Choices for ID Cards

Font StyleBest ForExample
Sans-serif (clean)Modern corporate badgesInter, Helvetica, Roboto
Sans-serif (bold)Names that need to stand outMontserrat Bold, Open Sans Bold
MonospaceID numbers, codesJetBrains Mono, Fira Code
CondensedSpace-constrained cardsRoboto Condensed, Open Sans Condensed

Printing Tips

After generating your ID cards, choose the right printing method for your needs:

Printing MethodBest ForCostQuality
PVC card printerProfessional employee badgesHigh (dedicated printer)Excellent — durable plastic cards
Laser printer + card stockStudent IDs, event badgesLow–mediumGood — heavy paper or synthetic stock
Inkjet + perforated paperTemporary badges, visitor passesLowFair — disposable or short-term use
Professional print serviceLarge batches, premium finishMedium–highExcellent — offset or digital press

Printing Recommendations

  1. Use the Combined PDF output mode for batch printing — all cards in one multi-page file, sent to the printer in a single job
  2. Use Individual PDFs if you need to email each card to the respective employee
  3. Add cut marks in your template design if printing multiple cards per sheet on perforated paper
  4. Test on plain paper first — print one page on regular paper to verify alignment before using expensive card stock
  5. Choose the right badge holder — vertical for CR80 portrait, horizontal for landscape event badges

Multiple cards per sheet

If your printer uses standard letter or A4 paper, you can place multiple ID card designs on a single page in your design tool. For example, fit 8 CR80 cards (2 columns × 4 rows) on a single letter-sized sheet with cut marks between them. Each card area becomes its own merge region.


Best Practices for ID Card Generation

  1. Standardize your photo format — Crop all photos to the same aspect ratio and background color before uploading. Inconsistent photos make cards look unprofessional.

  2. Test with the longest name — Find the longest name in your spreadsheet and preview it on the card. If it overflows the text field, reduce the font size or widen the field.

  3. Include a verification method — QR codes linking to a verification page add security. Anyone can scan the code to confirm the badge is legitimate and still valid.

  4. Add an expiry date — ID cards with expiration dates are more secure and easier to manage. Set a standard validity period (1 year for employees, semester-end for students, event duration for conferences).

  5. Use high-contrast text — Ensure text color contrasts sharply with the card background. Dark text on a light card or white text on a dark card. Avoid placing text over busy patterns or photos.

  6. Keep a master spreadsheet — Maintain a single source of truth for all badge data. When someone joins, leaves, or changes role, update the spreadsheet and regenerate the batch.

Common Issues and Troubleshooting

Photos not appearing on cards: Verify your Media Album is linked to the template in the editor’s Media tab. Check that the PhotoFile column values match the uploaded filenames — stem matching is case-insensitive, but the base name must match exactly (no extra spaces or different punctuation).

Names overflow the field: Reduce the font size for the name field, or increase the field width. For very long names, consider using a smaller font weight or splitting into FirstName and LastName fields on separate lines.

QR codes won’t scan: Increase the QR code bounding box size — aim for at least 0.75 inches on a CR80 card. Also check that the QR data column contains valid, well-formed URLs or text strings.

Cards print at the wrong size: Ensure your PDF template dimensions match your intended card size exactly (in points or inches). Do not scale the PDF after generation — design at the correct size from the start.

Fonts not rendering correctly: Verify you’ve uploaded the correct font file and applied it to the specific field. If characters are missing (e.g., accented letters), the font may not cover the required Unicode range — switch to a broader-coverage font like Inter.

Get Started

Design your ID card template, prepare your employee or student spreadsheet, and upload both to the Mergram editor. Place your text, photo, and QR code fields, preview with real data, and generate your entire batch of ID cards in minutes.

Step-by-step guide

  1. 1

    Design ID Card Template

    Create a card layout at standard ID size (3.375 × 2.125 in). Include spaces for photo, name, title, department, and ID number. Export as PDF.

  2. 2

    Prepare Employee Data

    Create a spreadsheet with columns for name, title, department, employee ID, and photo filename. One row per person.

  3. 3

    Upload Photos

    Upload ID card photos to a Media Album. Match filenames to the photo column in your spreadsheet.

  4. 4

    Map Fields and Generate

    Upload template and data to Mergram. Place text, image, and QR code fields. Preview, then generate all ID cards.

Frequently asked questions

Can I include photos on each ID card?
Yes. Upload employee or student photos to a Media Album in Mergram. Add an image field on the canvas and map it to a spreadsheet column with the photo filename. Each ID card automatically pulls the correct photo.
Can I add QR codes for scanning?
Yes. Place a QR code field on the template and map it to a column containing URLs, employee IDs, or verification links. Each card gets a unique, scannable QR code.
What size should my ID card template be?
Standard ID card size is 3.375 × 2.125 inches (CR80), which is the same as a credit card. Create your PDF template at this size for standard badge holders. For event badges, you may want a larger format like 4 × 3 inches.
How do I print ID cards after generating them?
Download the generated PDFs and print on a color printer using PVC card stock, adhesive labels, or perforated badge paper. For professional results, use a dedicated ID card printer (e.g., Zebra, Fargo, Evolis).
Can I use custom fonts for employee names?
Yes. Upload .ttf, .otf, or .woff2 font files to Mergram and apply them to any text field. This ensures consistent branding across all ID cards.

Ready to try it yourself?

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

Related articles