Limited-time offerPro & Max plans — 20% off

Save 20% on monthly and yearly billing.

View plans

HTML publishing guide

How to preview index.html online

An index.html file is usually the entry point for a static page or site. To preview it online, publish the file by itself or upload the full static project as a ZIP.

Steps

1

Check whether index.html has dependencies

Open the file and look for linked CSS, JavaScript, images, fonts, or other local files. If those exist, keep them with the HTML file.

2

Upload as HTML or ZIP

Upload a standalone index.html file directly, or upload a ZIP that contains index.html at the correct project level.

3

Review the browser link

Open the preview URL and verify that styles, scripts, images, and navigation behave as expected.

Practical tips

  • Put index.html at the top level of the ZIP when possible.
  • Preserve folder names such as assets, css, js, and images.
  • Use relative paths instead of machine-specific local paths.
  • Share the preview URL rather than the file path.

Turn the HTML into a link

HTMLShare publishes static HTML files and ZIP projects as browser preview links, so reviewers can open the page without downloading files or running a local server.

How to preview index.html online | HTMLShare