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.
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 anhttps://URL, such as a CDN. Separate local.cssfiles 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
- 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>. - 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. - Add your images
Put your images next to the file, using the file names the HTML refers to.
- Upload to TagWorks
Create a free account and drop the HTML file with its images. You get a permanent link right after the check.
- 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
| Feature | Details |
|---|---|
| Permanent link | A public URL that stays the same. Visitors don't need an account. |
| QR code | Download it from your dashboard for print, posters or slides. |
| Unlimited edits | Upload a new version anytime. The URL and QR code don't change. |
| Analytics | Visits, 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