Afoli
Open Afoli →
Afoli
File converter
Compress to a size
Compress an image to a target size (KB / MB)
Pick the limit your form asks for.
Open in Afoli →
20 KB
30 KB
50 KB
100 KB
150 KB
200 KB
300 KB
500 KB
1 MB
2 MB
Sources and licences
Afoli Image tools — encoder tools/image/encode.js (fitBytes)
Updated November 21, 2026