Non è ancora in italiano, quindi la vedi in inglese.

How do I preview the HTML ChatGPT wrote?

Quick answer

Select Preview on the code block. OpenAI's help, read on November 25, 2026, says “For supported code blocks, select Preview to view the result inside ChatGPT,” and HTML pages come first in its list of supported previews. That preview stays inside ChatGPT, canvas left GPT-5.5 on May 28, 2026, and OpenAI names no preview for a downloaded .html file. To see the page in a full browser tab, on a phone, or from a file, open it in Convika's free HTML viewer: paste the code or choose the file, and the page runs with its CSS and JavaScript, with nothing uploaded. To let someone else open it, publish it for a link.

Get a link for my ChatGPT page

Free plan: no credit card, 5 published pages, scripts run on every page.

On this page

Select Preview on the code block. OpenAI's code block help, read on November 25, 2026, says “For supported code blocks, select Preview to view the result inside ChatGPT,” and “HTML pages” come first in its list of supported previews. To see the page in a full browser tab, on a phone, or from a downloaded .html file, open it in Convika's free HTML viewer: paste the code or choose the file, and the page runs with its CSS and JavaScript. Nothing is uploaded.

ChatGPT's preview lives in the chat. The viewer shows the same page the way a visitor's browser will, and from there it becomes a link you can send.

Does ChatGPT show a preview of HTML?

Yes, in a code block, when Preview appears. Every row below comes from OpenAI's help center, read on November 25, 2026.

CasePreview in ChatGPT?OpenAI's words
HTML in a code block, on chatgpt.comYes“For supported code blocks, select Preview to view the result inside ChatGPT.” The list starts with “HTML pages.”
A code block with no Preview buttonNo“If Preview does not appear, the code block does not support a preview.”
In the iPhone and Android appsOpenAI doesn't say“Available actions vary by plan, device, workspace settings, model, and rollout.” No app is named
On Free, Go, or PlusOpenAI doesn't sayThe same line: actions vary by plan. No plan is named for Preview
A page that loads outside files, such as a font or a libraryYes, after a question“If a preview requires outside resources, ChatGPT may ask for permission before connecting.”
A downloaded .html fileOpenAI doesn't sayThe help describes Preview on code blocks only
Canvas, the side panel that ran pagesNo, not in GPT-5.5“With this update, canvas will no longer be available in GPT-5.5 Instant or GPT-5.5 Thinking” (model release notes, May 28, 2026)
Someone else opening the previewNo“Code previews and code execution use a sandboxed environment.” The preview has no address of its own

OpenAI's help also lists Copy the code and “Switch between Code and Preview for supported previews” among a code block's actions. Copy is the step that takes the page out of ChatGPT.

Canvas went on May 28, 2026, when OpenAI moved “writing and coding functionality” into “writing blocks and code blocks.” Where did ChatGPT canvas go? covers what changed and where each part of canvas went.

Preview ChatGPT's HTML in your browser in 3 steps

The HTML viewer is free, needs no account, and runs on a phone or a computer. Your browser reads the code: it reaches Convika only if you ask for a link.

1. Copy the code, or download the file

In ChatGPT, select Copy the code on the code block. If the page is split into several blocks, ask in the same chat:

Put the whole page into one HTML file, from <!DOCTYPE html> to </html>, with the CSS and JavaScript inside it.

If ChatGPT gave you a .html file, download it. OpenAI's troubleshooting page says “files generated by ChatGPT expire quickly,” so download it at once, or copy the code instead.

2. Open the HTML viewer

Go to convika.com/tools/html-viewer. Choose Paste code and paste, or choose Open file, then Choose an .html file. The viewer opens .html, .htm, and .md files up to 4 MB.

3. Click "Show the page"

Click Show the page. The page runs with its CSS and JavaScript: click its buttons, play the game, fill in the form. Switch Width to Phone to see it at a phone's width, or Full width for a desktop. Edit the code lets you change a line and show the page again.

