Skip to content

Allow opening MHTML files in the integrated browser #333305

Description

VS Code offers Open in Integrated Browser for local .html and .htm files. MHTML is also the format Chromium creates when Save page as... is used with Webpage, single file (*.mhtml) selected. Chromium can render these archives, and they can already be opened by entering their local path in the integrated browser address bar, but the command is not offered for .mhtml or .mht files.

Steps to reproduce:

  1. Open a folder containing a local .mhtml or .mht file.
  2. Right-click the file in the Explorer, or open it as Plain Text and inspect the editor tab context menu and editor title actions.

Actual result:

Open in Integrated Browser is not available.

Expected result:

Open in Integrated Browser is available in the same locations as it is for HTML files and opens the MHTML archive in the integrated browser.

This should apply to both common MHTML file extensions: .mhtml and .mht.

Activity

  1. added this to the 1.137.0 milestone on Sep 4, 2026
  2. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Sep 4, 2026
  3. locked and limited conversation to collaborators on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

insiders-released

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions