Put your website online by asking AI
Just drag your files in and get a shareable link. It really is that simple.
Drag your website here
Drop a folder with your index.html — or just paste HTML from your clipboard — and we'll put it online in seconds. No setup, no config, no headaches.
How it works
Four steps, zero jargon. From your computer to the internet in about a minute.
- 01
Drop your files
Drag a folder with your index.html straight into the box. That's the whole first step.
- 02
We do the magic
Your files get uploaded and we hand your site its very own web address automatically.
- 03
You're live
Share your link with the world. Your site is online and ready to visit right away.
- 04
Tweak anytime
Head to your dashboard to re-upload, rename, or delete your sites whenever you like.
Frequently asked questions
Everything you might be wondering before you hit publish.
What is this service?
1FreeHosting puts static websites online for free. Drag a folder with your HTML, CSS, and JavaScript into the box and you get a live link on your own subdomain in seconds — no git, no build steps, no servers to configure.
How do I share an HTML presentation?
Drop the folder containing your presentation (or a single HTML file) into the upload box above, hit publish, and send the link you get to anyone. You can even paste HTML straight from your clipboard and we'll turn it into a page for you.
How do I publish HTML from an AI chat?
3 ways. Easiest: copy the HTML the AI wrote and paste it into 1freehosting — it becomes a live page instantly. Long term: install our browser extension and publish from ChatGPT, Claude, or Gemini with one click. AI agents: copy the instructions via the button at the top of the page and paste them into the chat — the agent will guide you through the process.
Can AI agents publish HTML pages?
Yes. Click the copy button at the top of this page and paste the instructions into your AI agent — it can publish through our upload API or MCP tool without an account. You'll get back a live URL plus a private claim link to attach the site to your own dashboard.
How long do pages stay live?
Forever, as far as we're concerned. Published sites don't expire — they stay online until you delete them from your dashboard. All illegal content is removed without notice. See our terms of service for more details.
Is there an API for publishing?
Yes. POST your files to /api/agent-upload (multipart form or JSON) and you'll get a live URL back, or connect via our MCP server if you're using an AI agent. The copyable AI instructions at the top of the page include the full details.
Do I need to sign up?
Publishing from this page takes a free account, so your sites have a home in your dashboard. Deploys from the CLI, the API, or an AI agent work without an account — you get a private claim link you can use later to attach the site to a free account.
What's the file size limit?
Each site can be up to 50 MB in total (until 2027 Jan 1st, after that the limit will be reduced), spread across up to 500 files. That's plenty for landing pages, presentations, portfolios, and most static sites.
How to publish from terminal?
Run npx hosting in your project folder. It uploads everything and prints your live URL plus a claim link — no install or account needed. See the /cli page for all commands and options.