Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>HTML Preview PlusNew to Visual Studio Code? Get it now.
HTML Preview Plus

HTML Preview Plus

sevenid

|
3 installs
| (0) | Free
Preview local HTML files in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HTML Preview

Preview local HTML files in VS Code.

Screenshot

Features

  • Preview button appears in the editor title area when opening .html files
  • Click the button to open a preview tab alongside the editor
  • Loads local CSS, JavaScript, images and other resources from the same directory
  • Click http/https links in the preview to open them in your default browser
  • Auto-refresh the preview when the HTML file is saved

Usage

  1. Open any .html file
  2. Click the preview button (eye icon) in the top-right corner of the editor
  3. The preview panel opens on the right side

Installation

Search "HTML Preview" in the VS Code extension marketplace.

To run locally:

git clone <repo-url>
cd html-preview
npm install

Then press F5 in VS Code to launch the extension development host.

Requirements

  • VS Code 1.85+
  • Node.js 20+

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft