Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Web Browser PreviewNew to Visual Studio Code? Get it now.
Web Browser Preview

Web Browser Preview

TimoCodes

|
15 installs
| (0) | Free
A web browser preview in a VSCode side panel using a Webview.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Web Browser Preview

Preview local websites directly in VS Code with responsive design testing capabilities.

Features

  • 🌐 Built-in Web Browser - Browse and test local websites without leaving your editor
  • 📱 Responsive Design Testing - Test your web applications across multiple device sizes
  • 📱 Device Emulation - Realistic device frames for popular smartphones and tablets
  • 🔄 Navigation Controls - Back, forward, reload, and URL input
  • 🔍 Zoom Control - Adjust zoom level for better viewing
  • 🔄 Device Rotation - Switch between portrait and landscape orientations
  • 💾 Session Persistence - Your browsing state is preserved between sessions

Getting Started

  1. For best experience, add the extension to the Secondary Side Bar: Right-click the Web Preview icon → Move to → Secondary Side Bar.
  2. Open the browser: Press Alt+W (Windows/Linux) or Option+W (Mac) or click the Web Preview icon in the activity bar
  3. Enter a URL in the address bar or use the command palette: Web Browser Preview: Open URL
  4. Select your preferred view mode (Responsive, Mobile, or Tablet)
  5. For device-specific testing, choose a device from the dropdown menu

Responsive View

Responsive View

The browser automatically adjusts to fit the panel size and includes zoom controls for precise viewing.

Mobile/Tablet View

Mobile/Tablet View

Easily test how your website looks on specific device sizes with proper device frames and orientation controls.

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