Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>htmlhost: Deploy HTML SitesNew to Visual Studio Code? Get it now.
htmlhost: Deploy HTML Sites

htmlhost: Deploy HTML Sites

htmlhost

|
1 install
| (0) | Free
Put an HTML site online from the folder you have open: deploy, save drafts, pull changes back and open the live site.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

htmlhost for VS Code

Deploy the folder you have open to htmlhost.co, pull changes back, and open the live site, without leaving the editor.

Getting started

  1. Open the folder that holds your site (an index.html and its files).
  2. Click the htmlhost icon in the strip of icons at the side of the window.
  3. Click Sign in. Your browser opens; approve there, then come back.
  4. Click Deploy This Folder. A panel opens at the bottom of the window and shows your site's link when the upload finishes.

From then on the button reads Redeploy Site: it updates the same site instead of making a new one. The site's address also shows in the bar along the bottom of the window; click it for every command.

Prefer to be guided? Press ⇧⌘P (Ctrl+Shift+P on Windows and Linux), type htmlhost: Get Started and press Enter for a three-step walkthrough.

Where to find it

  • The htmlhost icon in the Activity Bar (the strip of icons at the side) opens a panel with the folder's site and everything you can do with it.
  • The cloud button at the top right of any HTML file deploys the site.
  • The status bar at the bottom shows the site's address; click it for the command list.
  • Right-click a folder or an HTML file in the Explorer and choose Deploy to htmlhost.
  • The Command Palette (⇧⌘P, or Ctrl+Shift+P on Windows and Linux): type htmlhost to see every command.

When a deploy finishes, a notification offers Open Site and Copy Link.

Commands

Command What it does
Deploy Site Publishes the folder to a new site. Once the folder has a site, this reads Redeploy Site and updates it.
Save as Draft Uploads the folder without changing what's public.
Show What Deploy Would Change Lists the files a deploy would add, change or remove.
Pull Latest Changes Brings edits made in the htmlhost editor into the folder.
Clone a Site… Downloads one of your sites, or one shared with you, into a folder.
Open Live Site / Open Site Dashboard Opens them in your browser.
Add the htmlhost Guide to AGENTS.md Teaches your AI coding tool how htmlhost sites work.

Unsaved files are saved before a deploy. Anything that needs your answer, such as replacing a site or making a draft public, is asked in the terminal.

Requirements

Node.js 18 or later. Commands run the htmlhost CLI through npx, so there is nothing else to install. If you installed the CLI globally, set htmlhost: Cli Command to htmlhost.

Docs: htmlhost.co/docs

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft