You asked Gemini for a website. Here's how to put it online.
Last updated: 2026-08-10
Short version — paste the HTML Gemini gave you into the box on htmltosite.com and click “Get my address.” Your site is live on a real URL in about 60 seconds. No server, no install, no credit card.
At a glance
- Time needed
- About 1 min
- Plan required
- Free plan
- Coding knowledge
- None
- Where to do it
- Paste box on the home page
Step by step
- 1
Ask Gemini for the page
Describe the page you have in mind and Gemini writes the HTML for you. Add “as a single HTML file” to the prompt so the CSS ships together with the markup — that turns the next step into one paste instead of several. Grab the code with the copy button on the response, and you're ready.
Gemini
Build a landing page for my local pilates studio as a single HTML file, with a class schedule, our location, and a booking button.index.html Copy<section class="hero"> <h1>…</h1></section> - 2
Paste it into HTMLtoSITE
Drop the code into the input box on the homepage and a live preview renders right next to it — not a mockup, the actual page. There's nothing to sign up for yet, so take a look first. Any scripts embedded in the page sit idle in this preview and start working normally the moment you publish.
The preview shows up the instant you paste — this is the real screen, not a render. - 3
Click “Get my address” and choose a name
Once the preview looks right, click the button. You'll sign in once — your pasted code carries over untouched — then pick a name and publish. Your site is live on the internet from that moment, and the free plan covers up to 2 sites with no card required.
myname.html2site.com LiveThat's the kind of address you get the moment you publish. Bring your own domain from the Starter plan onward and HTTPS is issued automatically.
- 4
Make future edits by typing, not prompting Gemini again
There's no need to go back to Gemini for small changes. In the editor, describe what you want changed — the AI locates the right code, shows you the diff before touching anything, and a single click reverts it if you don't like the result.
Edit assistantMake the booking button stand out more Updated the button's color and copy in two places. Happy to revert if you'd rather not keep it.
Frequently asked questions
Is this actually free?
Yes — up to 2 sites stay free indefinitely and we never ask for a card. Free sites carry a small “Made with HTMLtoSITE” badge, which disappears once you're on Starter or above.
Does the code Gemini writes work once it's published?
Yes, whatever HTML you paste gets published exactly as-is. Scripts inside the page stay paused in the pre-publish preview, but everything runs normally on the live site.
Can the site have more than one page?
The free plan is built around a single HTML file. Multi-file sites — sub-pages, image folders, and the like — become available starting on Starter.
Can I point my own domain at it?
Yes, from Starter onward you can connect a domain you already own, and the HTTPS certificate is issued automatically. On the free plan you just use the html2site.com address you're given.
Do I need to know how to code to make changes?
No. Type something like “change the class times” into the editor and the AI edits the code for you. You can also click an element to point at it directly, and every publish leaves a snapshot you can roll back to.
Read next
- You asked ChatGPT for a website. Here's how to put it online. Step-by-step guide to publishing ChatGPT-generated HTML on a real address in 60 seconds, no server needed (English)
- You asked Claude for a website. Here's how to put it online. Step-by-step guide to publishing Claude-generated HTML on a real address in 60 seconds, no server needed (English)
- You already have an HTML file. Here's how to put it online. Step-by-step guide to publishing an existing HTML file on a real address in 60 seconds, no server needed (English)
- Get your site found — by search engines and AI answers alike How to get a published site found by search engines and AI answers (AEO) — from Branding settings to structured data (English)
Trying it is faster than reading about it — paste your HTML now.