On a phone: the same steps work in Safari or Chrome. How to open files from ChatGPT on iPhone and How to open an HTML file on Android cover saving the file and finding it.

A React component (code with import React or export default) runs in the free React viewer instead.

When the preview is blank or shows code

A blank page, raw code, or buttons that do nothing each have one cause and one fix: file://error_page_loaded.html, code, or a blank page walks through them by symptom.

A page that runs in the viewer runs for everyone at a link. They open it in their browser, with no ChatGPT account and no Convika account.

  1. Drop the .html file into the box above, or switch to Paste code and paste the code. If ChatGPT gave you several files, such as index.html, style.css, and script.js, drop them together, or their folder or a .zip. Click Get my preview link. The preview link works for 3 minutes, with scripts and forms on.
  2. Click Keep this page — free, no card and sign up. The page moves into your account.
  3. Click Publish page. Under Who can open this page?, choose Public and click Next. The first time you publish, Convika shows Publish free, and under it Publish without the Convika bar, which starts Pro with its free trial: 7 days free, then $12 a month, cancel any time before it ends. To publish on Free, click Publish free.

Copy the address, such as yourpage.convika.page, and send it. The Free plan includes 5 published pages and 10,000 page views a month. From the viewer itself, Get a link by uploading this page gives the same private preview link with no signup.

ChatGPT's own ways to share stop short of the page. OpenAI's Sites help says “Sites is not available on Free or Go,” and its release notes of November 20, 2026 say of Space pages: “People on Free can't open shared pages or presentations. Public links aren't available.” How to publish HTML from ChatGPT compares the hosts, your own domain, and a form that keeps entries.

Skipbox

Cheap & fast GitHub Actions runners, unlimited for $39 a month

Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.

Start a free Skipbox trial⁠

Frequently asked questions

Can ChatGPT preview HTML?

Yes. Select Preview on a code block that holds the HTML: OpenAI's help says “For supported code blocks, select Preview to view the result inside ChatGPT,” and lists HTML pages first. If no Preview button shows, OpenAI says that block doesn't support one. Paste the code into the free HTML viewer to run it in a browser tab.

How do I turn off the HTML preview in ChatGPT?

Select Code on the code block. OpenAI's help lists “Switch between Code and Preview for supported previews” among a block's actions, and it names no setting that turns previews off. In a work account, OpenAI says “Workspace admins can also control whether code execution and network access are available.”

Why did canvas disappear from ChatGPT?

OpenAI took canvas out of GPT-5.5 on May 28, 2026. Its model release notes say “canvas will no longer be available in GPT-5.5 Instant or GPT-5.5 Thinking” and that writing and coding moved into “writing blocks and code blocks.” An HTML page now shows with Preview on its code block. Where did ChatGPT canvas go? has the details.

How do I see the HTML file ChatGPT made on my phone?

Save the file, then open convika.com/tools/html-viewer in Safari or Chrome and tap Choose an .html file. The page runs with its scripts, which a tap in the Files app doesn't give you on iPhone. With no file, copy the code from the chat, tap Paste code, and tap Show the page.

Is the HTML viewer free?

Yes. The viewer is free, needs no account, and keeps the file in your browser: nothing reaches Convika unless you click Get a link by uploading this page. Publishing the page at a link is free too, on Convika's Free plan with no credit card.

Sources

Next step

How to password protect an HTML page or website

A JavaScript password sits in the page source. Free: StatiCrypt or .htaccess. Paid: Netlify Pro $20, Vercel $20 a project, Tiiny Host $18, or Convika Pro.

Related articles

More ways to send your page

Share this article

Turn the page ChatGPT wrote into a link

Paste the code or drop the .html file and publish it. Anyone you send the link to opens the page in their browser, with its buttons working and no ChatGPT account.

Get a link for my ChatGPT page

Free plan: no credit card, 5 published pages, scripts run on every page.