How to Insert clean HTML code into Outlook email

Easy Email Support Toll Free: +1(888) 986-4831

If you have downloaded Bells and Whistles, now you just need to open a new Outlook email, then go to the bells menu and select “Insert HTML” option and browse to select the HTML file that will be loaded in your email.

How to insert clean HTML code to Outlook-step-1

If you don’t want to use the Bells & Whistles add-in to insert HTML code, follow these simple steps to add your own HTML code to Outlook emails without having it altered by Outlook. Do not use a trial expired version of Office.

Follow these Method For Microsoft Outlook 2010 and 2013-

  1. Allow the Outlook Developer mode by right clicking on the Outlook ribbon (menus area) -> choose Customize Ribbon -> mark / enable Developer.

How to insert clean HTML code to Outlook-step-2

2. In the Developer tab, select “Macro Security” and enable “Notification for all macros”.

How to insert clean HTML code to Outlook-step-3

  1. You have to select some option like Visual Basic -> Tools -> References ->enable “Microsoft WORD 15.0 Object Library” (don’t confuse it with “Microsoft Office 15.0 Object Library”).

How to insert clean HTML code to Outlook-step-4

If you are using Office 2010, look for Word 14.0 (15.0 means Office 2013).

  1. In the Developer Macros-> Macros menu, type a name for the new macro then click on Create.

How to insert clean HTML code to Outlook-step-5

5. Copy & paste the following source code, between the Sub <-> End Sub lines.

6. Replace “e:\test.html” with the actual path to the desired HTML file that you want to insert to the Outlook email message body.

Make sure you use an absolute path to the HTML file (for example “C:\MyDocs\outlook-file.html” and not “MyDocs\outlook-file.html”).

  1. Save the macro. Just in case, restart Outlook to activate the changes.
  2. Create a new Outlook email, then go to the Developer select “Macros” and select the newly created macro. It will insert the non-altered HTML code to your Outlook email.

How to insert clean HTML code to Outlook-step-6

Watch This video to insert HTML on outlook

You May Also Like


  • ravi lodhi

    Wonderful explanation and good analysis

  • rahul singh

    Can you explain how to enter the “absolute path for the HTML file” when using the macro method?

  • William Brown

    How to download “bells and whistles” ?

  • Roman Miller

    How to coustmize ribbon..?

  • Joseph Russell

    What is a benefit of Clean HTML Code..

  • Phillips

    Hi, I have recently upgraded my Outlook 2013 to 2016 but unfortunately I cannot see the “Insert as Text” option when attaching html file why ?

  • Gaurav Singh

    How can I edit the HTML source code of an email in Outlook 2010 ?