Compress shrinks video, image, and PDF files by up to 90% while preserving visual quality. Pass one file or a whole batch — it auto-detects each file type and applies the right compression pipeline.
Oversized files cause slow page loads, email bounces, and storage bloat. This tool fixes that in one call. For video it supports modern codecs including H.265, VP9, and AV1. For images it can convert to WebP or AVIF for dramatically smaller files at the same visual quality. For PDFs it balances size against print fidelity. The defaults work well for most use cases — you only need to customize when you have specific requirements.
What you can do
- compress — reduce one or more video, image, or PDF files with configurable quality, codec, format, and resolution settings
Who it's for
Anyone who handles media files regularly: content creators reducing clips for social, developers optimizing assets for the web, designers sharing large files via email, or teams managing document storage.
How to use it
- Use compress and pass one or more file URLs in the files array
- Set quality to control the compression level (high is the default, low gives maximum compression)
- For images, set image_format to webp or avif for the best size reduction
- For video, pick a codec: h265 or av1 gives smaller files than the h264 default, at the cost of slightly longer processing
- For PDFs, adjust pdf_quality to balance file size against print fidelity