htmlhost.co
newForms, and a home for every site — v3.0.0→

Paste HTML.
Get a link.

The internet's most advanced tool for static web hosting and site editing using AI. Bring your code, manage multi-page projects, collect form submissions, and launch instantly on your own custom domain.

Import your project

Free to start
Host and Edit Websites Using AI
What's in the box
Only the things you'd actually use.
Instant deploy
Paste HTML or drop a file — your site is live in under 3 seconds. No build step, no config, no waiting.
~120ms deploy · instant CDN
AI visual editing
Click any element, describe the change, watch it happen live. Powered by GPT, Claude, or Gemini — your choice.
element select · streaming edits
CLI deploy
Deploy from the terminal with one command. Points at a file or directory, remembers your project, and re-deploys in place.
npm i -g htmlhost-cli
Frictionless Publishing
Keep your site online and claim your projects easily with our seamless in-editor sign-in flow.
Secure · Free forever
Bring your own key
Use our built-in AI for free, or plug in your own API key from OpenAI, Anthropic, or Google for unlimited edits.
BYOK · keys never leave your browser
Media library
Upload images, fonts, and assets from browser or CLI. Get permanent URLs served from Cloudflare's edge.
htmlhost upload ./assets/
Auto-expiry
Set a TTL on any site. Perfect for temporary demos, interview take-homes, or things you want to disappear.
1d · 7d · 30d · never
Custom domains
Pro users can connect their own domain. Point a CNAME, we handle SSL and routing automatically.
CNAME setup · auto SSL · Pro
REST API
Full API with Bearer token auth. Deploy, list, delete sites, and upload media programmatically from any language.
POST /api/sites · Bearer auth
One-click share
Every site gets a shareable link on its own subdomain. Copy, tweet, or use the native share sheet.
*.htmlhost.co · OG previews
Sandboxed & secure
Every site runs on its own subdomain. API tokens are SHA-256 hashed. Keys stored locally with 0600 permissions.
strict CSP · hashed tokens
Multi-page sites
Deploy a directory of HTML files as one multi-page site with clean URL routing. /about, /contact, /blog — it all just works.
htmlhost deploy .
Or from the terminal
One command. Live site.
$ npm i -g htmlhost-cli
$ htmlhost login
$ htmlhost deploy // deploys current directory
✓ Live at https://bold-fern-x3k.htmlhost.co
Linked → .htmlhost (future deploys update this site)
FAQ
Frequently asked questions
Yes. The built-in AI editor lets you click any element on your live page and describe what you want to change in plain English. The AI — GPT-4o, Claude 3.5 Sonnet, or Gemini — makes the edit live with a streaming diff preview. No setup, no separate tool. It's built directly into the editor at htmlhost.co/new.
htmlhost.co always supports the latest models from OpenAI, Anthropic, and Google. You can use the built-in model on the free plan with no API key needed, or bring your own key from any of these providers for unlimited edits.
Paste your HTML into the browser editor and click Deploy — you'll get a live URL in under 3 seconds. You can also use the CLI: install htmlhost-cli, then run 'htmlhost deploy index.html' from your terminal.
Yes. Free publishing is available with no credit card, subject to free-plan restrictions. Pro unlocks unlimited sites, custom domains, and never-expire hosting.
Pro users can connect a custom domain to any site. Point a CNAME record to htmlhost.co and we handle SSL automatically. You can manage domains from the Settings page.
Yes. Use 'htmlhost deploy .' to deploy an entire directory as a multi-page site. Each HTML file maps to a clean URL path — index.html becomes /, about.html becomes /about, and so on.
Yes. htmlhost.co has a full REST API with Bearer token authentication. You can deploy, list, delete sites, and upload media programmatically. See the docs page for endpoints and examples.