What Is Target-Size Video Compression?
When uploading clips to Discord (8 MB), WhatsApp (16 MB), Gmail or Outlook attachments (25 MB), or team chat tools with strict file limits, guessing a generic quality slider often takes multiple retries. This tool lets you pick an exact MB ceiling, optionally trim the start and end points, and automatically calculates the video and audio bitrates required to land cleanly under your limit.
How Automatic Bitrate and Resolution Scaling Work
- Container-aware bitrate math: Reserves 6% headroom for MP4 or WebM muxer overhead and rate-control variance using
(targetBytes * 8 * 0.94) / trimmedSeconds - audioBitrate. - Smart resolution downscaling: When the calculated bits-per-pixel drops below a readable threshold, the planner automatically steps resolution down along a 1080p, 720p, 480p, and 360p ladder (respecting portrait orientation and even dimensions) instead of starving a 1080p frame into blocky artifacts.
- Adaptive audio budget: Automatically steps stereo audio from 128 kbps down to 96 kbps or mono 64/48/32 kbps as total bitrate tightens, with a one-click mute toggle to dedicate 100% of bits to video.
- Impossible-target protection: If a long video cannot fit into a tiny limit above 100 kbps video bitrate, the planner alerts you immediately and calculates the maximum feasible clip duration with a one-click trim button.
Practical Workflows and Connected Tools
- Shrink screen recordings and gameplay clips under 8 MB for Discord or 16 MB for WhatsApp without opening a desktop editor.
- Compress phone footage under 25 MB for email attachments while previewing exact before-and-after MB savings.
- Send the compressed clip straight into Video Studio for subtitles and multi-track editing, or explore Video Converter and Compress Video for additional codecs and formats.
100% Local Zero-Upload Browser Encoding
Your videos never leave your device. Inspection and re-encoding run locally inside your browser using native WebCodecs hardware acceleration and client-side muxing, with zero server uploads, zero cloud queues, and full privacy for confidential recordings.