Free Video Compression for Everyone.

Author: Fei Y (Page 1 of 19)

Fei is a skilled software engineer. He previously worked at Google and now at a startup. His expertise includes web media processing, cloud architecture, complex algorithms, and AI training and deployment. Beyond work, Fei enjoys diving into new knowledge and is a big fan of strategy games.

How to Compress Video for a Website Without Slowing It Down

A video on your homepage can make a site feel alive — or make it feel broken. Drop a 120MB phone clip into a hero section and visitors on mobile data stare at a blank box while the page’s Largest Contentful Paint score falls off a cliff. The fix isn’t to give up on video. It’s to treat every clip like any other page asset: give it a size budget, then compress it to fit.

This guide shows how to pick that budget, how to turn it into a target file size with one line of arithmetic, and how to compress the video to that exact size in your browser — without uploading the file anywhere.

Why video size matters for page speed

Video is usually the heaviest thing on a page by a wide margin. A typical web page’s HTML, CSS, JavaScript and images together weigh around 2–3MB; a single unoptimized clip can be fifty times that. The cost shows up in three places:

  • Load time and Core Web Vitals. An autoplaying hero video competes for bandwidth with everything else above the fold. If its poster frame or first frame is the largest element on screen, it directly drives your LCP score.
  • Mobile visitors. On a 4G connection doing 10 Mbps in practice, every 10MB of video costs about eight seconds of download. Many visitors leave long before that.
  • Hosting bills. If you self-host, bandwidth is paid per gigabyte. A 50MB background loop seen by 20,000 visitors a month is a terabyte of transfer — for a decoration.

The good news: web video almost never needs the bitrate a phone or camera records at. Your iPhone captures 4K at roughly 400MB per minute so you can crop and grade later. A muted 20-second background loop needs a tiny fraction of that.

Size budgets for common website videos

These are practical starting points, not hard rules. File size is simply bitrate × duration, so the right-hand column follows directly from the bitrate column (1 Mbps ≈ 7.5MB per minute).

Use on the pageTypical lengthResolutionVideo bitrateSize target
Hero / background loop (muted)10–30 s720p–1080p1–2 Mbps2–5MB total
Mobile-first background10–20 s720p0.8–1.2 Mbps1–3MB total
Product demo / feature clip30–90 s1080p2–4 Mbps15–30MB per minute
Landing-page explainer with voice1–3 min1080p2.5–4 Mbps20–30MB per minute
Long tutorial or webinar10 min +1080p—Use YouTube/Vimeo/a video host

Background loops can go much lower than you’d expect because nobody studies them closely, they’re usually slow-moving, and many sites dim or blur them under text anyway. Product demos with on-screen text or UI need more bitrate so small details stay sharp. Anything long enough that people will scrub, pause or watch on a TV belongs on a dedicated video host with adaptive streaming — a single MP4 file isn’t the right tool there.

Turn the budget into a target file size

You don’t need to think in bitrates at all if your compressor lets you set an output size directly. Work backwards from the budget:

Target size (MB) ≈ bitrate (Mbps) × duration (seconds) ÷ 8

So a 20-second loop at 1.5 Mbps is 1.5 × 20 ÷ 8 = 3.75MB, and a 60-second demo at 3 Mbps is about 22MB. Round to a friendly number and that’s the figure you type into the compressor.

How to compress a video for your website (step by step)

  1. Trim first. Every second you cut is bitrate you can spend on the seconds you keep. A background loop rarely needs more than 15–20 seconds.
  2. Start from the right resolution. If the source is 4K, export or record it at 1080p before compressing. At a low web bitrate, 1080p frames look cleaner than 4K frames starved of data. (On iPhone: Settings → Camera → Record Video → 1080p HD at 30 fps.)
  3. Open RedPandaCompress and drop in the clip. MP4, MOV, WebM, MKV, AVI and more are accepted, up to 2GB.
  4. Set the output size to the target you calculated — 4MB for the hero loop, 22MB for the one-minute demo. If you’re not sure, the automatic mode finds a size that balances quality and weight for you.
  5. Compress and check. Play the result full-screen on a laptop and on your phone. If edges look blocky in fast motion, go up 20–30% and try again; if it looks identical to the original, try going lower.
  6. Upload the MP4 to your site — WordPress media library, Shopify, Webflow, Squarespace or your own server.

