/ home/ workdir/ artifacts/ index.html: How to Get Your File Out
Grok saved your site to /
Short answer
/home/workdir/artifacts/index.html is a path inside Grok's sandbox computer, a temporary Linux machine on xAI's servers where Grok writes the files it makes for you. It is not a folder on your computer, which is why searching your disk finds nothing. Three ways out: download the file from the preview card in Grok's reply, ask Grok to print the whole page as one code block and copy it, or paste that code into a new VibeDeploy site to get a live URL.
Turn that index.html into a live link
Paste the code Grok printed, or drop in the downloaded index.html, and get a live HTTPS address in about 30 seconds, with your own domain one step away. Works with every Grok plan. 14 days free, no card.
You asked Grok to build a website, it worked for a while, and then it announced something like "I've saved your site to /". So you open Finder or File Explorer, search for workdir, and find nothing. The file is real, but it is not where you think it is. Here is what that path actually means, why you will never find it on your own disk, and the three ways to get your site out of there and onto a live URL.
What is /home/workdir/artifacts/index.html?
/ is a file path inside Grok's sandbox. When Grok writes code or generates files for you, it does so on a remote Linux computer that xAI runs for your conversation. That machine has its own filesystem, and / is its working folder: the place where everything Grok creates is written. index.html is the conventional name for the main page of a website, which is why Grok picks it for a landing page, a portfolio or a small tool. When Grok writes a file there, it mentions the path so it can refer to it later in the conversation.
The important part: that Linux machine is not your Mac, not your PC and not your phone. It belongs to your Grok conversation and lives on xAI's servers. The path is accurate inside the sandbox and meaningless outside it. This is why searching your own disk finds nothing, and why the same path shows up for thousands of different users. Everyone's sandbox uses the same folder layout.
Using Claude or ChatGPT instead? They have the same kind of sandbox under other names: Claude writes to /mnt/user-data/outputs and ChatGPT to sandbox:/mnt/data. The list of AI sandbox paths covers the other assistants.
Variants of the path you might see
The folder turns up in a few spellings, both in Grok's replies and in what people type into a search box. They all point to the same place: Grok's sandbox, never your own disk.
/andhome/ workdir/ artifacts/ /: the working folder itself, with or without the trailing slash. Same folder.home/ workdir/ artifacts /: the dot means "this folder", so this is the same folder again. You see this form in commands that copy or list everything inside the folder.home/ workdir/ artifacts/ . home/(no leading slash): the same path with the first slash dropped, for example by a copy-paste or a search box. It still refers to the sandbox, not to a folder on your computer.workdir/ artifacts /, for examplehome/ workdir/ artifacts/ <project>/ index.html /: Grok gave the project its own subfolder.home/ workdir/ artifacts/ portfolio/ index.html /: pictures Grok generated or edited with Grok Imagine.home/ workdir/ artifacts/ imagine_images/ ... /: the neighbouring folder. It shows up when Grok works on a file you attached to the chat, such as a video or a document. Same sandbox, same rule: ask Grok for the result as a download.home/ workdir/ attachments/ ...
A subfolder usually means a multi-file project. Next to index.html there can be stylesheets, scripts and images that the page loads, and a page downloaded on its own can then open without its styles or pictures. Either ask for a zip of the whole folder and keep the structure intact, or ask Grok for one self-contained index.html with the CSS and JavaScript inside it.
Why you cannot open the file on your computer
The sandbox's filesystem is not mounted anywhere on your machine. There is no network share, no synced folder, no hidden directory where / secretly lives. Your browser or the Grok app is talking to grok.com over HTTPS; the sandbox sits behind xAI's infrastructure and never touches your local disk. Typing the path into your browser's address bar does nothing either, because it is a folder on someone else's server, not a web address.
So the fix is never "find the file". The fix is always "export the content". The HTML that Grok wrote exists in two recoverable forms: as a file Grok can hand you as a download, and as text Grok can print in the chat. As long as your conversation is still open, nothing is lost. You just need to move the content across the boundary, from Grok's sandbox to somewhere you control.
Three ways to get the file out of Grok's sandbox
1. Download it from the file card. When Grok presents a file, its reply contains a card with a preview and a download option. Use it to save index.html to your computer. If the reply only mentions the path and shows no card, ask: "Show index.html as a downloadable file." For a project with several files, ask: "Zip the artifacts folder and give me the zip." Grok can only hand over single files, so a folder has to be zipped first.
2. Ask for the code and copy it. Say: "Print the full index.html as one code block." Copy everything in that block, paste it into a text editor and save it as index.html. It is manual, but it always works, and for a single-page site it takes under a minute. If the goal is a live link rather than a local copy, you can skip the editor: in a new VibeDeploy site, choose Paste code, paste what you copied, and it goes online as index.html.
3. Put it online and share the link. A downloaded index.html only works on your own computer. To send the page to someone, it needs a host:
- On VibeDeploy, create a site, then paste the code or drop in the file (or the zip). You get a live HTTPS address such as
https://in about 30 seconds, and you can add your own domain afterwards.my-site.subsite.site - Grok Build, on every Grok plan since August 2026, can publish an app to its own grok.me address. That is the quickest route when a grok.me link is all you need.
If your goal is a link you can send to someone, option 2 plus Paste code gets you there fastest. Option 1 gets you a local copy first, which is useful if you want to inspect or edit the code yourself.
Already downloaded the page and stuck with an address like file:///? That link only works on your own computer: see why nobody else can open it.
Turn that index.html into a live link
Paste the code Grok printed, or drop in the downloaded index.html, and get a live HTTPS address in about 30 seconds, with your own domain one step away. Works with every Grok plan. 14 days free, no card.
How to open the page on your own computer
Once you have saved the file to your machine, a plain HTML page needs nothing special. Double-click index.html and it opens in your browser. Styles and scripts that live inside the same file work immediately.
Some projects are not plain HTML, though. If Grok built a React app with a package.json and files full of import statements, your browser cannot run that directly. It needs a build step: unzip the project, run npm install and npm run build, and open the generated dist/ folder. If that sounds like more than you signed up for, ask Grok to "rebuild this as a single self-contained HTML file" instead. It usually can.
Either way, remember what a local copy is: a site visible only to you. Opening index.html on your laptop does not put anything on the internet. For that, you need hosting.
Let Grok deploy it for you
Grok can use outside tools through connectors, and xAI's documentation says connectors are available to all Grok users. Give Grok a deploy tool and it can publish the files straight from its sandbox, without a download:
- Open grok.com/connectors, click New Connector and choose Custom.
- Enter
https://as the MCP server URL.mcp.vibedeploy.be/ mcp - Finish the sign-in: log in with your VibeDeploy account (or start the 14-day trial, no card) and allow access.
- Back in the chat that holds your site, say "deploy this to VibeDeploy".
Grok then replies with a live HTTPS address. This is the same route that Claude and ChatGPT users take every day. With Grok it is new, and we have not confirmed it on every Grok plan yet: if Grok cannot connect or does not publish, the paste and upload routes above work with every plan. More on hosting what Grok builds is on the Grok page; every client's setup is on the MCP server page.
From sandbox path to a live URL on your own domain
Here is the whole journey, condensed:
- Get the site out of the sandbox: download the file from the card, or ask Grok to print the code and copy it.
- In a new site on VibeDeploy, paste the copied code with Paste code, or drag in your
index.htmlor zip. You get a livehttps://address in about 30 seconds.yourname.subsite.site - Add your own domain in the dashboard, set the DNS records it shows you and click Verify. SSL is issued automatically, usually within a minute.
- Keep iterating in Grok: when it changes the page, paste or upload the new version to the same site. Every deploy is kept as a version, so an earlier one can be restored in one click from the dashboard, within your plan's restore window.
The 14-day trial needs no credit card, so you can take today's sandbox file all the way to a real domain for free. Details on the pricing page.
/ is not lost. It was just never on your computer to begin with. Export it, put it on a host, and the path stops mattering entirely.
A correction
Until 11 November 2026 this page said the path came from Claude. That was wrong: / is the working directory of Grok's sandbox. Claude saves the files it creates to /, which has its own guide.
Sources
- Published copies of Grok's system instructions for Grok 4.3 beta, 4.5 and 4.6, collected at github.com/asgeirtj/system_prompts_leaks: "You have access to a remote sandbox computer (not the user's local computer)", "Working directory: /home/workdir/artifacts", a file component that "renders a file preview to the user along with an option to download the file", directories "are not supported; archive them first (e.g. as .zip)", and generated images saved under artifacts/imagine_images/. Unofficial copies, not xAI documentation. Checked 11 November 2026.
- xAI, Grok Build on web and mobile (19 August 2026): Grok Build on every plan, each published app at its own grok.me address. Checked 13 October 2026.
- xAI docs, Connectors: "Connectors are available to all Grok users"; to add a custom MCP connector, go to grok.com/connectors, click New Connector, select Custom and enter the MCP server URL. Checked 11 November 2026.
Ship your AI-built site in minutes
VibeDeploy hosts your AI-built websites in the EU with custom domains, automatic SSL, and a 14-day free trial that gets you online today.
Deploy guides for this topic
Questions people ask
Where is /home/workdir/artifacts/index.html?
Inside Grok's sandbox: a remote Linux computer that xAI runs for your conversation. /home/workdir/artifacts is its working folder, so every file Grok creates lands there. The path is real on that machine, but no folder with that name exists on your Mac, PC or phone.
Why can't I find it on my computer?
Because it was never on your computer. Grok's sandbox is not synced or mounted to your machine; your browser or the Grok app only talks to grok.com. Searching Finder or File Explorer for workdir finds nothing, for every user. Get the content out of the chat instead of looking for the file.
How do I download the file Grok made?
Look for the file card in Grok's reply: it shows a preview and has a download option. No card? Ask Grok: "Show index.html as a downloadable file." For a project with several files, ask it to zip the artifacts folder and give you the zip, because a folder cannot be handed over as one download.
How do I put it online?
Copy the page's code or download index.html, then give it to a host. On VibeDeploy you paste the code or drop in the file and get a live HTTPS address in about 30 seconds; you can add your own domain afterwards. The 14-day trial needs no card. Grok Build can also publish an app to a grok.me address.
Is /home/workdir/artifacts a Claude path?
No. Published copies of Grok's instructions give /home/workdir/artifacts as its working directory. Claude writes the files it makes to /mnt/user-data/outputs, and ChatGPT uses /mnt/data. The idea is the same in all three: the path is on the AI company's server, not on your disk.
Related reading
AI Sandbox File Paths: Where ChatGPT, Claude, Grok and Others Save Your File
/
/ home/ ubuntu/ index.html: Where Manus Saved Your Site
Manus says your site is at /
/ mnt/ agents/ output/ : Where Kimi Saved Your File
Kimi says your page is at /
/ mnt/ okcomputer/ output/ : Where Kimi Put Your Website
Kimi says your site is in /