No More file:// Errors Paste Path to Host Scan to Open on Phone

Turn AI-Generated HTML into a Website for PC & Mobile

Built a mini web app or demo with AI, only to hit CORS errors when double-clicking it or fail to open it on your phone? Host it as a real HTTP/HTTPS website in seconds with HFS Mini.

Paste HTML path to host website
Paste an HTML file path — HFS Mini mounts its folder and generates a LAN URL & QR code

3 Steps to Turn Local HTML into a Website

No Python, Node.js, or Nginx required — done in 10 seconds.

1

Copy HTML File Path

Select your index.html (or project folder) and copy its path (quotes and file:/// supported).

2

Paste into HFS Mini

Even if you paste a specific .html file path, HFS Mini mounts its parent folder and opens the page.

3

Open on PC & Phone

Get an instant LAN link and QR code — scan on mobile to load all styles, scripts, and images.

Built-in CORS & HTTPS for Instant Mobile Testing

Ready-to-use static site hosting out of the box.

Auto index.html & UTF-8 Detection

Serves index.html automatically when present (or renders a clean directory listing), with 70 built-in MIME types and UTF-8 text detection.

One-Click Self-Signed HTTPS

If your AI web app uses camera, mic, clipboard, or SharedArrayBuffer, turn on self-signed HTTPS for seamless LAN testing.

Why Does Double-Clicking HTML Often Fail?

Browsers enforce strict security limits on the local file:// protocol.

CORS & Module Blocking

ES Modules (type="module"), fetch() calls to local JSON/Mock files, custom fonts, and Canvas reads are blocked under file://.

Phones Can't Access PC Files

Sending a single .html file via chat loses sibling CSS, JS, and image assets and hits mobile browser restrictions.

Camera / Wasm APIs Disabled

Secure-context APIs like WebRTC, camera/mic, Service Workers, and multi-threaded Wasm require HTTP/HTTPS.