Skip to main content

How to view source code of html email body in Outlook?

Author: Siluvia Last Modified: 2024-07-10

Viewing source code gives you an opportunity of knowing the underlying html and the other server code existing in an html email body. With the following tutorial, you will learn how to view source code of html email body in Outlook.

View source code of html email body in Outlook

In Outlook 2010 or later versions, you can view source code of html email body as follows.

1. Double click to open an html email message whose source code you need to view.

2. In the Message (HTML) window, please click Actions > Other Actions > View Source in the Message tab. See screenshot:
Tip: If you are using Outlook 2007, please click Other Actions > View Source.

After clicking View Source, a text document will be opened immediately with the source code of the html email body displaying inside.


1. This View Source function can only be applied to html email message, if your opened message is not html format, you can change its format by clicking Message > Actions > Edit Message to display the Format Text tab, under the Format Text tab, click HTML in Outlook 2010 or later versions

And if you are using Outlook 2007, please click Message > Other Actions > Edit Message to display the Options tab, and then click HTML under Options.

2. You can also view the source code of html email body by opening the message and put the cursor at the message body then right click, choose View Source from the right-clicking menu.

One-Click to View the Source Code of an HTML Message Header with a Cool Tool

While viewing the body of an HTML email in Outlook is straightforward, accessing the source code of the email header directly in Outlook typically requires additional steps. For a more efficient method, consider using Kutools for Outlook. This tool enhances Outlook’s functionality, providing a one-click feature that facilitates quick and easy access to the HTML source code of email headers.

Kutools for Outlook: Unlock over 100 essential and advanced features! Enjoy more than 70 features for free. Download and explore the free version today!

1. After downloading and installing Kutools for Outlook, navigate to the Kutools Plus tab and click Report > Message Header Analyzer.

2. In the Message Header Analyzer dialog that appears, switch to the Source Data tab. Then you will get the source data of message header of the selected HTML email.

Note: To apply the Message Header Analyzer utility in Kutools for Outlook, firstly, you should download and install Kutools for Outlook.

Demo: view the source code of an HTML message header

Discover the Kutools / Kutools Plus tab in this video, added by Kutools for Outlook. Now, most features, including AI functionalities, are free! Pro features come with a 30-day trial without limitations!

Best Office Productivity Tools

Breaking News: Kutools for Outlook Launches Free Version!

Experience the all-new Kutools for Outlook FREE version with 70+ incredible features, yours to use FOREVER! Click to download now!

🤖 Kutools AI : Instant pro emails with AI magic--one-click to genius replies, perfect tone, multilingual mastery. Transform emailing effortlessly! ...

📧 Email Automation: Auto Reply (Available for POP and IMAP)  /  Schedule Send Emails  /  Auto CC/BCC by Rules When Sending Email  /  Auto Forward (Advanced Rules)   /  Auto Add Greeting   /  Automatically Split Multi-Recipient Emails into Individual Messages ...

📨 Email Management: Recall Emails  /  Block Scam Emails by Subjects and Others  /  Delete Duplicate Emails  /  Advanced Search  /  Consolidate Folders ...

📁 Attachments ProBatch Save  /  Batch Detach  /  Batch Compress  /  Auto Save   /  Auto Detach  /  Auto Compress ...

🌟 Interface Magic: 😊More Pretty and Cool Emojis   /  Remind you when important emails come  /  Minimize Outlook Instead of Closing ...

👍 One-click Wonders: Reply All with Incoming Attachments  /   Anti-Phishing Emails  /  🕘Show Sender's Time Zone ...

👩🏼‍🤝‍👩🏻 Contacts & Calendar: Batch Add Contacts From Selected Emails  /  Split a Contact Group to Individual Groups  /  Remove Birthday Reminders ...

Instantly unlock Kutools for Outlook with a single click—permanently free. Don't wait, download now and boost your efficiency!

kutools for outlook features1 kutools for outlook features2



Comments (4)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I am confused. Can't find outlook to get the code. I don't remember my pass word. Everything keeps asking for one. Unable to reset my password. I cannot login. HELP PLEASE, SOMEBODY
This comment was minimized by the moderator on the site
How do I that
This comment was minimized by the moderator on the site
What? He literally explains every step
This comment was minimized by the moderator on the site
I would like to be able change to print code to make the grid on the print out from Outlook 2016
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations