nanogb
Video · on your device · free

Compress an MP4 video

MP4 files from phones and cameras are recorded at very high bitrates. nanogb re-encodes the video at exactly the bitrate your limit allows, on your device.

Your file never leaves this device.

Why phone videos are so big

Phones record 1080p at roughly 10 to 20 Mbps and 4K at several times that, so that the picture survives editing. For watching in an email or chat, a few Mbps is plenty. Re-encoding at the right bitrate cuts the file by 80 to 95 % with little visible difference on a phone screen.

How long a video fits?

Picture quality nanogb can give a 16:9 video, by length and limit (estimates from the bitrate maths above):

LengthDiscord free (20 MB)Gmail (25 MB)Discord Nitro Basic (50 MB)
30 s1080p · 4813 kbps1440p · 6048 kbps2160p · 12223 kbps
1 min720p · 2342 kbps1080p · 2960 kbps1440p · 6048 kbps
2 min540p · 1107 kbps720p · 1416 kbps1080p · 2960 kbps
3 min540p · 727 kbps540p · 901 kbps720p · 1931 kbps
5 min360p · 430 kbps480p · 554 kbps540p · 1107 kbps
10 min240p · 215 kbps240p · 277 kbps480p · 554 kbps
20 min240p · 92 kbps240p · 122 kbps240p · 277 kbps

MOV, WebM and other formats

iPhone MOV files work the same way and come out as MP4. WebM and MKV files are read too, as long as your browser can decode the codec inside.

Settings nanogb chooses

  • Video: H.264 at a constant bitrate, keyframe every 4 seconds, resolution chosen from the bitrate.
  • Sound: AAC between 32 and 128 kbps.
  • Container: MP4 with the index at the front, so it starts playing before it is fully downloaded.

Frequently asked questions

Is the quality reduced?

Some detail is lost because the file is smaller, but nanogb spends every available byte: it never goes lower than your limit needs.

Can I choose the resolution?

Not yet. nanogb chooses the resolution that looks best for the bitrate your limit allows.

More ways to make it fit