deloc

How to Put an HTML File on the Internet

· Deloc

You have an HTML file. You want other people to see it. Here are three ways to put an HTML file on the internet in under a minute.

The Fastest Way

Go to deloc.dev/paste. Paste your HTML. Click deploy. You get a link. Send it to anyone. Done.

That is it. No account required to try it. No terminal. No Git. Just paste, click, and share the link.

If Your File Is on Your Computer

If you do not want to paste the code, you can drag and drop the file instead.

  1. Go to deloc.dev and sign up. One click with Google or Microsoft.
  2. Click Deploy.
  3. Drag your HTML file into the upload area.
  4. Copy the link.

This works with a single HTML file. It also works with a folder if your file uses CSS, JavaScript, or images. Drag the whole folder in and everything gets uploaded together.

If You Built It with an AI Coding Tool

If you built the HTML file with Claude Code, Cursor, or a similar tool, you do not need to leave the tool to put it on the internet.

In your terminal, run:

npx @deloc/cli deploy

Or if you have the Deloc MCP server set up, just type into the chat:

“Deploy this to Deloc”

The tool builds your file, uploads it, and gives you back a live link.

What Happens When You Deploy

Your file gets copied to a global network of computers that serve web pages. That is what makes a regular HTML file into a real website.

Anyone with the link can open it in any web browser, on any device, anywhere in the world.

The link stays live until you take it down. You do not have to keep your computer on. You do not have to do anything to maintain it.

The link looks like https://your-name.deloc.app. You can send it the same way you would send any other link.

Things You Might Want to Do Next

  • Password protect it. Only people with the password can see the page. Free on Deloc. See how to password protect a website for free.
  • Change the file later. Upload or paste again. The link updates automatically. You do not need to send a new link.
  • Share the link. Drop it in Slack, an email, or a text. The person you send it to does not need to install anything.
  • Delete it when you are done. One click in your dashboard.

Put Your HTML on the Internet Right Now

The paste tool is the fastest path. No signup needed to try it. deloc.dev/paste

If you want the full story on deploying from an AI coding tool, see How to Share a Dashboard Built with Claude.

← Back to blog