# Pasting a HTML code directly into email

**URL:** <https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541>\
**Category:** Email Marketing Tool\
**Tags:** sales-email, marketing-email\
**Created:** [May 29, 2025, 10:18am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541 "2025-05-29T10:18:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![OGimli](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@OGimli](https://community.hubspot.com/u/OGimli)\
**Post date:** [May 29, 2025, 10:18am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/1 "2025-05-29T10:18:01Z")

</div>

![Screenshot 2025-05-29 at 17.15.45.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/7/679e1e4ae39e710a3a50c30cd6fc9138c5f01bde.png)

My company wants to use this feature where we send email directly from the Company page. We would like to paste HTML code directly into this file. We used to be able to do this with Close CRM. However, we are not sure how we can implement this here.

We can’t be using template, because the html code that we personally generate, already contains the data that we want to send to the users. Hence, we want to manually just copy/paste the html code and hopefully Hubspot will be able to format this for us. How do I do this though?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [May 29, 2025, 10:19am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/2 "2025-05-29T10:19:51Z")

</div>

Hi @OGimli,

As far as I know, HubSpot does not support inserting HTML. This is not possible.

Best regards!

---

<div class="post-metadata">

**Author:** ![OGimli](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@OGimli](https://community.hubspot.com/u/OGimli)\
**Post date:** [May 29, 2025, 10:21am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/3 "2025-05-29T10:21:53Z")

</div>

What’s the correct solution here then? Is there certain format I can paste directly or is there alternative way for me to be able to create a template and then paste the data?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [May 29, 2025, 10:23am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/4 "2025-05-29T10:23:52Z")

</div>

@OGimli have you tried copying and pasting the formatted text, not the underlying HTML?

---

<div class="post-metadata">

**Author:** ![OGimli](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@OGimli](https://community.hubspot.com/u/OGimli)\
**Post date:** [May 29, 2025, 10:31am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/5 "2025-05-29T10:31:06Z")

</div>

Yeap I did, doesn’t format the way I want it to, because there’s quite an extensive formatting, something like (how I want it to be):

 ![Screenshot 2025-05-29 at 17.30.04.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/8/38ebc8c930e8d5b985b7ea0db0bed784ddea76fe.png)

If I try to copy/paste it, it just returns the text without the styling (although some of it gets styled)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [May 29, 2025, 10:32am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/6 "2025-05-29T10:32:32Z")

</div>

@OGimli as far as I know, HubSpot does not support this in one-to-one emails. You can however always send the email from your email client (using the BCC address or HubSpot sales extension for Outlook or Chrome) and paste the HTML there?

---

<div class="post-metadata">

**Author:** ![Aakar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aakar/32/107785_2.png) [@Aakar](https://community.hubspot.com/u/Aakar)\
**Post date:** [May 30, 2025, 9:46am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/7 "2025-05-30T09:46:07Z")

</div>

@OGimli - I believe HubSpot doesn’t support it for sales 1:1 emails. If this is requried, you may want to use marketing emails instead (which might not be the preferred solution). Alternatively, you could simply copy and paste the email or design you have.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Wesimplifi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wesimplifi/32/26662_2.png) [@Wesimplifi](https://community.hubspot.com/u/Wesimplifi)\
**Post date:** [May 30, 2025, 9:54am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/8 "2025-05-30T09:54:17Z")

</div>

HubSpot doesn’t support pasting raw HTML directly into one-to-one emails. These emails use a basic rich text editor and are designed for simple, direct communication not fully coded messages.

The best way to achieve what you’re looking for is by using HubSpot’s Marketing Email tool.

Head to Marketing Emails, then select Custom HTML as the email type. Paste your complete HTML code directly there. From this screen, you can send a one-time email or use it as part of an automation workflow if needed.

---

<div class="post-metadata">

**Author:** ![Balaji\_Mavlers1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/balaji_mavlers1/32/59061_2.png) [@Balaji\_Mavlers1](https://community.hubspot.com/u/Balaji_Mavlers1)\
**Post date:** [May 30, 2025, 11:32am UTC](https://community.hubspot.com/t/pasting-a-html-code-directly-into-email/133541/9 "2025-05-30T11:32:47Z")

</div>

Hi @OGimli

You cannot paste raw HTML directly into emails from the Company page in HubSpot; it will simply display as plain text.

A simple workaround is:

1. Open the HTML file in a browser.
2. Copy the **formatted content** (what you _see_, not the code).
3. Paste it into the email box in HubSpot.

This retains basic styling features like bold text, tables, and colors, but does not support advanced layouts. For full HTML support, you can use **Marketing Emails \> Custom HTML**. Or, as @karstenkoehler mentioned, send from your regular email client (like Gmail or Outlook) and log it using the **HubSpot BCC address**.
