Free image compressor
Compress a PNG
A PNG is lossless, so it can't be squeezed with a quality setting. This tool saves it as a WebP instead, which keeps every pixel and is often smaller, or as a lossy WebP when you want it smaller still.
How it works
- ReadsJPG, PNG, WebP, BMP
- Up to10 MB
- Kept for24 hours
- Sign-upNone
Do this from your app
This page is Fileboy's image service doing the work: it stores your upload, then makes the result when a URL asks for it. Your own app gets the same thing from one URL, with no image code of its own.
import { useFileboy } from "@cd2/fileboy-react"
const { buildImageUrl } = useFileboy()
const url = buildImageUrl(fileId, {
transforms: [
{
"type": "lossless"
},
{
"type": "format",
"format": "webp"
}
],
})https://api.fileboy.io/images/get/FILE_ID?transform=lossless;format:webpMore on the transforms in the image transformation docs, or try the full demo.
Common questions
Is it really free, with no sign-up?
Yes. The tool runs on Fileboy's public demo app, so there is nothing to sign up for. The demo allows files up to 10 MB and a limited number of uploads an hour.
What happens to my file?
It is uploaded to a shared demo app and deleted after 24 hours. Download the result before then. Until it is deleted, anyone with the Fileboy URL can open the result, and the original too (with its metadata, such as where a photo was taken). Don't upload anything you wouldn't want on a demo account for a day.
Why isn't the result a PNG?
Fileboy's PNG output has no quality or compression setting, so a PNG written by it can come out larger than yours. WebP, lossless or lossy, is the reliable way to get a smaller file. If you need a PNG, keep your original.
Does it keep transparency?
Yes. WebP supports transparent areas, lossless or lossy.
Which files can it open?
JPG, PNG, WebP and BMP. The free tools (which use the demo upload) don't accept TIFF or HEIC; Fileboy's image pipeline reads TIFF but not HEIC. GIF and AVIF can't be read yet either, so there is no converter that starts from any of these.
More free tools
Compress JPG · Compress WebP · Compress image · Compress to 20 KB · Compress to 50 KB · Compress to 100 KB · All free tools
Add Fileboy to your next project
We built Fileboy to stop rebuilding file handling for every app. Create an app, paste your key and upload a file. The free plan needs no card.