Two things worth knowing about how this works. First, the compression runs 100% in your browser: the video is processed on your own device and never uploaded to a server, which matters when the clip is an unreleased product, a client’s footage, or anything under NDA. Second, the output is H.264 MP4 — the one video format that plays in every browser (including Safari on older iPhones), every CMS and every email client, so you don’t need fallback files.

Worked example: a 24-second hero video

Say you filmed a slow pan across your workshop on an iPhone for a homepage background. The original is 24 seconds of 4K/60 HEVC: about 160MB. Here’s the path to a page-friendly file:

  • Trim to the best 18 seconds and export at 1080p/30 from Photos or iMovie.
  • Budget for a background loop: 1.5 Mbps → 1.5 × 18 ÷ 8 ≈ 3.4MB. Call it 3.5MB.
  • Compress to 3.5MB in the browser. The result is a universally playable H.264 MP4 at about 2% of the original size.
  • On a 10 Mbps mobile connection that’s under three seconds of download instead of more than two minutes — and with preload and a poster image (below), the visitor sees the page immediately while the video arrives.

These numbers are illustrative — your footage will land differently depending on how much motion and detail it has — but the arithmetic is the same for any clip.

Embed it so it doesn’t block the page

Compression is most of the win, but the embed code decides when those bytes are downloaded. For a background or hero loop, this is the pattern that works everywhere:

<video autoplay muted loop playsinline preload="metadata" poster="hero-poster.jpg">
  <source src="hero-loop.mp4" type="video/mp4">
</video>
  • muted + playsinline are required for autoplay on iPhone and in most desktop browsers.
  • poster gives the browser a lightweight image to paint instantly — use a compressed JPG or WebP of the first frame.
  • preload=”metadata” (or "none" for videos further down the page) stops the browser fetching the whole file before it’s needed. Videos below the fold should only start loading when they scroll into view.
  • Muting doesn’t shrink the file. The audio track is still downloaded. For a silent loop it’s only ~1MB per minute at typical bitrates, so it rarely matters — but if you’re squeezing every kilobyte, remove the audio in your editor before compressing.

For longer self-hosted MP4s that visitors will actually watch, it’s also worth making sure the file is “fast start” (the index sits at the beginning of the file), so playback can begin before the download finishes. Most CMS video blocks and hosts handle this for you; if you serve files from your own server, a one-time pass with ffmpeg -i in.mp4 -c copy -movflags +faststart out.mp4 does it without re-encoding.

H.264, H.265 or AV1 for the web?

Newer codecs like H.265 (HEVC) and AV1 can hit the same quality at a smaller size, and you’ll see guides recommending them for hero videos. The catch is support: HEVC doesn’t play in every browser, and AV1 still fails on many older iPhones and Macs. Using them safely means encoding two or three versions and listing them as fallbacks in the <source> tags. For most small-business sites, a well-compressed H.264 MP4 is the pragmatic choice: one file, plays everywhere, and at the budgets above the size difference is a megabyte or two. Our H.264 vs H.265 vs AV1 comparison goes deeper on the trade-offs.

FAQ

What is a good file size for a website background video?

Aim for 2–5MB for a 10–30 second loop, and under 3MB if most of your traffic is mobile. That works out to roughly 1–2 Mbps at 720p or 1080p, which looks clean for slow, ambient footage.

Does compressing a video for the web reduce quality?

Technically yes — compression discards data — but at sensible budgets the difference isn’t visible in a browser window. Camera files are recorded at very high bitrates for editing headroom, so most of what’s removed was never going to be noticed. Check the result full-screen and raise the target if you see blockiness. Our guide to compressing video without losing quality covers this in detail.

