MHTML
MHTML, an initialism of "MIME encapsulation of aggregate HTML documents", is a web archiving file format used to combine, in a single computer file, the HTML code and its companion resources (such as images) that are represented by external hyperlinks in the web page's HTML code. The content of an MHTML file is encoded using the same techniques that were first developed for HTML email messages, using the MIME content type multipart/related . MHTML files use an .mhtml or .mht filename extension. The first part of the file is an e-mail header. The second part is normally HTML code. Subsequent parts are additional resources identified by their original uniform resource locators (URLs) and encoded in Base64 binary-to-text encoding. MHTML was proposed as an open standard, then circulated in a revised edition in 1999 as RFC 2557. The .mhtml and .eml filename extensions are interchangeable: either filename extension can be changed from one to the other. An .eml message can be sent by e-mail, and it can be displayed by an email client. An email message can be saved using a .mhtml or .mht filename extension and then opened for display in a web browser or for editing other programs, including word processors and text editors.
MHTML, an initialism of "MIME encapsulation of aggregate HTML documents", is a web archiving file format used to combine, in a single computer file, the HTML code and its companion resources (such as images) that are represented by external hyperlinks in the web page's HTML code. The content of an MHTML file is encoded using the same techniques that were first developed for HTML email messages, using the MIME content type multipart/related . MHTML files use an .mhtml or .mht filename extension. The first part of the file is an e-mail header. The second part is normally HTML code. Subsequent parts are additional resources identified by their original uniform resource locators (URLs) and encoded in Base64 binary-to-text encoding. MHTML was proposed as an open standard, then circulated in a revised edition in 1999 as RFC 2557. The .mhtml and .eml filename extensions are interchangeable: either filename extension can be changed from one to the other. An .eml message can be sent by e-mail, and it can be displayed by an email client. An email message can be saved using a .mhtml or .mht filename extension and then opened for display in a web browser or for editing other programs, including word processors and text editors. From: Snapshot-Content-Location: https://en.wikipedia.org/wiki/Smartphone Subject: Smartphone - Wikipedia Date: Sat, 24 Sep 2022 00:34:32 -0000 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----MultipartBoundary--GsIBda0vjy2AKIAIliwl7JMwezXDRjDAsLje9khd5l----" Then, the page resources are contained sequentially, starting with the page's rendered HTML source code. Each resource has its own metadata header which specifies its MIME type and the original location. ------MultipartBoundary--GsIBda0vjy2AKIAIliwl7JMwezXDRjDAsLje9khd5l---- Content-Type: text/html Content-ID: Content-Transfer-Encoding: binary Content-Location: https://en.wikipedia.org/wiki/Smartphone The MHTML file ends with a boundary string that is not followed by any data. ==External links== MHTML standard explained RFC 2557 (1999)—MIME Encapsulation of Aggregate Documents, such as HTML (MHTML) RFC 2110 (1997, Obsolete)—MIME E-mail Encapsulation of Aggregate Documents, such as HTML (MHTML)
References
- Key Concepts of MHTML · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Key Concepts of MHTML." 2026-11-19. https://learn.microsoft.com/nb-no/previous-versions/office/developer/exchange-server-2010/aa563378(v=exchg.140). Accessed 24 November 2026.
Chicago "Key Concepts of MHTML." 2026-11-19. https://learn.microsoft.com/nb-no/previous-versions/office/developer/exchange-server-2010/aa563378(v=exchg.140).
APA encyclopegia.org. (2026). Key Concepts of MHTML. Retrieved November 24, 2026, from https://learn.microsoft.com/nb-no/previous-versions/office/developer/exchange-server-2010/aa563378(v=exchg.140)
- New Tricks of Macro Malware · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "New Tricks of Macro Malware." Mosuela, Lordian (July 10, 2015). 2026-11-19. https://web.archive.org/web/20240908105634/https://data443.com/blog/cyren/new-tricks-of-macro-malware/. Accessed 24 November 2026.
Chicago "New Tricks of Macro Malware." Mosuela, Lordian (July 10, 2015). 2026-11-19. https://web.archive.org/web/20240908105634/https://data443.com/blog/cyren/new-tricks-of-macro-malware/.
APA Mosuela, Lordian (July 10, 2015). (2026). New Tricks of Macro Malware. Retrieved November 24, 2026, from https://web.archive.org/web/20240908105634/https://data443.com/blog/cyren/new-tricks-of-macro-malware/
- Internet Explorer zero-day lets hackers steal files from Windows PCs · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Internet Explorer zero-day lets hackers steal files from Windows PCs." Cimpanu, Catalin (April 12, 2019). 2026-11-19. https://www.zdnet.com/article/internet-explorer-zero-day-lets-hackers-steal-files-from-windows-pcs/. Accessed 24 November 2026.
Chicago "Internet Explorer zero-day lets hackers steal files from Windows PCs." Cimpanu, Catalin (April 12, 2019). 2026-11-19. https://www.zdnet.com/article/internet-explorer-zero-day-lets-hackers-steal-files-from-windows-pcs/.
APA Cimpanu, Catalin (April 12, 2019). (2026). Internet Explorer zero-day lets hackers steal files from Windows PCs. Retrieved November 24, 2026, from https://www.zdnet.com/article/internet-explorer-zero-day-lets-hackers-steal-files-from-windows-pcs/
- data: URLs · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "data: URLs." 2026-11-19. https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs#browser_compatibility. Accessed 24 November 2026.
Chicago "data: URLs." 2026-11-19. https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs#browser_compatibility.
APA encyclopegia.org. (2026). data: URLs. Retrieved November 24, 2026, from https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs#browser_compatibility
- Save any webpage as a single file in Chrome or Firefox · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Save any webpage as a single file in Chrome or Firefox." Brinkmann, Martin (2 February 2026). 2026-11-19. https://www.ghacks.net/2018/09/03/save-any-webpage-as-a-single-file-in-chrome-or-firefox/. Accessed 24 November 2026.
Chicago "Save any webpage as a single file in Chrome or Firefox." Brinkmann, Martin (2 February 2026). 2026-11-19. https://www.ghacks.net/2018/09/03/save-any-webpage-as-a-single-file-in-chrome-or-firefox/.
APA Brinkmann, Martin (2 February 2026). (2026). Save any webpage as a single file in Chrome or Firefox. Retrieved November 24, 2026, from https://www.ghacks.net/2018/09/03/save-any-webpage-as-a-single-file-in-chrome-or-firefox/
- Mozilla Archive Format Add-on - File Format Overview · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Mozilla Archive Format Add-on - File Format Overview." 2026-11-19. https://www.amadzone.org/mozilla-archive-format/. Accessed 24 November 2026.
Chicago "Mozilla Archive Format Add-on - File Format Overview." 2026-11-19. https://www.amadzone.org/mozilla-archive-format/.
APA encyclopegia.org. (2026). Mozilla Archive Format Add-on - File Format Overview. Retrieved November 24, 2026, from https://www.amadzone.org/mozilla-archive-format/
- Firefox Addon: MAF - Mozilla Archive Format · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Firefox Addon: MAF - Mozilla Archive Format." 2026-11-19. https://web.archive.org/web/20171102005204/https://addons.mozilla.org/en-US/firefox/addon/mozilla-archive-format/. Accessed 24 November 2026.
Chicago "Firefox Addon: MAF - Mozilla Archive Format." 2026-11-19. https://web.archive.org/web/20171102005204/https://addons.mozilla.org/en-US/firefox/addon/mozilla-archive-format/.
APA encyclopegia.org. (2026). Firefox Addon: MAF - Mozilla Archive Format. Retrieved November 24, 2026, from https://web.archive.org/web/20171102005204/https://addons.mozilla.org/en-US/firefox/addon/mozilla-archive-format/
- Difference of HTML & MHTML · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Difference of HTML & MHTML." Holden, Amanda. 2026-11-19. https://web.archive.org/web/20171117122700/https://www.techwalla.com/articles/difference-of-html-mhtml. Accessed 24 November 2026.
Chicago "Difference of HTML & MHTML." Holden, Amanda. 2026-11-19. https://web.archive.org/web/20171117122700/https://www.techwalla.com/articles/difference-of-html-mhtml.
APA Holden, Amanda. (2026). Difference of HTML & MHTML. Retrieved November 24, 2026, from https://web.archive.org/web/20171117122700/https://www.techwalla.com/articles/difference-of-html-mhtml
- 2. The MHTML File Format - Hunchly Knowledge Base · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "2. The MHTML File Format - Hunchly Knowledge Base." "2. 2026-11-19. https://support.hunch.ly/article/51-1-the-mhtml-file-format. Accessed 24 November 2026.
Chicago "2. The MHTML File Format - Hunchly Knowledge Base." "2. 2026-11-19. https://support.hunch.ly/article/51-1-the-mhtml-file-format.
APA "2. (2026). 2. The MHTML File Format - Hunchly Knowledge Base. Retrieved November 24, 2026, from https://support.hunch.ly/article/51-1-the-mhtml-file-format
- Bug 40873 - Save as rfc 2557 MHTML; complete webpage in one file · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Bug 40873 - Save as rfc 2557 MHTML; complete webpage in one file." 2026-11-19. https://bugzilla.mozilla.org/show_bug.cgi?id=40873. Accessed 24 November 2026.
Chicago "Bug 40873 - Save as rfc 2557 MHTML; complete webpage in one file." 2026-11-19. https://bugzilla.mozilla.org/show_bug.cgi?id=40873.
APA encyclopegia.org. (2026). Bug 40873 - Save as rfc 2557 MHTML; complete webpage in one file. Retrieved November 24, 2026, from https://bugzilla.mozilla.org/show_bug.cgi?id=40873
- NEWS · master · GNOME / Epiphany · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "NEWS · master · GNOME / Epiphany." 2026-11-19. https://gitlab.gnome.org/GNOME/epiphany/blob/master/NEWS#L1061. Accessed 24 November 2026.
Chicago "NEWS · master · GNOME / Epiphany." 2026-11-19. https://gitlab.gnome.org/GNOME/epiphany/blob/master/NEWS#L1061.
APA encyclopegia.org. (2026). NEWS · master · GNOME / Epiphany. Retrieved November 24, 2026, from https://gitlab.gnome.org/GNOME/epiphany/blob/master/NEWS#L1061
- …and one more weekly! · retrieved 2009-05-14 · rev 1370033993
Cite this reference
MLA "…and one more weekly!." Santambrogio, Claudio (10 March 2006). 2009-05-14. https://web.archive.org/web/20100115001636/http://my.opera.com/desktopteam/blog/show.dml/172375. Accessed 24 November 2026.
Chicago "…and one more weekly!." Santambrogio, Claudio (10 March 2006). 2009-05-14. https://web.archive.org/web/20100115001636/http://my.opera.com/desktopteam/blog/show.dml/172375.
APA Santambrogio, Claudio (10 March 2006). (2009). …and one more weekly!. Retrieved November 24, 2026, from https://web.archive.org/web/20100115001636/http://my.opera.com/desktopteam/blog/show.dml/172375
- Vivaldi Update | Auto-Stacking Tabs · retrieved 2019-05-15 · rev 1370033993
Cite this reference
MLA "Vivaldi Update | Auto-Stacking Tabs." février 6, Publié sur; Tetzchner, 2019-Par Jon von (2019-02-06). 2019-05-15. https://vivaldi.com/fr/blog/auto-stacking-tabs/. Accessed 24 November 2026.
Chicago "Vivaldi Update | Auto-Stacking Tabs." février 6, Publié sur; Tetzchner, 2019-Par Jon von (2019-02-06). 2019-05-15. https://vivaldi.com/fr/blog/auto-stacking-tabs/.
APA février 6, Publié sur; Tetzchner, 2019-Par Jon von (2019-02-06). (2019). Vivaldi Update | Auto-Stacking Tabs. Retrieved November 24, 2026, from https://vivaldi.com/fr/blog/auto-stacking-tabs/
- Attackers Hide Malicious Macros in MHTML Documents · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Attackers Hide Malicious Macros in MHTML Documents." Kovacs, Eduard (May 11, 2015). 2026-11-19. https://www.securityweek.com/attackers-hide-malicious-macros-mhtml-documents. Accessed 24 November 2026.
Chicago "Attackers Hide Malicious Macros in MHTML Documents." Kovacs, Eduard (May 11, 2015). 2026-11-19. https://www.securityweek.com/attackers-hide-malicious-macros-mhtml-documents.
APA Kovacs, Eduard (May 11, 2015). (2026). Attackers Hide Malicious Macros in MHTML Documents. Retrieved November 24, 2026, from https://www.securityweek.com/attackers-hide-malicious-macros-mhtml-documents
- Pale Moon Add-ons - MozArchiver · retrieved 2026-11-19 · rev 1370033993
Cite this reference
MLA "Pale Moon Add-ons - MozArchiver." 2026-11-19. https://addons.palemoon.org/addon/mozarchiver/. Accessed 24 November 2026.
Chicago "Pale Moon Add-ons - MozArchiver." 2026-11-19. https://addons.palemoon.org/addon/mozarchiver/.
APA encyclopegia.org. (2026). Pale Moon Add-ons - MozArchiver. Retrieved November 24, 2026, from https://addons.palemoon.org/addon/mozarchiver/
Cite this article
MLA
"MHTML." encyclopegia.org, 2026, https://encyclopegia.org/wiki/mhtml. Accessed 24 November 2026.
Chicago
"MHTML." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/mhtml.
APA
encyclopegia.org. (2026). MHTML. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/mhtml
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON