Image Compressor
Shrink PNG, JPG & WebP in your browser
Upload an image and compress it client-side with an adjustable quality slider — no upload, no server, your file never leaves your device.
About the image compressor
Large images slow down web pages and bloat emails and storage. This compressor re-encodes your image using the browser’s built-in canvas API, letting you trade a little quality for a much smaller file — entirely on your device, so your image is never uploaded anywhere.
JPEG and WebP use the quality slider (lower = smaller file, more compression artefacts). PNG is lossless, so the slider is ignored and the file is simply re-encoded. A white background is applied when exporting to JPEG because JPEG does not support transparency.
How to use the image compressor
Upload an image
Choose a PNG, JPG or WebP file from your device.
Adjust the quality
Lower the quality slider for a smaller file; PNG ignores it.
Compress & download
Click Compress, see the size savings, then download the result.
Frequently asked questions
Is my image uploaded to a server?
Why does PNG not change with the slider?
What quality should I use?
Is the compressor free?
Explore more utilities
More like this
- Image Format ConverterConvert PNG ↔ JPG ↔ WebP & SVG to PNG
- Image Resizer & CropperResize & crop images to any dimensions
- Color Picker & Hex ExtractorSample colors from an image as Hex & RGB
- PDF Merger / SplitterMerge multiple PDFs or split into pages
- Background RemoverRemove image backgrounds & make them transparent
- Base64 Image Encoder / DecoderConvert images to Base64 & Base64 back to images
Other utilities
- Word UnscramblerFind every word from jumbled letters
- Anagram SolverFind anagrams of any word
- Word CounterCount words, characters & sentences
- Word FinderFind words matching a pattern
- Random Word GeneratorGenerate random dictionary words
- Character CounterCount characters with & without spaces
- Case ConverterConvert text to upper, lower, title & more
- Text CleanerRemove extra spaces, blank lines & junk
- Remove Duplicate LinesDelete repeated lines from any text
- Sort LinesSort lines alphabetically or numerically
- Text ReverserReverse text, words or characters
- Find & ReplaceFind and replace text with options
- Text DiffCompare two texts and highlight differences
- Slug GeneratorTurn any text into a URL-friendly slug
- Text to ListConvert text into a formatted list
- Percentage CalculatorCalculate percentages instantly
- Percentage Change CalculatorMeasure increase or decrease between values
- Discount CalculatorFind sale price & savings
- Tax CalculatorAdd or remove sales tax & VAT
- Tip CalculatorCalculate tips & gratuity
- Split Bill CalculatorSplit a bill & tip across people
- Ratio CalculatorSimplify & solve ratios
- Fraction CalculatorAdd, subtract, multiply & divide fractions
- Average CalculatorMean, median, mode & range
- Standard Deviation CalculatorVariance & standard deviation of a data set
- Age CalculatorCalculate age from any birthdate
- Date Difference CalculatorAdd to dates or find date differences
- Time Duration CalculatorCalculate time between two times
- Interest CalculatorSimple & compound interest in one tool
- Loan/EMI CalculatorMonthly EMI, interest & total payable
- Unit ConverterConvert length, weight & temperature
- Time ConverterConvert between time units
- Data Storage ConverterConvert bits, bytes, KB, MB, GB & TB
- Data Transfer ConverterConvert bit/s, Mbit/s, MB/s & GB/s
- Pressure ConverterConvert pascal, bar, psi & atm
- Energy ConverterConvert joules, calories, kWh & BTU
- Number/Base ConverterConvert binary, octal, decimal & hex
- Time Zone ConverterConvert times between world time zones
- Power ConverterConvert watts, kilowatts, horsepower & BTU/h
- Fuel Economy ConverterConvert MPG, L/100km & km/L
- JSON Formatter & ValidatorIndent, format, and check raw JSON strings
- Base64 Encoder / DecoderConvert plain text or images to Base64 strings
- Regex TesterTest regular expressions against text in real time
- HTML / CSS MinifierStrip whitespace and line breaks to compress code
- Hash GeneratorGenerate MD5 & SHA-256 hashes from text
- JWT DecoderDecode JSON Web Token header & payload
- UUID GeneratorGenerate RFC 4122 UUIDs (v4)
- Password GeneratorCreate strong, secure random passwords
- QR Code GeneratorTurn any link or text into a QR code
- Random Number GeneratorGenerate random numbers in any range
- Lorem Ipsum GeneratorGenerate placeholder Lorem Ipsum text
- BMI CalculatorCalculate Body Mass Index from height & weight
- Calorie / BMR CalculatorBMR & daily calories (Mifflin-St Jeor)
- Body Fat Percentage CalculatorEstimate body fat via the U.S. Navy method
- Water Intake CalculatorDaily water intake goal from weight & activity
- Pregnancy Due Date CalculatorEstimate your due date from LMP or conception