All posts

How to Share a Gemini-Generated Web Page

To share a Gemini-generated web page, most people send the chat link, which shows the conversation, not the page. Here is how to give it a real link, with no hosting setup.

July 4, 2026 · 3 min read

When people want to share a Gemini-generated web page, most of them send the Gemini conversation link or paste the code into a Google Doc. Neither shows the page. The conversation link shows the chat, and the Doc shows the code.

Gemini is happy to write you a landing page, a one-pager or a small interactive tool, often right inside Canvas. To share the actual page, it needs its own URL. I built ShareMyPage to give it one, so keep in mind that the tool I recommend below is mine.

Ask Gemini for one HTML file first

If Gemini gave you the page in a code block, copy the block. If it built the page in Canvas, ask it: "give me the complete HTML for this as a single file." You get one self-contained document, and that one file is everything the page needs to render.

Paste it into any text editor and save it as an .html file.

This is for you if:

  • the page came out of Gemini or Canvas
  • the people who need to see it aren't in your chat
  • you want to decide who can open it
  1. Save the full HTML Gemini generated as an .html file.
  2. Open ShareMyPage and drop the file in.
  3. Set who can view it, copy the link and share it.

The page is live right away at a clean URL, renders inside a sandboxed frame so it is safe to open, and stays editable, so you can refine it without changing the link.

A page shared on ShareMyPageOpen full page ↗

The downside is the copying. With Claude, or with ChatGPT on a paid plan, you can connect ShareMyPage over MCP and ask the assistant to publish the page for you. The Gemini app doesn't support custom MCP servers yet, so from there it's copy, save and upload. (The Gemini CLI does support them.)

One more limit: the sandbox gives the page no localStorage, so if your Gemini tool saves things in the browser, it forgets them on reload.

Keep it private unless it's meant for everyone

Not every page is for the world. You choose without changing the flow:

A link works on phones, previews cleanly when posted, and always shows the current version. A file does none of that well. Using other AI tools too? See the guides for ChatGPT and Claude.

The short version

  • Send the chat link if you want someone to see the conversation.
  • Send a page link if you want them to see the page.
  • Use ShareMyPage if you want that link without setting up hosting.

One tip: always ask Gemini for the complete page as a single file, even when the code block looks finished. Then everything the page needs is in the one file you upload.

Got a Gemini page to share? Create a page on ShareMyPage and drop the HTML file in.

Publish your own page in about a minute.
Drop in HTML or Markdown from any AI, decide who can open it, and share one link. Free plan, no credit card.