OxyPages

How To Put Your ChatGPT Website Online

How To Put Your ChatGPT Website Online

ChatGPT gives you code, not a link. How to put your ChatGPT website online today: save every block, name the files right, drag the folder onto a host.

The OxyPages Team · · 9 min read

You asked ChatGPT for a web page and it gave you code. Possibly three separate blocks of it, each in its own grey box with a copy button in the corner.

There's no publish button anywhere in that chat.

So you search for what to do next, and the first guide opens with "install Node" and loses you by paragraph four. You asked for a web page and got homework. All you wanted was a link to send someone.

Here's the short version. Putting your ChatGPT website online is three small jobs: copy every block out of the chat, save each one under the exact filename the code expects, then drag the whole folder onto a static host. No terminal, no git, no build step.

The job that actually goes wrong is the middle one.

ChatGPT splits a page across several files more often than it hands you one, and those files find each other by name. Get one name wrong and you publish a page with no styling and a broken picture, which looks exactly like the host's fault and never is.

I've put a lot of these online. The upload takes under a minute. The filenames are where the evening goes.

TL;DR: A ChatGPT website arrives as pieces in a chat window, not as a finished file, so your first job is assembly. Save every code block under the exact filename the code refers to, keep them in one folder, name the main page index.html, then drag the folder onto any static host. Two things in the code break wherever you host it: a contact form pointed at an address that doesn't exist, and an API key written into the page where every visitor can read it. To skip the assembly, ask for the whole page as one self-contained HTML file.

What ChatGPT Actually Hands You

One of three things, and you can tell which by looking at the chat window.

Code blocks in the reply. The common case. One block for the HTML, often a second for the CSS and a third for the JavaScript. ChatGPT usually names them in the surrounding text or in a comment on the first line. Those names matter.

A code block in its own editor. Older chats may show a Canvas panel beside the conversation, but ChatGPT dropped Canvas from its current models in May 2026. Longer code now arrives as a code block that can open full screen. Either way you have one document to copy out. Easier to collect, same job afterwards.

A download link. Sometimes ChatGPT writes the file out with its code tool and offers it as a download. Take it: nothing gets lost between the chat and your folder. The link dies with the session, so save the file rather than bookmarking it.

Whichever shape you got, you end up with ordinary web files. There's no such thing as special hosting for an AI-built page. the map of what every AI builder hands you covers the other tools, including the ones that hand you source code and need a build first.

Which Files Do You Need To Save, And What Do You Call Them?

Which Files Do You Need To Save, And What Do You Call Them? - OxyPages

Every file the code mentions by name, saved under exactly that name, in one folder. That's the whole rule, and most of the work.

  1. Make one empty folder on your desktop. Everything goes in here.
  2. Save the HTML block first and call it index.html. That's the name a web server hands out when somebody visits your address with nothing after it. biology.html works too, but then the address needs the filename on the end.
  3. Open the HTML and look for href and src. Each one is a filename the page expects to find. A line reading href="style.css" means the page wants a file called style.css sitting right beside it.
  4. Save each remaining block under the name you just found. Not styles.css when the page asked for style.css. Not Style.css either, because most web servers treat that as a different file and your laptop doesn't.
  5. Put the images and PDFs in too. If the page refers to diagram.png, you need a real file called diagram.png in the folder.
  6. Double-click index.html and read it in your own browser. If the styling is missing here, a host won't fix it.

Step three is the one people skip, and the only one that needs reading. how a page and its stylesheet find each other walks through that single line if the attributes are new to you. Reading two attributes isn't coding, and what you can get online without writing any makes the case.

MDN on how a browser resolves an address like this

The Shortcut: Ask For The Whole Page In One File

Say this before you copy anything: "give me the whole page as one self-contained HTML file, with the CSS and JavaScript inline."

It almost always works, and it deletes this entire problem. One block to copy, one file to save, nothing to name. For a landing page or a revision sheet, the single-file version is as good as the split one in every way a visitor notices.

That's the shape Claude tends to produce by default, which is why that job feels easier. the single-file version of this, start to finish is the shorter walkthrough.

One Revision Page, 30 Students, Same Afternoon

A secondary school teacher asked me this one in September, and it's the cleanest version of the problem I've seen.

She had asked ChatGPT for a one-page revision site for her GCSE biology class: four sections of notes, a photosynthesis diagram, a link to a past paper. No website, no account anywhere, and thirty students who needed the link that day.

ChatGPT had given her two blocks: the HTML and a stylesheet. The HTML referred to diagram.png and past-paper.pdf, neither of which existed anywhere except on her laptop under different names.

So, in order:

  1. New folder. The HTML saved as index.html, the stylesheet as style.css because that was the name inside the link tag.
  2. The diagram renamed from Screenshot 2026-09-11.png to diagram.png, the past paper to past-paper.pdf, both dropped in beside the others. Four files, 1.4 MB.
  3. Opened index.html in Chrome. Styling right, diagram showing, PDF link working. Ten seconds, and the one step I'd never skip.
  4. Dragged the folder onto a host and got a live address back.

