All resources

What are merge tags?

Article · 4 min read

A merge tag is a placeholder in an email, such as {{firstName}}, that your sending tool replaces with each contact's own details when the message goes out. Write one email, and 500 people each see their own name, company and job title.

Merge tags are also called personalization tags, variables, merge fields or tokens. The values come from the columns of the contact list you import.

How a merge tag works

One line, three contacts

You write
Hi {{firstName}}, quick question about {{companyName}}.
Dana at Harborgrid gets
Hi Dana, quick question about Harborgrid.
Luis at Quillstack gets
Hi Luis, quick question about Quillstack.
Mei at Brightpath gets
Hi Mei, quick question about Brightpath.

The tool reads the column with the matching name for each row. If the name doesn't match, the reader sees the raw tag, so a broken tag is the most visible mistake in cold email.

Merge tag syntax in common tools

ToolStyleFirst name example
InstantlyDouble curly braces, camelCase{{firstName}}
lemlistDouble curly braces, camelCase, no spaces inside{{firstName}}
SmartleadDouble curly braces, snake_case{{first_name}}
MailchimpAsterisk and pipe*|FNAME|*
HubSpotPersonalization tokens{{ contact.firstname }}

Tip: Insert tags from your tool's variable menu rather than typing them. Names are often case-sensitive, so {{firstname}} and {{firstName}} can be different fields.

From CSV columns to merge tags

When you import a list, the sending tool maps each column to a field. Standard columns map to built-in tags. Any other column becomes a custom variable named after its header.

ContactYard CSV columnMaps toUse it in the email for
First name{{firstName}}The greeting
Last name{{lastName}}Rarely needed in cold email
Company{{companyName}}Subject line and first line
Job titleA job title variableNaming their role or team
WebsiteA website variableLinks in a custom first line
IndustryA custom variable"Most {{industry}} teams..."
Employee countA custom variableChoosing which version of the email they get
EmailThe send addressNever in the body

The full column set a send-ready file needs is in send-ready list columns.

Six contacts ticked and the Export 6 contacts button highlighted

A cold email built with merge tags

Cold email with merge tags (Instantly or lemlist style)

Subject: {{companyName}} and month-end close Hi {{firstName}}, {{firstLine}} Most finance teams at companies your size spend the first week of every month chasing invoices. Brightpath cuts that to two days. Worth a look for {{companyName}}, or not a priority? Jo

{{firstLine}} is a custom column you add to the CSV before import, one sentence per contact. Personalize cold emails with AI covers writing it at volume. For full templates, see cold email templates.

Clean the data before it fills a tag

A merge tag prints exactly what is in the cell. Fix the file, not the email.

Problem in the cellWhat the reader seesFix
Empty first name"Hi ,"Remove the row, or set a fallback word like "there" in your tool
ALL CAPS name"Hi DANA,"Convert to proper case with =PROPER(A2)
Legal suffix"about Northwind Logistics LLC"Strip LLC, Inc., Ltd and GmbH
Long job title"as VP, Global Supply Chain & Procurement Ops"Write the role group yourself per segment
Tag spelled wrong"Hi {{firstname}},"Insert from the variable menu and preview

Fallback syntax differs by tool, so test it in the preview before you launch.

Check before you send

  1. Preview five contacts, including one with the longest company name.
  2. Send a test to yourself and read it on a phone.
  3. Search the sent copy for "{{" to catch any tag that didn't fill.
  4. Keep one email per segment. If a tag-filled line isn't true for every row, split the list.

Get a list where every tag fills

Merge tags are only as good as the file behind them. ContactYard exports First name, Last name, Job title, Email, Personal phone, Company, Website, LinkedIn URL, Country, Industry and Employee count, ready to import into Instantly, Smartlead, lemlist or a CRM.

Turn on Email required and every row has a verified work email. One credit covers the email, the mobile when available and the verification. Scale is about $3.30 per 1,000 contacts, against public list prices of $18 on Apollo and $75 on Lusha. Start free.

FAQ

What is a merge tag?
A placeholder in an email, like {{firstName}}, that the sending tool replaces with each recipient's own data from your contact list.
What is the difference between a merge tag and a merge field?
Usually none. Tools use merge tag, merge field, variable and personalization token for the same thing.
Why does my email show the merge tag instead of the name?
The tag name doesn't match a field, or the field is empty. Insert it from the variable menu and set a fallback.
Can I create custom merge tags?
Yes. Add a column to your CSV, such as firstLine or city, and most sending tools turn the header into a variable you can insert.