Preview in Browser

Preview in Browser opens your current page in a browser tab instantly — no server required. It is the fastest way to check a page’s visual appearance and basic layout while you work.

The browser preview button

Click the browser preview button (the open-in-browser arrow icon) in the top toolbar, or press F5 . Site Designer saves the page, writes a temporary HTML file to disk, and opens it in your default browser.

The browser address bar shows a file:// path pointing to that temporary file — for example:

file:///C:/Users/YourName/AppData/Local/Temp/sd-preview/index.html

Preview in Browser vs. Live Preview

These two tools serve different purposes:

Preview in BrowserLive Preview
Protocolfile:// (direct file open)http://localhost (local server)
Speed to openInstant1–3 seconds to start server
JavaScriptBasic scripts work; modules may notFull JS support including ES modules
FormsRenders visually; submit won’t POSTCan test form submissions
PHPNot supportedSupported with XAMPP
Auto-reload on saveNoYes
Best forQuick visual checksTesting interactions and dynamic features

Use Preview in Browser when you want a fast sanity check — does the layout look right? Is the typography correct? Are the images loading?

Use Live Preview when you need to test actual behavior — does the form validate? Does that JavaScript slider work? Does the PHP contact form send email?

Limitations of file:// previews

Opening a page over the file:// protocol restricts several browser capabilities:

  • JavaScript ES modules (import/export) are blocked due to CORS restrictions on file://
  • Fetch and XMLHttpRequest to other files are blocked in Chromium-based browsers
  • localStorage and sessionStorage may behave differently
  • Service Workers require HTTPS and will not register from file://
  • External fonts linked via @font-face to relative paths may not load in all browsers

For any page that uses these features, switch to Live Preview instead.

The temporary file location

Site Designer writes preview files to a system temp directory. The exact location depends on your OS:

  • Windows: %LOCALAPPDATA%\Temp\sd-preview\
  • macOS: /var/folders/.../sd-preview/ (a temp folder managed by the OS)

These files are overwritten each time you preview and are cleaned up automatically. Do not use this location to store or share your work.

Testing in multiple browsers

To test in a browser other than your system default:

  1. Preview the page normally — your default browser opens with the file:// URL.
  2. Copy the full path from the address bar.
  3. Paste it into the address bar of another browser and press Enter .

Alternatively, start Live Preview and copy the http://localhost:PORT URL — that URL works in any browser on the same machine simultaneously.