TagWorks
Start free
Menu
How it worksPricingBlogAffiliateLog in
ChatGPT · Guide

How to host HTML made by ChatGPT as a website

ChatGPT can write a complete web page in a code block or in Canvas. This guide shows how to turn that code into a public link people can visit, without hosting or a domain.

· 5 min read

You don't need a hosting account. TagWorks works as a permanent HTML link generator: drop in the file ChatGPT wrote and share the link it gives you.

Before you start

You need the page as one HTML file. If ChatGPT split the code into separate HTML, CSS and JavaScript blocks, ask it to combine them:

Please give me this page as one complete, self-contained HTML file.
- Put all CSS inside a <style> tag in the <head>.
- If you use a library, load it from an https:// CDN URL.
- Refer to images by file name only (for example hero.jpg), so I can upload them with the page.
- Don't use a build step, a framework project or a backend.

What TagWorks accepts

  • One HTML file, plus the PNG, JPG, WebP or GIF images it uses. Images are resized and compressed for you.
  • CSS inside the HTML (<style>) or loaded from an https:// URL, such as a CDN. Separate local .css files are not uploaded.
  • Scripts in the page keep working, but the public page runs in an isolated sandbox, so some browser features may be limited.
  • Pages can't hold server code, databases or secret API keys. TagWorks hosts the page, not a backend.

Step by step

  1. Copy the full code

    Use the copy button on the code block, or open the code in Canvas and copy all of it. Check that it starts with <!doctype html> and ends with </html>.

  2. Save it as an HTML file

    Paste it into a plain text editor (not a word processor) and save it as index.html. If ChatGPT offers a file download, you can use that instead.

  3. Add your images

    Put your images next to the file, using the file names the HTML refers to.

  4. Upload to TagWorks

    Create a free account and drop the HTML file with its images. You get a permanent link right after the check.

  5. Share and track

    Post the link or QR code, then open your dashboard to see visits, sources and outbound clicks.

Tip: if the page looks unstyled after upload, the CSS was probably in a separate file. Ask ChatGPT to move it into a <style> tag and upload again. The link stays the same.

What you get

FeatureDetails
Permanent linkA public URL that stays the same. Visitors don't need an account.
QR codeDownload it from your dashboard for print, posters or slides.
Unlimited editsUpload a new version anytime. The URL and QR code don't change.
AnalyticsVisits, where visitors came from (Instagram, blog, direct and more) and which outbound links they clicked.

Pricing

The Free plan gives you 1 live link with unlimited edits and basic analytics; free pages show a small TagWorks badge. Starter ($5/month) gives you 5 links without the badge, and Pro ($15/month) gives you 30 links plus visitor journey, period comparison and CSV export. See pricing.

FAQ

Can I paste the code instead of uploading a file?

Save it as an .html file first, then upload it. Scripts and AI clients can also publish raw HTML through the TagWorks API.

My page uses a JavaScript library. Will it work?

Yes, if the library loads from an https:// CDN URL. Local .js files next to the HTML are not uploaded, so put small scripts inside the HTML.

Can I change the page later?

Yes. Upload a new version to the same link as often as you like. The URL and QR code don't change.

Give your page a link

Free forever for your first link. No card needed.

Start free