Quick answer If you have one HTML file and want a link today, upload it to a drop page. If you're a developer who keeps the code in GitHub, connect the repository to a Git-based host. If you're still working with ChatGPT or Claude, connect a publishing tool to that AI and ask it to publish. You keep editing in the same chat, and every change lands at the same link.
Key takeaways
- Uploading files is the fastest start. Drag a folder or a single HTML file into a drop page and you get a working address in under a minute. Some services don't even need an account.
- Git suits projects you'll keep changing. Every time you push new code to GitHub, the connected host rebuilds the site, but you need to learn a few Git commands first.
- Letting your AI publish skips the downloads and uploads. Once ChatGPT or Claude is connected to a publishing tool, a single message like "publish this as a private page" returns a link in the chat.
- Most first versions should start private. A private share link lets a client review the page before the whole internet can find it.
- Free plans have fine print. Some don't allow business use, and custom domains or passwords often sit on paid tiers, so read the plan limits before launch day.
You asked ChatGPT or Claude for a page, and it came out better than you expected. Then you hit the part nobody mentions: how do you send it to someone who isn’t sitting next to you?
The code is real and it works, but right now it lives inside a chat or a folder on your laptop, and a client can’t open either of those from their phone.
There are three ways to get from there to a link, and the right one depends less on your technical skills than on how often the page will change and who needs to see it first.
The Short Answer
Here’s how the three ways compare side by side.
| Upload the Files | Connect Git | Let Your AI Publish | |
|---|---|---|---|
| Best for | One page or a small folder you want to share today | Developers and projects that change every week | Anyone still building with ChatGPT, Claude or Cursor |
| You need | The files on your computer | A GitHub account and basic Git commands | A one-time connection between your AI and the publishing tool |
| Time to a live link | About a minute | 15 to 30 minutes the first time | Seconds after you ask |
| Updates | Upload the files again | Push new code and the host rebuilds | Ask the AI to publish the new version |
| Private link | Depends on the service and plan | Usually a paid feature | Invite, share link or password with Spacefast |
| Cost to start | Free | Free for personal projects | Free on a personal plan |
What You Need Before You Publish
Start by working out what the AI actually gave you, because that decides how much work publishing takes. It usually comes in one of three forms.
- A single HTML file. Everything sits in one file with the styles and scripts inside it. ChatGPT canvas and Claude artifacts often produce this kind of page, and it’s the easiest kind to publish.
- A project folder. An index.html file plus separate CSS, JavaScript and image files. Keep the folder structure exactly as it is, or the page will load without its styles.
- A framework project. Code built with tools like React, Next.js or Astro needs a build step that turns it into plain files a browser can read. Cursor and Claude Code usually create projects like this.
Getting the files out is simple in most tools. In ChatGPT, open the canvas and use the download or copy button. In Claude, open the artifact and download it, or copy the code into a file named index.html.
In Cursor or Claude Code, the files are already in a folder on your computer, so you only need to know where that folder lives.
Two terms come up a lot from here on. Hosting is the service that stores your files and sends them to visitors. A domain is the address people type, like yourname.com.
Way 1: Upload the Files
Uploading is the closest thing to sending an email attachment. You drag the files onto a page, and the service gives you an address anyone can open.
On drop.fast, our drag-and-drop page, the steps look like this.
- Open drop.fast in your browser. You don’t need an account.1
- Drag your index.html file onto the page.
- Wait a few seconds for the upload to finish and copy the live address.
- Save the private claim link that appears with it. You’ll need it to keep the page.
- Sign in and claim the Space within 33 hours and 20 minutes of the last publish, or the unclaimed page stops working. The Personal plan is free.
A Space is our word for a project with its own live address, versions and access settings. Claiming it moves the page into your account so it stays up.
Other drop services work in a similar way. Vercel Drop takes a file, folder or .zip in the browser, and Tiiny Host publishes HTML files.
The catch shows up the moment you want to change something. Every edit means downloading the new version from your AI and uploading the whole thing again, which gets old fast if you’re still tweaking copy.
Uploading also needs a finished set of files. A framework project has to be built first, so this way fits single pages and simple folders best.
Pros: fastest path, no tools to install, nothing to learn. Cons: manual updates, and features like passwords or custom domains sit on paid plans with some services, including Tiiny Host’s custom domains.
Way 2: Push to Git and Connect a Host
Git is a system that tracks every change to your code, and GitHub is the most popular place to store a Git project online. Hosts like Vercel, Netlify and GitHub Pages can watch a GitHub repository and publish it automatically.
The first setup takes a little longer, but after that every update is one command.
- Create a free GitHub account and a new repository for the project.
- Push your code to that repository. Cursor and Claude Code can run the Git commands for you if you ask.
- Sign in to your chosen host with GitHub and pick the repository.
- Confirm the build settings. Most hosts detect common frameworks on their own.
- Deploy. From then on, each push to the main branch publishes a new version.
GitHub Pages is free for public repositories2 and works well for simple sites, documentation and portfolios. Publishing from a private repository needs a paid GitHub plan.
Vercel’s free Hobby plan has fixed usage caps and can’t buy extra usage,3 so a site that grows moves to Pro. Netlify’s free plan comes with 300 credits a month that cover deploys, bandwidth and requests.4
For developers, this way works well. You get version history, previews of each change and a host that rebuilds framework projects for you.
For someone who has never opened a terminal, it’s a lot to take on just to share one page. Each step can fail with an error message that assumes you already know what a branch or a build command is.
Pros: automatic updates, full history, handles framework projects. Cons: learning curve, and private links or team features usually cost extra.
Way 3: Let Your AI Publish It
This is the newest of the three ways. Instead of moving files around, you connect a publishing tool to the AI you already use, and the AI publishes for you from inside the conversation.
It works through connectors, small add-ons that let ChatGPT or Claude take actions in other services. Many of them run on MCP, an open standard that lets AI assistants talk to outside tools.
With Spacefast, you connect your AI once. ChatGPT uses the Spacefast plugin, Claude uses the Spacefast connector, and Claude Code, Cursor and Codex each have a plugin.5
The best time to connect is at the start of a project, before the first line of code. While you build, your AI can use our recipes, which are ready-made build prompts, and the page gets its first link as soon as you’re happy with it.
From there, publishing takes one sentence. Here’s a prompt you can paste as it is.
Prompt for your AI (runs right away):
A few seconds later, the reply comes back with an address. You decide who can open it with an email invite, a share link or a password.
Changes follow the same pattern. Ask for a new headline, and the AI updates the page and publishes a new version at the same link. Every version is saved, so you can roll back if the new headline was a mistake.
When the page is ready for the world, ask your AI to make it public. You can also add your own domain on any plan, so the review link becomes the real address.
Claude also has its own sharing option. On paid plans you can share an artifact as a public link, and on Team or Enterprise plans an owner has to allow it first.6
Ready to try it? Get started with your AI and ask it to publish your first page.
Publishing From ChatGPT, Claude or Cursor
ChatGPT
ChatGPT builds pages in canvas and full projects in Codex. You can download the files and use Way 1, or install the Spacefast plugin and ask ChatGPT to publish without leaving the chat.
Claude and Claude Code
In the Claude app, your page usually arrives as an artifact. Download it for an upload, or add the Spacefast connector so Claude can publish the artifact as a private Space.
Claude Code works with folders on your computer, so it can use Git, an upload or the Spacefast plugin. Ask it which files it created before you publish, so nothing gets left behind.
Cursor and Other Coding Tools
Cursor, Codex and similar tools work inside a project folder. If you already use GitHub, Way 2 fits naturally, and the tool can run the Git commands for you.
If you’d rather skip Git, install the Spacefast plugin in Cursor or Codex and ask the agent to publish the folder. For a framework project like Next.js or Astro, we install the dependencies, run the build and publish the result.
Before You Publish: A Quick Check
AI-written pages often look finished on a laptop and break on other screens. A five-minute check catches most of it.
- Open it on your phone. AI often lays out pages for desktop, and buttons or images overflow on a small screen.
- Search the code for keys and passwords. If an API key for OpenAI, Stripe or a database sits in the page, anyone can copy it from the browser.
- Test every form. Many AI-built contact forms look real but send the message nowhere, so submit one and confirm it arrives.
- Set the title and description. These two lines decide how the page looks in Google results and link previews.
- Check images and links. Placeholder images and links pointing to example.com are common leftovers.
You can hand most of this to your AI too. Ask it to review the page for mobile layout, exposed keys and broken forms, list what it finds and wait before changing anything.
Private Link or Public Site?
A first version usually goes to a short list of people, like a client, a manager or a co-founder. Sharing it with them privately avoids search engines picking up a half-finished page.
There are three common ways to keep a page private. An invite limits access to named people, a share link works for anyone who has it, and a password adds a second lock on top.
On Spacefast, you choose who can open a Space with an email invite, a share link or a password, and you switch it to public when it’s ready.
On other services, privacy usually costs more. On Netlify, basic password protection is included on Pro and isn’t part of the Free or Personal plans.4
Adding Your Own Domain
A temporary address works for a review, but a real launch usually needs your own domain. You can buy one from a registrar like Namecheap and point it at your publishing tool.
Connecting it takes three steps on almost every service.
- Add the domain in your publishing tool’s settings.
- Copy the DNS records it shows you into your registrar’s DNS page. DNS is the system that points a domain name at the right server.
- Wait for the change to spread, usually minutes and sometimes a few hours. HTTPS, the padlock in the address bar, turns on once it’s connected.
Custom domains are included on every Spacefast plan,7 including the free Personal plan. GitHub Pages and Netlify also support a custom domain on their free plans, and Tiiny Host offers custom domains on its paid plans.
What It Costs
Almost every option is free to start. The differences show up in what each free plan allows, especially business use, passwords and team members.
| Option | Free Plan | First Paid Plan | Watch For |
|---|---|---|---|
| Spacefast | Personal, $0, with $1 of usage and 20 Spaces | Go, $5 a month with $5 of usage and 100 Spaces | Pro is $15 a month with 5 members included7 |
| Netlify | Free, 300 credits a month | Personal, $9 a month | Sites pause when free credits run out4 |
| Vercel | Hobby, $0 with fixed usage caps | Pro, $20 a month per developer seat | Hobby can’t buy extra usage3 |
| GitHub Pages | Free for public repositories | GitHub Pro for private repositories | Not meant for online stores |
| Tiiny Host | Free plan available | Several paid plans | Custom domains need a paid plan |
The cheapest choice depends on the project. A personal portfolio fits a free plan almost anywhere, while a client site or anything that sells needs a plan that allows commercial use.
Compare the Spacefast plans if you want private sharing and your own domain from day one.
Which Way Is Right for You
| Your Situation | Way That Fits |
|---|---|
| You have one page and want to share it today | Upload the files to a drop page |
| You’ll keep changing the site with your AI for weeks | Let your AI publish, so every change lands at the same link |
| A client or manager needs to review before launch | Let your AI publish to a private Space and send the share link |
| You’re a developer with the code already in GitHub | Connect the repository to a Git-based host |
Conclusion
Getting code out of a chat and onto a live link is quicker than it looks. Upload the files when you want a link in a minute, use Git when you’re a developer with a repository, and let your AI publish when you’re still shaping the page in conversation.
Whichever way you pick, start private, check the page on a phone and keep a way to roll back. Get started with your AI and publish your first private Space from the chat you already have open.
FAQ
Can I Publish a Website That ChatGPT Made?
Yes. Download the code from canvas and upload it to a drop page, push it to GitHub, or connect a publishing plugin so ChatGPT publishes it for you.
How Do I Publish an HTML File From Claude?
Open the artifact, download it or copy the code into a file named index.html, then drag that file onto a drop page. You can also share the artifact as a link on a paid Claude plan, or add the Spacefast connector and ask Claude to publish it as a private Space.
Do I Need to Know How to Code to Publish an AI-Built Website?
No. Uploading files and letting your AI publish both work without writing code. Git is the only way that asks you to learn some commands, and even there, coding tools like Cursor or Claude Code can run those commands for you when you ask.
Is It Free to Publish a Website?
Yes, for personal projects on most services. Spacefast’s Personal plan, Netlify’s free plan, GitHub Pages and Vercel’s Hobby plan all cost nothing. Business use, passwords and team features are where paid plans start, so check what the free plan allows before a launch.
Can I Keep My Site Private Until It’s Ready?
Yes. On Spacefast you choose who opens a Space with an invite, a share link or a password, and it only goes public when you switch it. On other services, password protection is usually a paid feature, so a page uploaded to a free plan is often public from the start.
Can I Use My Own Domain?
Yes. You add the domain in your publishing tool, copy its DNS records into your registrar and wait for HTTPS to switch on. Spacefast, GitHub Pages and Netlify include custom domains on their free plans, while some drop services save them for paid tiers.
How Do I Update the Site After It’s Live?
It depends on how you published. With uploads, you upload the new files again. With Git, you push the change and the host rebuilds. When your AI publishes, you ask it for the change in the same chat, and it publishes a new version at the same link.
Is It Safe to Publish Code That AI Wrote?
It can be, once you check it. AI-written code sometimes includes API keys, open forms or database settings that expose data. Look for those before going public, keep the page private while you test, and get a human review for anything that handles payments or personal information.
