Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› What is the difference between rendered text and…
Cyber Security

What is the difference between rendered text and raw email text?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated November 25, 2026 Domain: Cyber Security

Rendered text is what a mail client displays after parsing HTML, styles, images, and formatting. Raw email text is the underlying message content in headers, MIME parts, HTML, plain text, and encoded elements. Security tools compare both to spot concealed instructions, obfuscation, and phishing content that only appears in one view.

What makes rendered email different from the raw message?

Rendered text is the version a person sees after the mail client interprets HTML, CSS, images, and formatting. Raw email text is the underlying message as transmitted, including headers, MIME structure, plain text, HTML parts, and encoded content. The difference matters because attackers can hide instructions, links, or malicious structure in one view but not the other.

For security review, rendered text answers “what will the recipient likely perceive?”, while raw text answers “what was actually delivered?”. A message can look harmless when rendered yet contain phishing cues, tracking content, or contradictory text in the underlying body, so analysts often need both views to understand intent and manipulation.

Why do both views matter for phishing and message analysis?

Email abuse often depends on a mismatch between presentation and substance. A message may use visual tricks, broken markup, invisible text, nested links, or encoded elements to make the rendered view look legitimate while the raw source still reveals the true destination, sender data, or hidden language. That is why anti-phishing tools and human reviewers compare both representations.

Raw inspection is especially useful when the content contains HTML entities, base64-encoded parts, multiple MIME sections, or text that appears only in alternate bodies. Rendered inspection is still important because it shows how layout, branding, and button placement influence user trust. Good analysis treats them as complementary evidence, not competing versions of the same thing.

When the views disagree, the difference is often the clue. A safe-looking message that resolves to a suspicious link, or a benign rendered body that hides a different instruction in the source, is a common indicator that the sender is trying to manipulate either the user or the security stack.

How should analysts use rendered and raw text in practice?

Use the rendered view to understand user impact and the raw view to confirm technical truth. Start with the visible message, then inspect the source for link targets, MIME boundaries, sender metadata, and any content that does not survive normal rendering. If the two views diverge, treat that divergence as a review priority rather than a formatting quirk.

For investigations, preserve both views in the case record so another analyst can reproduce the same judgment. That is particularly important when the message contains obfuscated instructions, spoofed branding, or text that may disappear depending on the client used. Comparing the two views also helps distinguish accidental formatting problems from deliberate deception.

Security teams should tune triage to ask a simple question: does the message mean the same thing in both forms? If not, the inconsistency itself becomes a signal worth escalating, especially when the email claims urgency, requests authentication, or pushes a user toward an external action.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1204 — User ExecutionEmail deception often relies on users acting on what they see.
T1566 — PhishingRendered and raw email comparisons help expose phishing indicators hidden from the user.
Recommendation — Correlate suspicious email content with user-execution paths and investigate the lure behind the message. Inspect both views for spoofing, hidden links, and message manipulation tied to phishing.
NIST SP 800-53 Rev 5AU-6 — Audit Review, Analysis, and ReportingComparing rendered and raw views supports analyst review and evidentiary analysis of messages.
SI-4 — System MonitoringMessage analysis supports detection workflows that monitor for malicious or deceptive email content.
Recommendation — Review email evidence in both rendered and raw form before concluding on intent or authenticity. Feed raw-message anomalies into monitoring so concealed phishing patterns are easier to detect.
OWASP ASVSV16 — Security Logging and Error HandlingPreserving message views and source details supports reliable investigation and review.
Recommendation — Record both rendered and raw email evidence to support later security review and investigation.

Practitioner Guidance

What to verify: Check whether the visible text, link destinations, sender details, and MIME parts tell the same story. If the rendered view is benign but the source contains unusual encoding, hidden text, or mismatched URLs, treat that as a higher-confidence review case.

Common mistake: Do not rely on a screenshot or the rendered body alone. Visual trust cues can be manufactured, while the raw message may reveal the actual intent and mechanics of the email.

Practitioner takeaway: The safest interpretation comes from comparing perception with payload, because phishing often succeeds by making the user see one thing and the message actually contain another.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org