How to compress video online without uploading
Compare local, server, and desktop video compression. Choose CRF or an MB target, fix oversized attachments, and understand quality and browser limits.
What is local video compression?
Local video compression encodes a video on your device instead of sending the media to a remote processing server. Localsquash runs FFmpeg WebAssembly in your browser.
The website downloads its processing engine when needed. Local media processing does not mean the website makes no network requests. Processing runs locally after the page and engine load; refreshing or reopening the website offline is not guaranteed.
Local vs server compression
A browser-based compressor can process files locally or upload them to a server. “Online” describes how you open the tool; it does not tell you where your media is processed.
- Local processing: Localsquash encodes on your device. There is no media upload step, but processing speed and capacity depend on your processor and available browser memory.
- Server processing: services such as FreeConvert and Clideo ask you to upload a video. Check their current file limits and data policies before sending a recording.
- Desktop processing: HandBrake runs locally after installation and supports batch queues and optional hardware encoding. It suits repeated or demanding jobs.
For an occasional clip you want to keep on your device, start with local browser compression. For long videos or a batch of files, compare the HandBrake workflow.
Compress a video in four steps
- Open the video compressor and select a supported file.
- Start with CRF 23–26 and the fast preset.
- Trim unnecessary footage; try 720p when suitable for sharing.
- Compress and compare the MP4’s file size and quality. Keep your original.
Common inputs include MP4, MOV, WebM, MKV, and AVI; support depends on the source codecs. For screen recordings, try CRF 18–23 and preserve enough resolution for readable text.
Choose quality or target size
Choose CRF when visual quality comes first
CRF controls encoding quality. Lower values retain more detail and generally produce larger files. Output size varies with the footage. Re-encoding is lossy, and an already optimized video may not shrink.
Choose target size for an upload limit
Enter a maximum in MB or MiB. The target-size tool uses two-pass encoding and checks output bytes and selected clip duration. One MB is 1,000,000 bytes; one MiB is 1,048,576 bytes. Exact output size is not guaranteed.
Try the Discord preset or Gmail preset for automatic settings. Gmail’s attachment budget covers all attachments in one message combined.
Why does a longer video look worse?
At the same target size, a longer clip has fewer bits available per second. More motion and fine detail also need more bits. Trim unused footage before reducing resolution or raising CRF.
Approximate total bitrate in kbps = target MB × 8,000 ÷ duration in seconds. A 20 MB budget for a 60-second clip gives about 2,667 kbps for video, audio, and container overhead combined. This is a planning calculation, not a measured result or an encoding guarantee.
Understand browser limits
Large or long videos can exhaust browser memory. Target-size inputs must be below 2,000 MB, and practical limits may be lower. Keep the tab open during processing.
HDR tone mapping is unsupported. Choose a desktop encoder for HDR workflows, batch processing, or advanced subtitle controls. Read the Localsquash vs HandBrake comparison to choose a workflow.
For technical background, see the FFmpeg H.264 encoder documentation and FFmpeg.wasm overview.