Then the bit that nearly caught her out. The instant link you get without an account is temporary: on OxyPages an unclaimed page stays up for 30 minutes, which is plenty to check your work and useless for a class. She made a free account, claimed the page, and the claim gave it a permanent address.

Send the link to the class after you claim it, not before. The temporary address stops working the moment you do.

Thirty students reading it a few times each is a rounding error against the 5,000 monthly page views a free plan includes.

Where Can You Host A ChatGPT Website For Free?

Any static host will serve a page ChatGPT wrote for free, because what you assembled is ordinary HTML, CSS and JavaScript. Netlify Drop, Cloudflare Pages and GitHub Pages all have a free tier that covers a page like this, and so does ours. The only real difference between them is how much setup stands between your folder and a live address.

Four options:

HostAccount to publishWhat you give itThe catch
Netlify DropNo, but yes to keep itA folderBuilt around git, so the drag-and-drop route is a side door
Cloudflare PagesYesA folder, or a connected repoAimed at projects with a build step; more dashboard than you need
GitHub PagesYes, plus a repositoryFiles committed to a repoYou learn git first, which is the thing you were avoiding
OxyPagesNo to try, yes to keepFiles, a folder or a ZIPWithout an account you get 3 MB and 10 files, and 30 minutes

If you already know git and you'll be editing this page for months, GitHub Pages and Cloudflare Pages are better homes for it. Dragging a folder in asks you to learn nothing, which is worth a lot the day you need the link and less in month three.

Two Things In The Code That Break On Any Host

Two Things In The Code That Break On Any Host - OxyPages

Both look fine in the chat and fail the moment the page is live. Neither is the host's doing, so switching hosts won't help.

The form that sends nowhere. ChatGPT writes contact forms pointed at addresses like /api/contact or /send, which aren't real places. A static host serves files and runs no code, so that form will submit, appear to work, and deliver nothing. Connect it to a form service such as Formspree, Web3Forms or Basin: you swap the made-up address in the form's action for the one the service gives you, and it emails you each entry.

The API key in plain sight. If you asked for anything clever, such as a chatbot on the page, ChatGPT may well have written a key straight into the JavaScript. A web page is public: anyone can read that key by viewing the source, and if it's attached to your card they can spend on it. Search the file for the word key before you publish and take out whatever you find.

Look for placeholder images too. Addresses pointing at placeholder.com or example.com are stand-ins, and they'll break.

And the honest limit: if what ChatGPT built needs user accounts, a database or payments taken on your own site, a static host can't run any of it and OxyPages is the wrong tool. That's not a plan you can upgrade into. It's a different kind of platform.

What To Do Next

Do the assembly before you choose where to put it. The host is the last decision, not the first.

  1. Save every block into one folder under the filename the code uses, and call the main page index.html.
  2. Search the HTML for src and href, and check a real file exists for every name you find.
  3. Search it for the word key and take out anything that looks like a secret.
  4. Double-click index.html, read it yourself, then drag the folder onto a host and open the link on your phone.

drag the folder in and get a live link and nothing gets renamed on the way up. The names you fought for in the chat are the names the live page keeps.

The hosting was never the hard part of getting your ChatGPT website online. The filenames were, and you can fix every one of them in a text editor in five minutes.

FAQ

What If ChatGPT Only Gave Me Part Of The Page?

Scroll to the bottom of the HTML block and look for the closing html tag. If it isn't there, the reply ran out of room mid-file and the copy button handed you half a page. Ask ChatGPT to carry on from the last line you've got, or to print the file again in two halves, and join them in your editor. A truncated page still renders something, which is why you only notice when the bottom third is missing.

Why Does My Page Have No Styling Once It's Live?

Almost always a filename that doesn't match. The page asks for style.css and your folder has styles.css, or a capital letter changed, or the stylesheet never got saved. Your laptop is forgiving about upper and lower case and most web servers aren't, which is why a page looks perfect locally and plain online.

How Do I Change A Word After It's Published?

Open the file in any text editor, change the word, save, and upload again over the top. The files are plain text and they belong to you. Going back to the chat also works, but then you're re-copying every block and renaming every file for one word, so the editor is quicker.

Will Search Engines Find It?

Yes. Once it sits on a real address and something links to it, your ChatGPT website is an ordinary web page as far as a crawler is concerned. It can't tell a model wrote it. What does matter is a sensible title, a description, and text that answers something a person actually searches for.

Try It Now

Still Here? Drop It In.

The whole pitch fits in one sentence: your HTML, on a link, in seconds.

Drag and drop your HTML files, a folder, a ZIP, your app's build folder, a PDF, an image or an MP3

or ·

No account needed. Your unclaimed website stays live for 30 minutes on a free subdomain. Claim it to your account to keep it permanently.

  • No Account Needed
  • Free SSL
  • 30-Minute Unclaimed Link, Claim To Keep It