The VSCode team has developed a Live Server extension with a lot of integrations. See v1.58 pre-release notes:

Live Preview

We have developed a Live Preview extension, which hosts a local server for web development previewing!

It features an in-editor browser preview, live preview refreshing (on file change or on save), multi-root support, and more!

The extension also has a Live Preview task, which runs a persistent server and allows you to view server traffic and its associated files.

To learn more about what it can do, view it in the marketplace or check out its repo.


Answer from Mark on Stack Overflow
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Live Preview - Visual Studio Marketplace
Extension for Visual Studio Code - Hosts a local server in your workspace for you to preview your webpages on.
Top answer
1 of 2
1

Hello @Paula Henderson,

Thank you for taking time to post this issue in Microsoft Q&A forum.

As Visual Studio(VS IDE) and Visual Studio Code(VS Code) are two different products, their extensions are usually different. May I firstly confirm, if you are using this extension: Live Preview? If so, it’s an extension for VS Code, not for VS IDE.

If you are using VS Code, the preview option should be there when you right-click one of the web pages. For example, I tested with a single .html file, see following screenshot:

If you are using VS IDE, then maybe you mean the integrated Web Live Preview feature? If so, you may need to use it in ASP .NET Web applications. You can right-click one of the web pages, select "View in Browser" or "Browse With…"(choose the Internal Web Browser or other web browsers, click Browse button) to live preview this web page.  

Don't forget to enable web live preview feature and restart VS(Tools > Options > Web Forms Designer > General >Web Forms designer (requires restart) > Web Live Preview).

For example, tested with an ASP .NET Web application(.NET Framework, Web Forms):

Above is for VS 2022, if you are using VS 2019, you should follow the guidance here to enable it:

Web Live Preview (Preview)

If you still fail to see the corresponding options, please kindly share us some screenshots to confirm the issue and check further.

Please don’t hesitate to contact us.

Sincerely,

Tianyu


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

2 of 2
0

Thank you. My extension was wrong. I actually had a different file I created not coffee ext but it was apparently wrong ext too because it did not have preview. It's all in the ext. Thanks so much for your help

🌐
Quora
quora.com › How-do-I-turn-live-preview-for-visual-studio-code-on-and-off
How to turn live preview for visual studio code on and off - Quora
To turn on: install chosen extension (if needed) → open HTML → use “Go Live”, Command Palette, or Live Preview button. To turn off: click the status bar button to stop, close the preview tab, or run the extension’s “Close/Stop” command.
🌐
OpenReplay
blog.openreplay.com › live-browser-preview-vs-code
Live Browser Preview in VS Code: A Quick Guide
Open VS Code’s extension panel (Ctrl+Shift+X or Cmd+Shift+X on Mac). Search for either “Live Preview” (by Microsoft) or “Live Server” (by Ritwick Dey). Verify the publisher name—several deprecated extensions still appear in search results.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Live Preview Desktop and Mobile - Visual Studio Marketplace
Extension for Visual Studio Code - Preview HTML files in a separate panel with live updates.
🌐
Broadwayinfosys
ftp.broadwayinfosys.com › blog › vs-code-live-preview-a-complete-guide-1767648266
VS Code Live Preview: A Complete Guide
January 5, 2026 - Alright, let’s get you set up with Live Preview in VS Code! Here’s how to get started, step-by-step: See also: Bambu Lab Studio On IPad: Mobile 3D Printing Power · Install Visual Studio Code: If you haven’t already, download and install VS Code from the official website.
Find elsewhere
🌐
Coding Campus
codingcampus.net › home › how to preview your code in visual studio code
How to Preview your Code in Visual Studio Code - Coding Campus
January 13, 2023 - Go to the Extensions view, search for “live preview”, and click on the Install button. To preview your code in VS Code, do the following: Open the code file that you want to preview.
🌐
YouTube
youtube.com › unkert education
How to Set Up Live Preview in VS Code - YouTube
In this video, I show you how to set up live preview in VS Code. When building websites it's nice to see changes in the site as soon as you save the file. By...
Published   July 18, 2023
Views   7K
🌐
Reddit
reddit.com › r/vscode › live preview for vscode web?
r/vscode on Reddit: Live preview for vscode web?
August 24, 2022 -

