HTML to Text Email Converter That Checks Every Link
Paste your email’s HTML or open the file and get its plain-text version, written in your browser. Then the tool checks the text against the HTML: every link and merge field carried over, an unsubscribe link or field it recognises found again, no line longer than the mail standard allows. It checks a text version you already have, too. Free, and nothing is uploaded.
Your email HTML
The converter needs JavaScript.
Converted, Then Checked Against the HTML
Converting is the easy half. The text part goes to readers whose email app does not show HTML, and a missing link or a broken merge field there does not show up in an HTML preview.
So after every conversion, and after every edit you make to the result, the tool compares the text with the HTML. It runs the same check on a text version you paste yourself, such as the one already in your email’s Text tab.
What the check looks for
- Every link: each address of the HTML, whole, tracking parameters included
- Every merge field, written exactly as in the HTML, at least once
- Unsubscribe: a link or field the tool recognises by its wording, address or field name, found again in the text
- Line length: none over 998 bytes, lines over 78 characters counted
- Only in the text: addresses and fields the HTML does not have, such as an old link
Try a Real Email
Each one loads its HTML into the converter above.
- Example
Account Engagement Newsletter
Handlebars merge fields, hidden preview text, a layout table around a data table, a button for Outlook and one for every other app, and a tracking pixel.
- 6links carried over
- 8merge fields kept
- 0images loaded
- Your Own Text
An Old Text Version
Last month’s text against this month’s HTML: a stale link, a field in other capitals, no unsubscribe link.
- AMPscript
Marketing Cloud Renewal Notice
A code block, inline functions, a function as a link address and personalization strings.
- Merge Tags
Mailchimp Guide Delivery
A link whose text is its address, phone and email links, a quote and the unsubscribe tag.
- HubL
HubSpot Event Invite
An if and else between paragraphs, contact tokens and both unsubscribe links.
How Each Part Becomes Text
Every rule below is a choice you can see in the result, and most have a switch under Text options.
- Structure. Paragraphs and other blocks get one blank line between them, a line break stays a line break. Lists get “- ” or “1. ”, nested lists are indented, quotes get “> ” and a horizontal rule becomes a line of dashes.
- Headings. As written, in upper case or underlined. Upper case never touches a merge field or an address.
- Tables. Layout tables, which hold an email’s columns and spacing, disappear and their content is read in order. A table with header cells, or with short text in two or more cells of every row, is written row by row with a bar between cells; a two-column table without a header row is written as “label: value”.
- Links. The text, then the address in brackets, or numbered footnotes. The address is written exactly as in the HTML. A link whose text is its address is written once, mailto and tel links as the address or number, a linked image by its alt text.
- Images. Alt text in square brackets, or nothing. Images without alt text and 1 × 1 tracking pixels are left out and counted.
- Preview text. Hidden text before the email’s visible text that reads like preview text (plain text of up to 250 characters, no heading or image) is written as the first line by default, because inboxes show it to every reader. One link above it, such as View online, does not count as visible text. Its invisible filler is left out. Switch Preview text to leave it out.
- Other hidden text. Content hidden by an inline style is left out, because readers of the HTML never see it. A link, with all it holds, is left out only when a box around it has display:none (the declaration that wins: the last one, or one flagged as important), the hidden attribute without an inline display, visibility hidden with nothing inside set back to visible, or opacity 0. Text and images are also left out in a block, such as a div, with a zero height or max-height, overflow hidden and no padding, min-height or border; a link there is still written, as its address. A font size of 0 or 1 px hides only text, unless an inline size, a font tag with a size or a rule in the HTML’s style block sets the size back. Each piece left out is listed in the result, and one tick puts it back.
- Unsubscribe tag. Tick “Add {{Unsubscribe}} as the last line” and the tag
{{Unsubscribe}}ends the text on a line of its own, once. Account Engagement sends no email whose text version has neither{{Unsubscribe}}nor{{EmailPreferenceCenter}}, also when the visible link comes from dynamic content. Nothing else is added: an unsubscribe link in hidden content stays out, like all hidden content. - Code. The head, style blocks, scripts, comments, Outlook-only blocks and their VML are left out and counted. Content meant for every other email app stays in.
Merge Fields It Keeps Byte for Byte
Taken out before the HTML is read and put back after the text is laid out, so no merge field is wrapped, split, decoded or changed to upper case.
| Platform | Written as | Unsubscribe fields the check counts |
|---|---|---|
| Account Engagement (Pardot), Handlebars Merge Language | {{Recipient.FirstName}}, {{{Organization.Address}}} | {{Unsubscribe}}, {{EmailPreferenceCenter}} |
| Account Engagement, older variable tags | %%first_name%% | %%unsubscribe%%, %%email_preference_center%% |
| Marketing Cloud Engagement, personalization strings | %%firstname%%, %%emailaddr%% | %%unsub_center_url%%, %%profile_center_url%%, %%subscription_center_url%% |
| AMPscript | %%=v(@name)=%%, %%[ … ]%% | None of its own |
| Mailchimp, merge tags | *|FNAME|* | *|UNSUB|* |
| HubSpot, HubL | {{ contact.firstname }}, {% if … %} | {{ unsubscribe_link }}, {{ unsubscribe_link_all }}, {{ unsubscribe_link_single }}, {{ unsubscribe_section }} |
| Handlebars and Liquid | {{name}}, {{{name}}}, {{#if name}}, {% if %} | The names above, in two or three braces |
Read in each maker’s documentation on 25 November 2026. Account Engagement’s variable tags are not available in business units created after 12 June 2020. Any text between these delimiters is kept, whichever platform wrote it. The Marketing Cloud Next help pages we read do not show how its merge fields are written in the HTML, so the table leaves it out.
78 Characters and 998 Bytes
The internet message standard, RFC 5322, sets both numbers in section 2.1.1: “Each line of characters MUST be no more than 998 characters, and SHOULD be no more than 78 characters, excluding the CRLF.” The same section asks the apps that display email to handle long lines themselves. RFC 6532, which brought UTF-8 to email, counts the 998 in bytes in section 3.4: “This specification changes the former limit to 998 octets.” The 78 stays in characters.
That is why the converter writes no hard line breaks by default: a break at 78 stays where it is, so a narrower window breaks the line a second time. The check always reports lines over 998 bytes and counts those over 78 characters. Wrapping at 72, 78 or your own width is one switch away; it breaks only at spaces, so an address, a merge field and text without spaces, such as Japanese, stay whole.
The tool counts the 78 in characters (Unicode code points) and the 998 in bytes of UTF-8: a letter such as é takes 2 bytes, a Japanese character 3. Your platform encodes the text part before sending, and how it does that is up to it. Sources: RFC 5322, section 2.1.1 (opens in a new tab) and RFC 6532, section 3.4 (opens in a new tab), read 25 November 2026.
Save your seat
(https://www.example.com/clinic?utm_source=newsletter&utm_medium=email&utm_campaign=nov-notes)
Questions? Reply to this email or write
to {{Recipient.Owner.Name}}
({{Recipient.Owner.Email}}).Add the Text Version in Four Steps
In Account Engagement (Pardot) or Marketing Cloud Next.
- 1
Convert and Check
Paste the HTML here, fix what the check lists, then copy the text.
- 2
Account Engagement
In the email’s Building step, open the Text tab and paste it. Its Sync from HTML button pulls in the HTML’s content instead; you can paste that result into the check here.
- 3
Marketing Cloud Next
In the email editor, click the Plain Text View icon, then Edit, and paste. Salesforce’s help says an edited plain text version no longer follows changes to the email, so convert again after each change.
- 4
Send a Test
In Account Engagement, a test to one person arrives as two messages, HTML and text; a test list gets one message with both.
Where the Converter Stops
What it does not do, so you know where to look yourself.
- Classes from a style block. Inline styles and the hidden attribute decide what is left out. A rule in a style block only sets a font size or visibility back: content it hides is written, so a mobile copy can appear twice, and content it shows only on phones is listed as hidden. The verdict names each such rule by its class or selector, so you can delete the copy.
- Logic in merge fields. Conditions are not run: both branches of an if stay in the text, as they stand in the HTML, and your platform picks one at send time.
- Server-side scripts. A script tag with runat="server" is left out and flagged. If the text uses variables it sets, copy the block into the text part yourself.
- A picture of the email. The tool never displays your HTML, so nothing in it can load or run. Look at the HTML in your platform’s preview.
- Mobile-only content. Content that a media query shows only on phones, and an inline style hides everywhere else, is listed as hidden text. Tick Keep other hidden text if it belongs in the text.
- Unsubscribe links in other words. The check recognises an unsubscribe link by its wording, its address or the platform’s field. A link that only says “click here” is not recognised; the row then says so, and you check it by hand.
- Text coloured like its background. White text on a white cell is written like any other text.
- Text off-screen or nearly invisible. Text moved off-screen (position:absolute with left:-9999px, or text-indent:-9999px), almost transparent (opacity 0.01), scaled to nothing (transform:scale(0)), clipped by a zero width or a height of 1 px, or inside a closed details element is written like visible text. Delete it from the text if readers should not see it.
- Legal advice. The unsubscribe row says what is in the text, not what a law requires.
HTML to Text FAQ
Short answers to what people ask about the text version of an email.
Do I need a plain-text version if I send HTML?
Your platform sends it together with the HTML, and email apps that cannot show HTML show the text instead. Account Engagement’s help recommends a text version for prospects who cannot receive or render HTML, and Marketing Cloud Next has a plain text view for recipients whose email apps don’t render HTML.
How do I convert HTML to text?
Paste the HTML above or open the .html file. The text appears at once with the check under it; Convert and Copy also puts it on your clipboard, and you can copy it again or download it as a .txt file.
Is it free, and is there a limit?
Free, with no sign-up and no daily limit. Files can be up to 5 MB.
Is my HTML uploaded or stored?
No. It is read in your browser and never sent or stored. Nothing in it is loaded either: images, tracking pixels and style sheets are not fetched, so converting an email does not count as an open.
What happens to links and images?
Each link becomes its text followed by the address in brackets, or a numbered footnote if you prefer. The address is written exactly as in the HTML, with tracking parameters and merge fields. Images become their alt text in square brackets, or nothing; a linked image uses its alt text as the link text.
Why do & or show up in a text version?
Because the converter did not decode them. This one does: & becomes & and a no-break space. If you still see one, the HTML has it written twice, for example &.
Do plain-text emails need an unsubscribe link?
The tool does not judge legal requirements. It finds the links and fields in the HTML that look like unsubscribe links and checks that the same address or field is in the text. When it recognises none, it says so and asks you to check by hand. Account Engagement sends no email whose text version has neither {{Unsubscribe}} nor {{EmailPreferenceCenter}}: tick “Add {{Unsubscribe}} as the last line” and the tag is added.
What do I do with the text once it is converted?
Paste it into your platform’s text version: the Text tab of the email in Account Engagement, the Plain Text View in Marketing Cloud Next. Then send a test to yourself and open the text.
More Free Tools
We Make Salesforce Marketing Work for You
Talk to a certified consultant, not a salesperson, and leave the first call knowing your next step.