You recorded a 90-second product demo. Or a bug report. Or a quick tutorial for a teammate. Now you want to share it with a link.
YouTube feels like overkill — and it publishes to the world. Email bounces anything past 25 MB. Drive and Dropbox want an account and then hit you with "who can view" settings. There is a lighter path: keep the video on your machine, shrink it in the browser, wrap it in a tiny web page, and host that page as a public link. No upload to a video platform, no account for your viewers, no "this file is too large" error.
Here's the whole workflow, start to finish.
What you'll end up with
A single public URL — something like https://htmlhoster.com/p/XXXX/index.html — that opens a clean page and plays your video right there in the browser. The people you share it with just click and watch. They don't install anything, and you didn't have to hand your clip to a social platform to make it happen.
The pipeline has three moves:
- Compress the video in your browser (so the file is small enough to host anywhere).
- Wrap it in a one-file HTML page with a
<video>tag. - Host that page as a link with HTML Hosting.
Let's go through each.
Step 1: Compress the video in your browser
Before you host anything, make the file small. The easiest way is VidPackit, a free video compressor that runs entirely inside your browser and never uploads your file.
Nothing is uploaded. Your file is decoded and re-encoded by your browser itself (using the WebCodecs API), and the smaller result is written back to your device. You can confirm it yourself: open the Network tab, compress a file, and you'll see no video data leaving your machine. Turn off Wi-Fi after the page loads and it keeps working, because it never needed a connection.
How to use it:
- Drop your video onto the page, or pick it from disk. VidPackit reads its size, duration, resolution, and codec.
- Pick a level — each one targets a fixed share of your source bitrate, and the tool shows you the exact target bitrate before you start:
- Original — 100% of the source video bitrate (great for repackaging into another format).
- High — 70% of the source video bitrate.
- Medium — 40%.
- Low — 20%.
- Optionally drop the resolution to 720p, 480p, or 360p, or switch the container. Video output covers MP4, WebM, MOV, MKV, M4V, and MPEG-TS; audio-only output covers MP3, AAC, WAV, FLAC, and OGG.
- Press convert and download the smaller file.
One nice guarantee: the target bitrate is clamped to your source, so the output is never larger than the file you started with. It's free, with no watermark and no sign-up, and it runs on desktop Chrome and Edge. Whenever you need to reduce a video's file size before uploading it anywhere, this is the fastest, private way to do it.
Step 2: Wrap it in a tiny HTML page
Now put the compressed clip next to a small index.html file. Here's a minimal page that plays it:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My video</title>
<style>
body { margin: 0; background: #0f1115; display: grid; place-items: center; min-height: 100vh; }
video { width: min(900px, 92vw); border-radius: 12px; }
</style>
</head>
<body>
<video controls src="clip.webm"></video>
</body>
</html>
Save that as index.html, put your compressed video in the same folder (named clip.webm to match the src above, or change the src to your filename), and you have a self-contained mini-site.
Step 3: Host it as a link
Open HTML Hosting and upload the folder — or zip index.html and clip.webm together and upload the zip. HTML Hoster unpacks it, treats index.html as the entry point, and gives you a public URL.
That URL is your shareable link. Send it in a chat, an email, or a ticket; anyone who opens it sees the page with your video playing inline. No viewer account, no app, no "download to watch."
(HTML Hosting is built for HTML pages, PDFs, and images, so this approach fits small clips best — a demo, a short tutorial, a looping explainer. For a multi-gigabyte recording, a dedicated video host is the more practical home.)
Why not just use YouTube or Drive?
Honest trade-offs, because each tool has its place:
| HTML Hosting + browser compression | YouTube | Google Drive / Dropbox | |
|---|---|---|---|
| Video leaves your machine? | Only the compressed file you choose to upload | Yes — full upload to Google | Yes — full upload |
| Viewer needs an account? | No | No | Often yes |
| Public by default? | Yes (it's a link) | Yes (unless unlisted/private) | No — you manage sharing |
| Best for | Small demos, clips, private-by-choice shares | Reach, discovery, long-form | Internal collaboration |
| Inline playback on any link | Yes | Yes (with embed) | Depends |
The point isn't that YouTube is bad — it's that for a quick, account-free, "just give me a link" share, the in-browser compress-and-host route is lighter and keeps you in control.
Frequently asked questions
Does my video ever leave my device? During compression, no — VidPackit processes everything in your browser. You then choose to upload only the already-compressed file to HTML Hosting to get a link. That final upload is the only time the clip touches a server, and it's the smaller version you picked.
What video formats can I compress? VidPackit reads whatever your browser can decode (MP4, MOV, MKV, WebM, AVI, MPEG-TS, and common audio files) and outputs MP4, WebM, MOV, MKV, M4V, or MPEG-TS for video, plus MP3, AAC, WAV, FLAC, or OGG for audio-only.
Is it free? Yes. Both VidPackit and HTML Hosting are free to use for this, with no sign-up required to start.
Is there a file-size limit? VidPackit is limited by your device memory, since encoding happens locally. HTML Hosting is designed for HTML, PDFs, and images, so keep the clip small — a demo or short tutorial, not a feature-length recording.
Which browsers work? VidPackit's in-browser encoding needs desktop Chrome or Edge, which ship full WebCodecs support. Other browsers will warn you and grey out formats they can't produce.
Can I replace the video later?
Upload a new zip with the updated clip.webm and you'll get a fresh link. The old one stays live until you take it down, so you can switch references at your own pace.
Ready to share your first video?
Compress your clip with VidPackit's free in-browser video compressor — no upload, no watermark, no account — then publish the page with HTML Hosting and you'll have a shareable link in a couple of minutes.
For other ways to share work without attachments, see How to Create a Link to a PDF, or browse the blog for more hosting and sharing tips.