I have recently discovered vscode.dev and it is amazing, particularly for introducing html/js coding to my students who are using locked down chromebooks. However it seems none of the extensions for previewing html/js etc are available for vscode web. For now, I have worked around it by editing files locally and opening those separately in the browser and refreshing on change. But wondering if there is a better way. In particular, it would be nice to be able to use the open github feature and preview changes without committing to the repo. TIA!

🌐
YouTube
youtube.com › watch
How to install and use Live Preview in Visual Studio Code (VS Code) [2025] - YouTube
How to install and use Live Preview in Visual Studio Code (VS Code) [2025]Join this channel to get access to perks:https://www.youtube.com/channel/UCAT2-rlTn...
Published   January 29, 2025
🌐
Visual Studio Code
code.visualstudio.com › docs › getstarted › getting-started
Tutorial: Get started with Visual Studio Code
November 3, 2021 - Live Preview launches a local development server with live reload for static and dynamic pages. Open the index.html file, right-click in the editor, and select Show Preview. Your recipe list app now opens in a browser.
🌐
Medium
medium.com › @yashmishra_85781 › live-preview-with-visual-studio-code-dfc873c093bb
Live Preview with Visual Studio Code | by Yash Mishra | Medium
April 19, 2020 - ... Download the package and then press cmd+k v → command (ctrl for Windows users) with k, release both the keys and then press v. The documentation tells you how to use it, but the problem comes with CSS.
🌐
YouTube
youtube.com › the code city
Get Live HTML Preview in VSCode (2024 ) - Live Server Tutorial Visual Studio Code - YouTube
In this video, I'll show you how you can get live preview of your HTML/CSS/Javascript project in vscode (visual studio code). Live preview helps you to easil...
Published   January 14, 2024
Views   24K
🌐
DEV Community
dev.to › learncodewithalex › how-to-preview-html-in-vs-code-with-live-preview-extension-1e5m
How to Preview HTML in VS Code with Live Preview Extension - DEV Community
March 20, 2025 - ⏳ Timestamps: ⏱️ 0:00 – Install Live Preview extension in VS Code ⏱️ 0:15 – Create & Select an HTML file ⏱️ 0:30 – Preview your changes LIVE in VS Code
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Live HTML & JS Previewer v2 - Visual Studio Marketplace
Extension for Visual Studio Code - Preview your HTML & JS files in VSCode itself.
🌐
GeeksforGeeks
geeksforgeeks.org › how-to-enable-live-server-on-visual-studio-code
How to Enable Live Server on Visual Studio Code | GeeksforGeeks
December 17, 2024 - In the Activity Bar on the left side, click on the Extensions icon (it looks like a square with four squares inside, located on the bottom of the sidebar). Alternatively, you can use the shortcut Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac).
🌐
SMPTE
smpte.org › knowledge › html-editing-install-visual-studio-code-and-live-preview-server
5 Install Visual Studio Code and Live Preview Server
While it is possible to access GitHub via the GitHub desktop app, the SMPTE HTML workflow is designed to work optimally using the VS Code Text Editor and a ms-vscode.live-server extension local server app that enables live preview of the HTML as you edit. From VS Code, you can: Directly edit the HTML. Preview the HTML as it would be presented in a browser. Perform document operations via the VS Code terminal, which is similar to using a command line editor. You may, however, use a command interface of your choice. ... Go to: Visual Studio Code https://code.visualstudio.com/ and follow the installation instructions.
🌐
Visual Studio Code
code.visualstudio.com › docs › languages › html
HTML in Visual Studio Code
November 3, 2021 - No, VS Code doesn't have built-in support for HTML preview but there are extensions available in the VS Code Marketplace. Open the Extensions view (⇧⌘X (Windows, Linux Ctrl+Shift+X)) and search on 'live preview' or 'html preview' to see a list of available HTML preview extensions.