Guide
How to publish AI-generated HTML
August 19, 2026 · 2 min read
Your AI just built you an HTML page and now you want a link you can send, not a file. Whether it came from Claude, ChatGPT, Cursor, OpenCode, or Codex, you don't need to host or deploy anything yourself. Stash it to DocStash and the page is live at a shareable URL in a couple of clicks. Here are the two ways to do it.
Option 1: Already have the HTML? Upload it
- Open DocStash and click New document.
- Drop in your HTML file (or choose it from the picker).
- Click Stash. Unlike drag-and-drop hosts that hand you a public URL the moment you drop a file, DocStash keeps your page private by default, like a document in Google Drive.
- Share it. Click Publish for a public link, or share it with specific people individually.
Option 2: Let your AI do it for you (way easier)
- Connect your AI to DocStash. Pick your tool below and follow the quick setup. No CLI, no API keys.
- Ask it to create the page. Say something like "host this as a page on DocStash". It creates the page and shows you a preview (inline in the chat, or a review link for terminal tools). Nothing is saved yet.
- Review it, then stash. When the preview looks right, click Stash, or just tell your AI to stash. That saves the page and gives you a stable link like
docstash.ai/<slug>. It stays private until you make it public in one click. - Iterate, at the same link. Ask for any change and it pushes a new version to the same URL, so the link never changes. Prefer an earlier take? Revert to any previous version with one click.
Try prompting Claude…
FAQ
Is it free?
Yes. Creating, hosting, and sharing pages is free to start.
Which AI tools does this work with?
Any MCP-aware assistant, including Claude, ChatGPT, Cursor, OpenCode, Gemini, and Codex.
Does the link change when the page is edited?
No. Every edit is a new version at the same URL, and older versions stay reachable so you can revert.
Is my page public?
It is private by default. You choose to share it as a public link or with specific people.
Share your first page
Connect your AI to DocStash and get a link for whatever it builds next.
Get started