HTML to Website

HTML to Website Converter — paste your code, get a live site free in 10 seconds

Paste HTML and publish it as a real website on its own HTTPS address. The free plan needs no credit card, no GitHub account, and no terminal. The live URL is ready in about 10 seconds.

Paste HTML → get a website

Free · No credit card · Live website in ~10 seconds

How to Turn HTML into a Website

  1. 1
    Paste your HTML code

    Copy a full HTML document or a snippet from a file, a tutorial, or ChatGPT, Claude, or Gemini. OneClickLive detects HTML, React or JSX, Vue, and plain JavaScript. Curly quotes from AI chats are normalized to straight quotes, and a markdown code fence or a short chat intro in front of the code is stripped so the saved page is the code itself.

  2. 2
    Click Deploy

    The page is stored on Cloudflare R2 and published at a subdomain such as abc12345.oneclicklive.app, usually in about 10 seconds. A Worker looks the name up and serves the file over HTTPS with a Content-Security-Policy header. Free sites also show a small Hosted on OneClickLive banner. If you are not signed in yet, the next step is an email magic link or Google — no password to choose and no credit card — and the paste stays in the browser so you do not retype it.

  3. 3
    Share your live URL

    Copy the address and send it. It opens in any browser on any device. Edit the source in your dashboard and redeploy: the URL stays the same, and the new version is stored. Delete the project when you are done and the subdomain is released.

How HTML to Website Hosting Works

HTML to website, here, means the code you paste becomes a public page on its own hostname. There is no server for you to configure, no Git repository, and no build command. Plain HTML is saved as the site and served from Cloudflare’s edge, including style and script tags in the same file. React and JSX are wrapped with React 18 from a CDN so a component renders without a bundler on your machine. Vue is wrapped with Vue 3. A loose JavaScript snippet is placed in a small HTML shell so it runs in the browser. A public Claude artifact URL can be pasted on its own: OneClickLive fetches the artifact and, when it is React, bundles it before hosting. A Replit app URL is wrapped in a full-page embed.

Visitors open https://your-slug.oneclicklive.app. The serving worker reads the slug, loads the HTML from storage, and returns it. The address is public: anyone with the link can open it. The slug is random, so it is not a name people can guess from a directory. When the page does not already set an Open Graph image, OneClickLive adds a preview image so the link can unfurl in chat. Free projects stop answering after 7 days and show an expired page; the code is still stored, and upgrading to Pro puts that same URL back online. Pro projects have no expiry until you delete them, and the banner is left off.

Scripts, fonts, and stylesheets loaded from a public HTTPS URL keep working — Google Fonts, the Tailwind CDN, Chart.js, jQuery, GSAP — because the site itself is HTTPS. A path like ./styles.css or ./logo.png is not inside the paste. After deploy you can upload the files the page references: images, CSS, JavaScript, fonts, audio, video, PDF, text, and XML. Uploads keep their folder path, up to 5 MB per file, 25 MB and 50 files per upload. HTML files are not accepted as uploads. The page you publish is the code you paste, so a second about.html does not become its own route. Inline the CSS and JavaScript, or upload the asset files and point at them.

What You Can Host

One pasted page, plus the files that page references. Not a PHP app and not a second HTML document.

A single HTML page

A complete document or a snippet, with CSS and JavaScript in the same paste. The file is served as HTML with a UTF-8 content type.

AI output

ChatGPT, Claude, Gemini, and a public Claude artifact link. Smart quotes, markdown fences, and a short preamble are cleaned up before the page is saved.

React, Vue, and plain JS

JSX is auto-wrapped with React 18. Vue uses Vue 3. A bare script gets an HTML shell. You do not run npm or a build step for these.

Assets next to the page

Images, CSS, JS, fonts, audio, video, PDF, txt, and XML, uploaded after deploy. 5 MB per file, 25 MB and 50 files per upload. Not extra HTML pages.

Node.js on Pro

A Node script deploys as a Cloudflare Worker instead of a static file. Built-in Node modules and Express are shimmed; other packages may be unavailable. The free plan cannot deploy these.

Not hosted

Python is rejected. PHP is not run as an application. A multi-page site made of several HTML files is not created by uploading those files.

Ways to Turn HTML into a Website

From fastest to most complex

MethodStepsTimeDifficultyCost
OneClickLiveFASTEST1 (paste & deploy)10 secondsNoneFree
GitHub Pages6+ (repo, commit, push, enable Pages, configure)5–15 minutesGit knowledgeFree
Netlify Drop3 (create account, drag folder, wait)2–5 minutesLowFree
cPanel Upload5+ (buy hosting, login, file manager, upload, test)20+ minutesMedium$3–10/mo
Local file://0InstantNoneFree

* Opening file:// locally doesn’t create a shareable URL. Only you can see it.

Sharing, a Custom Subdomain, and Your Own Domain

Every site gets an HTTPS URL on a subdomain of oneclicklive.app. On the free plan that name is eight random characters. You share it the same way you share any other link: email, Slack, WhatsApp, a slide, or a QR code. There is no separate preview URL. The page you open is the page the recipient opens. The homepage editor can show a browser preview before you deploy; this page’s box publishes the paste directly.

Pro replaces the random name when you want a readable one. A custom subdomain is 3 to 32 characters of letters, numbers, and hyphens, for example portfolio.oneclicklive.app. You can set it when you deploy or change it later in the dashboard. Names that are already taken or reserved are rejected. Pro can also attach a domain you already own, such as yourdomain.com. You add the DNS records shown in the project settings, and that hostname is connected to this one project. Disconnecting it frees the domain so you can point it somewhere else. You still pay the registrar for the domain name itself.

