An AI tool gave you a web page, but it only exists inside the chat. To put it online, copy the code into a file ending in .html, then upload that file to get a link. For a one-page project this takes a few minutes, and you do not need to learn to code.
This guide is for people who have never published anything online. Each step is small.
First, understand what you have
When an AI tool "builds a page", it writes code, usually HTML. That code is a text file that a web browser knows how to turn into a page. A link is just an address that tells a browser where that file is.
So there are only two jobs: save the code as a file, and put the file at an address.
Step 1: Save the code as a file
- Copy all the code from the chat.
- Open Notepad (Windows) or TextEdit (Mac, in plain-text mode) or any text editor.
- Paste the code and save the file as
index.html. Make sure the name ends in.htmland not.txt.
On a phone, you can skip the file: some upload tools, including DropMyPage, let you paste the code directly.
Step 2: Open it and look
Double-click the file on a computer and it opens in your browser. Or paste the code into the free HTML viewer to see it.
Check three things:
- It looks right on a phone, not only on a big screen.
- All buttons, links and text are correct.
- No private details are included, because anyone with the link can see the page.
If something is wrong, go back to the AI and describe the problem in plain words, for example "the buttons are too small on a phone". Then copy the new code.
Step 3: Choose how to publish it
There are three common ways, from quickest to most serious:
| Way | Time | Best for | Cost |
|---|---|---|---|
| Quick link upload (like DropMyPage) | 1 minute | Sharing a page with a few people, a QR code, a demo, an invitation | Free for short-lived links |
| Free hosting services | 15 to 30 minutes | A page that should stay online, with some setup | Free plans usually exist, accounts needed |
| Your own website and domain name | A few hours | A business that needs its own address | Yearly fees for the domain and hosting |
If you are not sure, start with the quick link. You can always move to something bigger later, and the code is yours to take with you.
Step 4: Get the link
With a quick upload it works like this:
- Open DropMyPage.
- Upload your
.htmlfile or paste the code. - Copy the link, or send it straight to WhatsApp.
You also get a QR code, which is handy if you want people to scan it from a poster, a menu or a business card. If a printed code ever fails to scan, see why a QR code won't scan.
Step 5: Test the link like a stranger
Open the link on your phone using mobile data, not your home Wi-Fi. Ask a friend to open it too. If it works for them, it will work for everyone.
What if I want my own address?
A name like yourbusiness.com needs a domain and hosting. That is a bigger step, and worth it when the page is your business's main home. Many people begin with a quick link to test the idea, and move when they have real visitors.
Mistakes beginners make
- Saving as
.txt. The page will show as plain code. Rename the file to end in.html. - Copying only part of the code. Always copy from the first line to the last.
- Using pictures from your computer. They will not show for other people. Ask for pictures inside the file or on a public address.
- Expecting a form to collect emails. A single page has no server. For contact, use a WhatsApp or email link instead. The WhatsApp link generator helps.
- Sharing something private. Treat every link as public.
Want the full steps? See our guide on how to host an HTML file for free.
FAQ
Do I need to know how to code?
No. If something needs changing, describe it to the AI and copy the new version.
How long will my link work?
That depends on the service. On DropMyPage free links last 7 days, and paid plans can keep links permanent.
Can I change the page after publishing?
You can make a new version and share a new link. Editing a link in place is a paid feature on DropMyPage.
Which AI tool should I use?
Any tool that gives you HTML works. For tool-specific steps see how to share a Claude artifact as a link and how to share a ChatGPT page.