Limited-time offerPro & Max plans — 20% off

Save 20% on monthly and yearly billing.

View plans

Grok Build to HTML preview · Updated December 2, 2026

Preview a Website Built with Grok Build

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.

Start with the files a browser can run

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.

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.

Static build output

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.

Full-stack application

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.

From Grok Build project to preview URL

Keep the upload small and browser-ready. If the project needs a development server, install step, or build command, finish that work before uploading.

01

Ask for browser-ready files

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.

02

Build the frontend if the project needs it

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.

03

Package the built files

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.

04

Upload and check the preview

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.

Prompt for a static handoff

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

Grok Build preview questions

How do I preview a website made with Grok Build?

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.

Can I upload a Grok Build repository directly?

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/.

Can I preview a Vite or React project from Grok Build?

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.

Will the preview run my app's backend or database?

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.

Can reviewers open the preview without a Grok account?

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.

Are Host HTML File preview links private?

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.

Share the finished frontend

Upload the static HTML or ZIP, open the preview yourself, and send the link when the page is ready for feedback.