Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open in BrowserNew to Visual Studio Code? Get it now.
Open in Browser

Open in Browser

zz

|
7,123 installs
| (1) | Free
Opening the HTML file in your browser
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open in Browser VS Code

Visual Studio Marketplace Version

VS Code extension for opening the HTML file in your browser

Usage

Command

  1. Open an HTML file.

  2. Press F1 and type Open in Browser.

Shortcut

  • Mac: ⌘ + ⌥ + O

  • Windows: Ctrl + Alt + O

Explorer Context

Editor Title

Editor Title Context

Editor Context

Configuration

Fields Default Description
open-in-browser.defaultBrowser System Default Determines which browser to use by default. Support Chrome, Firefox, Opera, Safari, Edge
open-in-browser.useLocalServer true Controls whether to open with the local server.

License

MIT License © 2022 zz

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