Back to Video
Video resize — change target resolution, keep aspect ratio

Video resize — change target resolution, keep aspect ratio

Resize a video to a target width with the height inferred from the aspect ratio. Re-encodes with libx264 (CRF adjustable) and outputs mp4. Supports batch processing and a single ZIP download.

videoresize

How to use

Drop video files. Pick a target width (preset or custom) and CRF (quality: 0 = lossless to 51 = worst, 18–28 recommended). Click Resize — ffmpeg.wasm re-encodes via libx264 to the target width (height inferred from aspect ratio) and outputs mp4. Batch processing and a ZIP download are supported.

FAQ

Are videos uploaded?
No. ffmpeg.wasm runs inside your browser; videos never leave your device.
Why does resizing require re-encoding?
Each frame is encoded relative to a fixed resolution, so changing the resolution requires re-generating pixels — i.e. re-encoding. Stream copy can't do it.
Which CRF should I pick?
18 is visually lossless, 23 is the default, 28 still acceptable, higher gets noticeably blocky. Aim for 23–28 for streaming.
Why mp4 only?
libx264 (H.264) outputs to mp4 for the broadest compatibility.

Related tools