Hack the Hydra

Compress image: JPG and WebP

Make photos small enough for email, forms and web pages. Pick the quality and, if you like, a maximum width; the tool shows the size before and after. Your image never leaves your browser.

🔒 Private by design: the conversion runs in this browser tab. Nothing is uploaded.

Compress image: JPG and WebP is a free online tool by Hack the Hydra. Reduce JPG and WebP file size in your browser: pick the quality and an optional maximum width, see before and after size. Free and private.

100% freeNo upload: runs in your browserNo sign-up
Compress image: JPG and WebP: the tool with a sample file converted

Key facts

Input formatsJPG and WebP
Size limit100 MB per file (checked in the browser)
Where it runsIn your browser with the built-in image canvas; the file is not uploaded and no library is downloaded
CostFree, no sign-up
OutputA JPG (a WebP if you upload a WebP), lower quality and optional maximum width; the page tells you if the result is larger than the original
OptionsQuality 30 to 95 (default 75)

The two things that shrink an image

Quality controls how aggressively the pixels are compressed, and the maximum width controls how many pixels there are. A 12-megapixel phone photo scaled to 1920 px wide at quality 75 often drops from several MB to a few hundred KB with no visible difference on a screen.

Recommended settings

Quality 75 and 1920 px for web pages and email. Quality 85 and the original width if you still want to print. Quality 60 and 1280 px for upload limits like 200 KB on government and job forms.

Formats

JPG files are saved as JPG and WebP files as WebP. If a result comes out larger than the original, which happens with images that were already well compressed, the tool tells you so: lower the quality or width, or keep the original.

How to use

  1. Drop your file(s) in the box above, or click to pick them.
  2. The result is built locally in a second or two.
  3. Click Download to save it.

FAQ

How do I reduce a photo to under 200 KB?

Try 1280 px width and quality 60, then adjust. The size is shown after every change.

Does compressing lose quality?

Yes, a little: JPG and WebP are lossy. At quality 75 to 85 the difference is rarely visible.

Can it compress PNG?

This tool targets photos in JPG and WebP. For PNG screenshots, convert them to WebP or JPG with the Image Converter.

Is the picture uploaded to a server?

No. It is re-encoded by your browser, locally.

Is the metadata (EXIF, GPS) removed?

Yes. The image is redrawn, so camera data and location tags are not copied to the new file.

Guides

More free converters

PDF to Markdown converterOCR PDF: scanned PDF to textImage to text (OCR)Word (DOCX) to Markdown converterExcel & CSV to Markdown tablesHTML to Markdown converterPowerPoint (PPTX) to Markdown converterJSON to Markdown tablePDF to text converterExcel to JSON converterMarkdown to HTML converterMerge PDF filesSplit PDF: extract pagesRotate PDFJPG to PDF converterPDF to JPG converterImage converter: PNG, JPG, WebPQR code generatorWord counterCase converterJSON formatter and validatorBase64 encode and decodeURL encoder and decoderUUID v4 generatorStrong password generatorLorem ipsum generatorJSON to CSV converterRemove duplicate linesUnix timestamp converterJSON to YAML converterText diff checkerImage resizerPercentage calculatorAge calculatorHash generator (SHA-256, SHA-1, SHA-512)Color converter: HEX, RGB, HSLDays between dates calculatorYAML to JSON converterUnit converterJWT decoderBinary, hex, decimal and octal converterRoman numeral converterRegex testerCron expression explainerPDF to Markdown for ChatGPTPDF to Markdown for ClaudePDF to Markdown for RAG pipelinesPDF to Markdown for ObsidianPDF to Notion (via Markdown)Screenshot to textFrench OCR: image to textCSV to Markdown tableGoogle Docs to MarkdownJPG / JPEG to text (OCR)PNG to text (OCR)CSV to JSON converterPNG to JPG converterJPG to PNG converterWebP to PNG converter