Should I host videos myself or use YouTube?

Self-host short, silent, decorative clips (hero loops, product snippets): they look cleaner without a player UI and you control loading. Put anything long, or anything people will actually sit and watch, on YouTube, Vimeo or a video host, which stream adaptively and absorb the bandwidth.

Is it safe to compress client or unreleased footage online?

With most online compressors, your file is uploaded to someone else’s server first. RedPandaCompress runs the whole compression inside your browser tab, so the video never leaves your computer. We explain how to verify that yourself in Are Online File Converters Safe?

Give every video a budget

Fast pages with video aren’t about a secret codec setting — they come from deciding how many megabytes a clip is worth, compressing it to exactly that, and embedding it so it loads at the right moment. When you’re ready, compress your website video to a target size with RedPandaCompress: free, no watermark, no upload, and an H.264 MP4 that plays on every browser your visitors use.

Best HEIC to JPG Converter: We Measured Colour and Metadata on 6 Free Tools

Converting an iPhone photo to JPG looks like the most solved problem on the internet. Drop in a HEIC, get a JPG. But the file that comes back is not the same from one tool to the next, and the differences are ones you cannot see in a thumbnail: whether the colours are still the colours your phone captured, and whether the photo still knows when and where it was taken. We ran the same iPhone photo through six free converters and measured what came out.

Disclosure: this blog is published by RedPanda Compress, which is one of the tools tested. It went through the same procedure as the others. It also failed one of these tests when we first ran it — more on that below, because it is the most useful thing in this article.

The short answer

  • Almost everyone gets colour right. Five of the six kept the photo’s Display P3 colour profile and came back within a fraction of a shade of the original. FreeConvert was the exception, and its output is visibly duller.
  • Four of the six hand back your GPS coordinates. heictojpg.com, iLoveIMG, CloudConvert and Picflow copy the entire metadata block through, location included. That is exactly right for archiving and exactly wrong for a photo you are about to post.
  • Nobody except us lets you choose. Every other converter here has one fixed behaviour. RedPanda Compress asks: remove everything, keep the date and camera, or keep the lot.
  • If you just want the best-looking JPG: any of the five that keep the profile will do. The measured difference between them is far smaller than the difference between keeping the profile and dropping it.

How we tested

  • The file: a 1280×720 HEIC built from a frame of Big Buck Bunny (CC-BY, Blender Foundation) — the same source as our video compressor comparison — tagged Display P3 like an iPhone photo, carrying a full metadata block: camera make and model, lens, date taken, ISO, aperture, shutter speed and GPS coordinates. Eight mid-saturation colour patches are laid into the image so the colour can be measured rather than eyeballed.
  • Defaults only. We changed nothing. The point is what happens when you don’t open the options panel.
  • How colour was measured: each patch in the returned JPG was compared with the original using ΔE2000, the standard measure of how different two colours look. Below about 1 nobody can see a difference; around 2 a careful eye can; above 4 it is obvious side by side.
  • How metadata was measured: exiftool, checking each field individually rather than trusting a “metadata preserved” claim.
  • Which tools: the free web converters ranking for “heic to jpg” in US organic search — a term with around 246,000 searches a month in the US alone, and 1.2 million worldwide. Four more are listed at the end with the reason we could not measure them.

Test 1: do the colours survive?

An iPhone photo is tagged Display P3 — a wider range of colours than the old sRGB standard that most of the web assumes. The numbers inside the file only mean the right colour if the file also carries the label saying “read these as P3”. A converter has two correct options: copy that label through, or convert the numbers to sRGB so the picture still looks the same. The one wrong option is to keep the numbers and throw the label away, which leaves everything reading as more saturated than it should.

