Hack the Hydra

Image resizer

Set a new width and height in pixels and download the resized picture. Either fit the image inside a box without distortion, or force an exact size. The image is resized by your browser and never uploaded.

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

Image resizer is a free online tool by Hack the Hydra. Resize an image to exact pixels or fit it inside a box without distortion. PNG, JPG and WebP, free, private, runs in your browser, no upload.

100% freeNo upload: runs in your browserNo sign-up
Image resizer: the tool with a sample file converted

Fit or exact

Fit mode shrinks or enlarges the image so it fits inside the width and height you give, keeping the original proportions: a 4000x3000 photo in a 1200x1200 box becomes 1200x900. Exact mode produces exactly the pixels you ask for; if you fill only one side, the other is calculated from the original ratio. Giving both sides in exact mode with a different ratio stretches the picture.

Typical sizes

Email and web pages rarely need more than 1920 px wide, blog images are usually 1200 px, thumbnails 300 to 600 px, and most social avatars 400 px square. Making an image smaller keeps it sharp; making it larger only adds pixels by interpolation and looks soft, so enlarge only when a form insists on a minimum size.

File size and format

Fewer pixels means a smaller file. To go further, save as WebP or JPG and lower the quality, or use the Compress Image tool afterwards. PNG keeps transparency; JPG has no transparency, so transparent areas turn white. The resized file is redrawn, so camera data such as GPS location is not copied.

How to use

  1. Drop your image in the box above, or click to pick it.
  2. Enter a width, a height or both, and choose fit or exact mode. Change any value to redo it.
  3. Check the new size in the status line, then click Download.

FAQ

Is my image uploaded?

No. The picture is resized with the canvas API inside your browser tab.

How do I resize without stretching?

Use Fit mode, or Exact mode with only one of width or height filled in.

Can I resize by percentage?

Not directly. Multiply the width by the percentage yourself, for example 50% of 3000 px is 1500 px, and enter that in the width box with the height blank in Exact mode.

Which formats work?

PNG, JPG and WebP files. Convert other formats first with the Image Converter.

Is there a size limit?

Up to 10000 pixels per side. Very large photos may be slow or fail on phones with little memory.

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, WebPCompress image: JPG and 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 checkerPercentage 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