sharepa

Build a website with ChatGPT

By Konrad Kirner

Yes, you can build a website with ChatGPT on the free plan. Publishing it from ChatGPT needs ChatGPT Sites, which starts at Plus. Below: the route from code block to your own address, prompts, and how ChatGPT Sites compares.

What ChatGPT can do on its own

Step by step

  1. Start a new chat on chatgpt.com and paste one of the prompts below.
  2. If ChatGPT made a file, you'll see "HTML file created" and a download link. You can upload that file to sharepa as it is. To see the code instead, use the "Code block instead of a download" prompt.
ChatGPT reporting that an HTML file was created, with a download link and a card promoting Plus
On the free plan, asking for a single HTML file produced a download instead of code. November 2026, German interface.
  1. In the code block, click Copy code in its header. The triangle next to it shows the page as a preview right in the chat.
A ChatGPT code block labelled HTML with icons for line wrap, copy code and preview
Code block with copy and preview. November 2026, free plan.
  1. Put the code or the file into app.getsharepa.ch/neu. The preview shows the page as visitors will see it.
  2. Pick an address such as painter-winterthur.sharepa.page and go live.

Prompts to copy

Price calculator

Build a price calculator for [business, e.g. a painting company in Winterthur]: [inputs, e.g. room size in m², number of walls, ceiling yes or no], showing an estimate in CHF. HTML with CSS and JavaScript in one code block, no React. System fonts, no Google Fonts, no external scripts or images.

One-page site for a shop

Write the code for a one-page website for [business, e.g. a bike workshop in Olten]: opening hours, services, prices, address, phone. One code block with HTML and CSS, no React, no images from other websites, system fonts.

Code block instead of a download

Show me the complete code as one code block here in the chat, without explanation.

Tips for ChatGPT

"File" means download

With "a single HTML file" in the prompt, ChatGPT on the free plan ran code and created a file. Say "in a code block" if you want the preview in the chat.

The wrong copy icon

Under every answer there's a second copy icon. It copies the whole answer as text, not the code. In our test that put a bullet list into the preview instead of a page. Use Copy code in the code block's header.

React from the preview

If ChatGPT builds a React component with imports like @/components/ui, it won't run outside ChatGPT. "No React" in the prompt avoids that.

Publish straight from ChatGPT

With the sharepa connector you say "put this online" in the chat and the page goes live, no copying. It runs through ChatGPT's developer mode and worked with a free account in our test. Setup: Connector for ChatGPT.

ChatGPT Sites or sharepa

FeatureChatGPT Sitessharepa
PlanPlus and upFree, 3 pages
Public without an accountYes, if you allow itYes
Address….chatgpt.sitename.sharepa.page
Custom domainYesYes, one on the free plan
PasswordNo, only sign-in with ChatGPTYes, also free
AnalyticsYesYes, without cookies
DatabaseYesNo, form entries in the app
Pages from other chatsNoYes

With Plus and a page that has to store data, such as a team tracker, ChatGPT Sites is the shorter route.

Questions

Can ChatGPT build a website for free?

Yes. You get the code or the file on the free plan. Putting it online from ChatGPT needs Sites, which starts at Plus, or a service like sharepa.

What happened to Canvas?

OpenAI switched Canvas off for the current models on 28 May 2026. Code and preview now live in code blocks in the chat.

Does it have to be a single file?

Yes. sharepa takes one HTML file or one code block, not a bundle of several files.

Sources

Tested with a free account on 7 November 2026. ChatGPT Sites is described from OpenAI's documentation; we did not test it with a Plus account.

Try it for free