ToolColour profileColour error (ΔE)Output size
RedPanda CompressDisplay P3 kept0.15 avg / 0.38 max102 KB
iLoveIMGDisplay P3 kept0.15 avg / 0.38 max135 KB
CloudConvertDisplay P3 kept0.15 avg / 0.38 max135 KB
PicflowDisplay P3 kept0.15 avg / 0.38 max79 KB
heictojpg.comDisplay P3 kept0.20 avg / 0.62 max79 KB
FreeConvertnone2.56 avg / 4.56 max131 KB

Five tools land in a dead heat, essentially at the limit of what the format allows. The sixth is in a different category, and it is visible:

Two rows of eight colour swatches from the same iPhone photo; the lower row, from a converter that dropped the colour profile, is visibly duller and less saturated
Eight colours from the test photo. Top: the photo as it should look. Bottom: the same photo after a converter dropped the colour profile. White and grey are unaffected; everything saturated shifts.

This is not a subtle difference in a laboratory. Skies, skin tones and anything brightly coloured come back wrong, and because the file carries no profile at all, no amount of later editing tells you what the original was.

Test 2: does the photo still know when and where it was taken?

Inside every iPhone photo is a metadata block: the date and time, the camera and lens, the exposure settings, and — if location services were on — the GPS coordinates, accurate to a few metres. What a converter does with that block is a real decision, and the six tools split three ways.

ToolDate takenCamera & lensGPS location
heictojpg.comkeptkeptkept
iLoveIMGkeptkeptkept
CloudConvertkeptkeptkept
Picflowkeptkeptkept
FreeConvertremovedremovedremoved
RedPanda Compressyour choice — remove all (default), keep date & camera, or keep everything

Neither of the fixed behaviours is wrong in itself; they are right for different photos. Keeping everything is what you want when you are converting a holiday album that should still sort by date in Google Photos. Removing everything is what you want before a photo goes onto a public listing, a forum or a dating profile, because otherwise you are publishing the coordinates of wherever you took it. The problem is that a tool with one fixed behaviour is always wrong for half the jobs, and it does not tell you which half you are in.

The part where our own tool failed

When we first ran this test, RedPanda Compress was the tool in the bottom row of that colour comparison. Our converter was writing out Display P3 pixel values under an sRGB label — exactly the mistake described above — and measured 2.56 ΔE, the worst in the group alongside FreeConvert. It also removed all metadata with no way to keep any of it.

We fixed it. The colour profile is now copied into the JPG, and the metadata is a choice with three settings. Re-measured with the same fixture and the same script, the output is 0.15 ΔE — tied with the best in this comparison and slightly ahead of heictojpg.com. The image data itself did not change by a single pixel value.

We are telling you this because it is the honest way to publish a comparison you appear in, and because it is a useful warning: this defect is invisible unless you go looking for it. It produces a perfectly valid JPG that opens everywhere and looks fine on its own. You only see the problem next to the original.

Tool by tool

heictojpg.com: the fastest route if you have a big pile

The best-known name for this job, and it earns it: colour and metadata both came through intact, and it takes up to 200 photos at a time. The output was the smallest in the test at 79 KB, achieved with noticeably more aggressive compression than the others — fine for sharing, slightly less so if you are archiving. Your photos are uploaded to their servers.

Picflow: the same correctness, without the upload

Picflow converts inside your browser — we checked the network traffic and nothing left the machine — and still kept the colour profile and the full metadata block. That combination is worth noting, because “we run locally” is often used as an excuse for losing things. It handled 100 twelve-megapixel photos without complaint, at about 2.8 seconds each, though its memory use climbed to around 600 MB doing it, which is the sort of thing that decides whether a phone survives the job.

One thing to know: given an image with a transparent region, Picflow discards the transparency and writes out whatever pixels were underneath. If you have erased part of a photo, the erased part comes back.

CloudConvert and iLoveIMG: correct, generous, and larger files