Password protection is Pro-only. Visitors get a password form before the HTML loads, and a wrong password stays on that form. Free accounts see a total view count on the project. Pro adds a chart of daily views for the last 30 days. You can also publish without the website editor: an API key that starts with ocl_ posts the code to the deploy API, and the OneClickLive MCP server can deploy from an AI coding tool with that key. Custom subdomains on those paths follow the same Pro rule. Every plan is limited to 10 deploys per hour and 50 per day.

Free Plan Limits and What Pro Changes

The free plan holds 3 projects at once. Each one stays online for 7 days, then the URL shows an expired page until you upgrade or the project is deleted. The address is random, and the OneClickLive banner sits on the page. There is no charge and no card. A single paste can be up to about 2 million characters.

Pro is €12 per month in most of the EU, and less in some countries. It allows up to 100 projects, removes the expiry, removes the banner, and adds the custom subdomain, your own domain, password protection, 30-day analytics, and Node.js hosting. The same hourly and daily deploy limits apply. Asset uploads stay at 5 MB per file, 25 MB total, and 50 files.

If a subscription ends, projects that were permanent pick up a fresh 7-day expiry. They are not deleted at that moment. Upgrading again clears the expiry and the original URL works. You can edit and redeploy as often as the rate limit allows. The public address does not change unless you choose a new Pro subdomain.

Who Turns HTML into Websites?

AI users

Turn ChatGPT, Claude, or Gemini output into a real website you can share.

Students

Submit HTML assignments as a live URL instead of a zip file.

Developers

Share prototypes and demos without setting up a hosting stack.

Designers

Preview HTML emails or landing pages at a real URL.

Why OneClickLive for HTML to Website?

About 10 seconds

Paste, click Deploy, copy the URL. No Git repo, no build step, no DNS for the free subdomain.

Free, no credit card

Three projects, seven days each. Sign-in is an email magic link or Google, with no password to invent.

AI-code ready

ChatGPT, Claude, and Gemini output is cleaned up: curly quotes, markdown fences, and a short preamble.

A real HTTPS URL

Each site is its own subdomain, served from Cloudflare with a Content-Security-Policy header.

FAQ — HTML to Website

How do I convert HTML code to a website?

Paste your HTML into the box at the top of this page and click Deploy. OneClickLive publishes it as a live website on its own URL in about 10 seconds. CSS and JavaScript in the same paste run on the live site too.

How do I turn HTML code into a website?

Paste the code and click Deploy. You get a live URL in about 10 seconds. You do not need GitHub, a terminal, a hosting control panel, or a credit card. You sign in with an email magic link or Google before the page is saved.

Can I convert a single HTML file to a website?

Yes. Open the file, copy the contents, and paste them. OneClickLive hosts that page at its own URL and serves it as HTML. You do not upload the .html file as an attachment. Extra HTML documents are not accepted as file uploads, so a second page such as about.html does not become its own route.

Is it free to turn HTML into a website, and do I need to sign up at a host?

The free plan is €0: 3 projects, each online for 7 days, with no credit card. You do not create an account at GitHub, Netlify, or a traditional host. The site is saved on your OneClickLive login, which is an email magic link or Google and does not ask you to choose a password.

Can I use HTML generated by ChatGPT or Claude?

Yes. Paste the output, or paste a public Claude artifact URL and OneClickLive imports it. Curly quotes and markdown fences are normalized. React and Vue from those tools are wrapped so they render without a local build.

How long does the website stay online?

Seven days on the free plan. After that the URL shows an expired page and the code is kept. Pro removes the expiry until you delete the project, and upgrading puts an expired free URL back online. If a Pro subscription ends, those projects get a new 7-day expiry instead of being deleted immediately.

Can I use my own domain or a readable subdomain?

On the free plan the address is a random subdomain such as abc12345.oneclicklive.app. Pro lets you choose a subdomain of 3 to 32 letters, numbers, and hyphens, such as portfolio.oneclicklive.app, if the name is free. Pro can also connect a domain you already own after you add the DNS records shown in the project settings.

Can I password-protect the site or see who visited?

Password protection is on Pro. Visitors enter a password before the page loads. Every project shows a total view count. Pro adds daily views for the last 30 days. Free pages are public to anyone with the link, and they show a small Hosted on OneClickLive banner that Pro removes.

Will my CSS, images, and JavaScript still work?

Anything in the same paste works, and so does anything loaded from a public HTTPS URL such as Google Fonts or a CDN script. A relative file such as ./styles.css or ./logo.png works after you upload that file: images, CSS, JS, fonts, audio, video, PDF, txt, and XML, up to 5 MB each, 25 MB and 50 files per upload. HTML uploads are rejected.

Can I update the website without changing the URL?

Yes. Open the project in the dashboard, edit the code, and redeploy. The subdomain stays the same and the new version is stored. You can do this up to 10 times an hour and 50 times a day. Deleting the project removes the slug, and a connected custom domain is disconnected.

Can I host React, Vue, or Node.js?

React and JSX are wrapped with React 18. Vue is wrapped with Vue 3. Plain JavaScript gets an HTML shell. Node.js is deployed as a Cloudflare Worker on Pro only; built-in Node modules and Express are shimmed, and other packages may not run. Python is not supported.

Turn Your HTML into a Website Now

Paste your code. Click Deploy. Get a live URL in 10 seconds.

Try It Free →

Free · No credit card · No GitHub · No terminal