← All posts

How to publish a website made with ChatGPT

ChatGPT can write a web page, but the code in a chat isn't a website you can send to someone. Pagelet's HTML publishing page turns that code into a shareable HTTPS link. You can paste it directly without saving a file first.

This guide uses a simple personal website as an example. The same approach works for a landing page, event page or browser-based calculator.

1. Ask ChatGPT for one complete HTML document

Start with a concrete brief. For example:

Create a responsive personal website for a freelance illustrator.
Include an introduction, three sample projects and a contact section.
Use placeholder project descriptions and clearly marked sample images.
Return one complete HTML document, with CSS in a style tag and any
JavaScript in a script tag. Include a viewport meta tag.
Do not use a build step, server-side code, external JavaScript libraries
or a contact form that needs a backend. Use a mailto contact link.

Replace the example details with your own. Ask for a complete document if the reply only contains a fragment or explains what to change.

For a first version, avoid features that need accounts, payments or a database. Pagelet hosts static files; those features need additional services.

2. Check the page and refine it

Review the text, links and contact details. Replace placeholder images and facts before publishing.

Use the meta tags generator to create a page title, description and social preview tags. Ask ChatGPT to add the generated tags inside your document's <head> before you publish.

You can ask for specific changes:

Make the project cards stack vertically on narrow screens.
Use larger text and add visible keyboard focus styles.
Return the updated complete HTML document.

If the page includes calculations or interactive controls, try normal inputs and edge cases. AI-generated code can contain mistakes. The Claude calculator walkthrough includes a working example and checks you can reproduce.

3. Paste the HTML into Pagelet

  1. Copy the complete HTML code from ChatGPT. Leave out the surrounding explanation and Markdown code fences.
  2. Open Paste HTML code & get a shareable link.
  3. Paste the document into the editor.
  4. Optionally choose a subdomain name and page title.
  5. Press Publish as guest, or Publish if you're signed in.

Pagelet returns a link. It becomes publicly available after its security checks pass. Open it and check the page before sharing it.

Have separate CSS, JavaScript or image files?

Use the homepage upload area instead of pasting. Upload the whole folder or a ZIP, with index.html at its root. Keep asset paths relative, such as images/project.jpg and styles.css.

Pasting HTML doesn't copy local files from your computer. For a single pasted document, include styles and scripts inline and use publicly accessible image URLs. Our HTML hosting guide includes a downloadable project and troubleshooting steps.

4. Claim your page and keep improving it

After publishing as a guest, sign in with Google from the same browser to claim the page. A free account can keep up to 10 sites of 5 MB each.

In your dashboard, check that the page appears under Your sites. Choose its Edit control, change the home page and press Save. Saving keeps the same URL, provided you don't rename the subdomain. Uploading again creates a separate publication; it does not replace the existing project.

Sending the result to a client? Use the prototype sharing checklist and feedback message before you send the link.

If you'd rather let an AI publish directly, see Pagelet for AI agents. If you want to describe a page without using a separate chatbot, try the guided AI website generator.

FAQ

Do I need to save ChatGPT's code as an HTML file?

No. Paste a complete HTML document into Pagelet's /paste page. Save and upload files when your project includes separate stylesheets, scripts or images.

Does this host a React app or a backend?

Pagelet serves static files. A framework project needs to be built into static output first. It doesn't run a Node.js backend, PHP or a database server.

Will a generated contact form work automatically?

Only if it connects to a working form service or backend. A form's appearance alone doesn't send email. For a simple contact section, a mailto link opens the visitor's email app.

Can I publish for free?

Yes. You can publish as a guest, then claim the site with a free account. Free accounts can keep up to 10 sites of 5 MB each.

Publish your ChatGPT website

Paste your HTML and get a link.

Put it online in seconds

Pagelet turns any HTML file into a live URL on your own subdomain — free, no account needed. Drag a file on the homepage or paste your code.