One HTML file
Use this for a self-contained page with inline styles and scripts. If it points to local images, stylesheets, or scripts, include those files in a ZIP instead.
Limited-time offerPro & Max plans — 20% offSave 20% on monthly and yearly billing.
Save 20% on monthly and yearly billing.
Grok Build to HTML preview · Updated December 2, 2026
If Grok Build created a browser-ready static frontend, you can publish those files as a review link. Build framework projects first; Host HTML File serves the finished HTML, CSS, JavaScript, and assets, not the source project or its backend.
Grok Build's documentation describes a terminal interface that runs in a project folder. For a preview handoff, use the completed web output from that project rather than the coding-agent session or source repository. See the Grok Build terminal guide for its project workflow.
Use this for a self-contained page with inline styles and scripts. If it points to local images, stylesheets, or scripts, include those files in a ZIP instead.
Upload the generated browser files, such as index.html and its assets folder. A framework's src/ directory is source code; it still needs the project's build step.
A static preview cannot run server routes, a database, background jobs, or private API calls. Publish only a frontend that can work with an already hosted API, or use a runtime that supports the backend.
Keep the upload small and browser-ready. If the project needs a development server, install step, or build command, finish that work before uploading.
If the page can work without a server, ask Grok Build to save a complete static frontend in your project. Use one self-contained HTML file for a simple page, or an index.html plus its CSS, JavaScript, images, and fonts.
For Vite, React, or another framework, run the project's build command in your development environment first. Find the output directory from the project configuration; dist/ and build/ are common names, not universal rules.
Upload a self-contained .html file on its own. For a site with separate assets, ZIP the browser-ready output with index.html and its relative paths intact. Leave the source folder, server code, and development dependencies out.
Upload the HTML or ZIP to Host HTML File. Open the returned URL, try the main interactions, and check desktop and mobile layouts before sending it to a reviewer.
When the page does not need server features, ask Grok Build to prepare its frontend for review. Adapt the request to the project instead of removing functionality that depends on a backend.
Prepare the browser-ready frontend for review.
- Put the entry page at index.html.
- Keep CSS, JavaScript, images, and fonts in the output.
- Use relative paths for local assets.
- Tell me the build command and output folder, if needed.
- Do not put .env files, API keys, or private data in the output.FAQ
Save or build the project into browser-ready static files, then upload one self-contained HTML file or a ZIP containing index.html and its assets to Host HTML File. Test the resulting URL before sharing it.
Only if it already contains browser-ready static output. Host HTML File does not install dependencies, run Grok Build, or execute a project's build command. Build framework projects first and upload the generated output rather than src/.
Yes, if you build it into static files first. Upload the output directory named by the project's configuration, often dist/ or build/, with its index.html and asset files. Check the built page's base paths and routes after upload.
No. Host HTML File serves static browser files. It does not run server code, databases, background tasks, or private API calls. Keep secrets out of the uploaded files and use a separate backend for server-side features.
Yes. A Host HTML File preview is a browser URL, so reviewers do not need Grok Build or a Host HTML File account to open it.
No. Preview URLs are noindex, which asks search engines not to list them; it is not a password or access control. Anyone with the URL can open the page, so remove credentials and confidential data first.
Upload the static HTML or ZIP, open the preview yourself, and send the link when the page is ready for feedback.