FitSize Highest quality that still fits

Compress videos and images right up to the size limit

Video to GIF for Qiita, videos under 10 MB (100 MB on paid plans) for GitHub, MOV to MP4, WebP to PNG. Pick where you are uploading, drop your files, and FitSize finds the highest quality that still fits.

Drop files here

or

You can also paste with Ctrl+V / ⌘V

Images: JPEG, PNG, WebP, AVIF, GIF, HEIC, BMP · Videos: MP4, MOV, WebM, MKV, AVI and more

Output settings

Image10 MB
GIF10 MB
Video10 MB

Videos up to 10 MB on free plans (100 MB on paid plans). WebP is not accepted, so it is converted to PNG etc.

Video output

Settings apply to files you add next.

How to use

  1. Choose the service you are uploading to (Qiita, GitHub, …). The size limit and accepted formats are set automatically.
  2. Add images or videos by dropping, choosing or pasting them. Multiple files are processed in one go.
  3. Compression starts automatically. Videos can produce both MP4 and GIF, each tuned to the highest quality within the limit.
  4. Optionally change quality, resolution, fps, start/end and more, re-run, then download.

Features

Upload limits by service

Per-file upload limits of popular services (from official help pages, November 2026)
Service Image GIF Video Formats Source
GitHub10 MB10 MB10 MBPNG, GIF, JPEG, SVGSource
GitHub (paid plan)10 MB10 MB100 MBPNG, GIF, JPEG, SVGSource
GitHub Social preview< 1 MB< 1 MBNot supported → GIFPNG, JPEG, GIFSource
GitLab100 MiB100 MiB100 MiBAnySource
Bitbucket *10 MB10 MB10 MBAnySource
Redmine5 MiB5 MiB5 MiBAnySource
Qiita10 MB10 MBNot supported → GIFAVIF, BMP, GIF, JPEG, PNG, TIFF, WEBPSource
Zenn3 MB3 MBNot supported → GIFPNG, JPEG, GIF, WEBPSource
note20 MB20 MBNot supported → GIFJPEG, PNG, GIF, HEICSource
Hatena Blog10 MB10 MBNot supported → GIFJPEG, GIF, PNG, BMP, WEBP, AVIFSource
Ameba Blog3 MB3 MBNot supported → GIFGIF, JPEG, PNGSource
livedoor Blog5 MB5 MBNot supported → GIFJPEG, GIF, PNGSource

Where a service does not define “MB”, 1 MB is treated as 1,000,000 bytes to be safe. Limits may change.

FAQ

Are my files uploaded to a server?

No. Everything runs inside your browser using WebAssembly (MozJPEG, libwebp, libavif, oxipng, ffmpeg.wasm) and WebCodecs. Files are never sent anywhere, and once loaded the app works offline.

How do I put a video into a Qiita article?

Qiita does not accept video uploads. Choose “Qiita” as the destination and drop your video: it is converted to a GIF at the largest resolution that fits in 10 MB. You can re-run with a different width, fps, start/end or playback speed.

How large can videos uploaded to GitHub be?

GitHub attachments allow 10 MB for images and GIFs, and 10 MB for videos on free plans or 100 MB on paid plans. Choose “GitHub (paid plan)” and the video is compressed to MP4 (H.264) with bitrate and resolution tuned to stay under 100 MB.

Can I convert .mov to .mp4?

Yes. Drop a MOV and an MP4 is produced automatically. If it is H.264 and already under the limit it is remuxed losslessly without re-encoding; otherwise it is converted to widely compatible H.264/AAC.

How do I convert WebP to PNG?

Set the image output format to “PNG”, or pick a destination that does not accept WebP (such as GitHub) and it is converted automatically. If it is still too big, FitSize tries lossless optimisation, then high-quality reduction to 256 colours, then downscaling — in that order.

How do I get a GitHub social preview image under 1 MB?

Choose “GitHub Social preview” and drop your image. You get the highest-quality PNG/JPEG/GIF that is under 1 MB. The recommended size is 1280×640 px.

What does “right up to the limit” mean?

Instead of over-compressing, FitSize repeatedly searches for the parameters (quality, resolution, frame rate) that give the highest quality while staying within the maximum file size, so the output lands close to the limit. Files that already fit are not re-compressed.

Which browsers are supported?

Current Chrome, Edge, Safari and Firefox. Browsers with WebCodecs use fast hardware encoding; otherwise, and for unusual formats such as AVI or WMV, FitSize switches to ffmpeg.wasm automatically.