Both got everything right and both produced a 135 KB file — noticeably larger than the rest, because they encode full-resolution colour information that the HEIC did not contain in the first place. Neither measured better for it. CloudConvert has by far the best options panel of the group if you want to override anything, and caps free use at 10 conversions a day. iLoveIMG has no such cap and sits alongside the rest of its image toolbox.

FreeConvert: the one to avoid for photos

FreeConvert returned a JPG with no colour profile at all and no metadata: 2.56 ΔE average, 4.56 at worst, and a file that has lost both the information needed to display it correctly and the record of when it was taken. For a screenshot none of this matters. For a photograph, it is the worst outcome in this comparison. It is otherwise a capable converter with a large format list — this specific job is not where it is at its best.

RedPanda Compress: nothing is uploaded, and you pick the metadata

The conversion runs in your browser, so the photos never leave your device — no upload wait, no queue, no copy sitting on a server. Colour measured 0.15 ΔE, tied for best here, and the JPG itself was the most faithful to the original of any tool in the test. Metadata is a three-way choice, defaulting to removing everything, and when you keep the date the ZIP of a converted batch stamps each photo with the date it was taken, so the files still sort correctly after you unzip them. There is no account, no daily cap and no watermark. The trade-off is that the work happens on your own hardware, so an older machine takes longer.

Four we could not test, and why

  • Convertio converted the file correctly but we could not retrieve the result on our connection — its download links are tied to the IP address that made the request, which our network does not keep stable. Not a fault of the tool.
  • Adobe Express and Canva are free but the conversion runs inside their editor, which requires an account. We did not create one.
  • Watermarkly and heic.online could not be driven through our automated test setup. Both may work perfectly well by hand.

What to check before you convert

  • Decide whether the location should travel with the photo. This is the setting that actually matters and almost no converter asks you about it. If the photo is going somewhere public, strip it.
  • If your library sorts by date, keep the date. A JPG with no date taken lands in your photo app as an undated file and sorts by when you imported it, which quietly scrambles an album.
  • Check one converted photo against the original before doing a thousand. Open both side by side. Colour damage is obvious in a comparison and invisible on its own.
  • Think about where the file goes. Most converters here upload your photos to a server and delete them on their own schedule. For holiday snaps that is a non-issue; for anything private, use a converter that runs in your browser.

Frequently asked questions

What is the best free HEIC to JPG converter?

For pure correctness, five of the six we tested are equally good: RedPanda Compress, iLoveIMG, CloudConvert, Picflow and heictojpg.com all preserved colour to within a fraction of a shade. Choose between them on the things that differ — whether your photos are uploaded, whether you want the location removed, and how many files you have.

Does converting HEIC to JPG lose quality?

A little, unavoidably: both are lossy formats, so the photo is decoded and re-encoded once. In our measurements every tool landed within about two decibels of the theoretical best, which is not visible. The differences that are visible come from colour handling, not from re-encoding.

Why is my JPG bigger than the HEIC it came from?

Because HEIC is simply a more efficient format — roughly twice as efficient at the same quality. A JPG that is larger than the original is normal and expected. What you get in exchange is a file that opens everywhere.

Will converting remove the GPS location from my photos?

Usually not. Four of the six converters we tested copied the GPS coordinates straight into the JPG. If you are converting photos in order to post them somewhere public, check — or use a converter that lets you remove the location deliberately.

Can I convert a whole camera roll at once?

Yes. heictojpg.com takes 200 at a time; the browser-based tools have no fixed limit and are bounded by your own machine’s memory instead. We ran 100 twelve-megapixel photos through two of them without a failure.

Conclusion

Most of these converters do the hard part correctly, and the one that doesn’t fails in a way you would never notice on your own. The real choice is not about quality at all — it is about two things nobody puts on the front page: whether your photos are uploaded to somebody else’s server, and whether the coordinates of your home travel inside the file you are about to share. Pick a tool that answers both the way you want, and check one photo before you convert a thousand. If you want the conversion to happen on your own machine and to decide for yourself what metadata survives, our HEIC to JPG converter is free and unlimited.

« Older posts