Resize Image
Set the longest side. Keep the image in proportion.
Free to use · No account needed · Files stay on your device
File and settings
Open in the Free Tools workspace
About Resize Image
Set a maximum for whichever side is longer. Markovo calculates the other side for you and leaves smaller images at their original dimensions. The download name includes the final width and height.
How to use this tool
- Choose image and select a PNG, JPEG or WebP file.
- Set the longest side. Open Format and quality to change the default JPEG.
- Select Export image, check the preview and download the result.
Formats, options and limits
- Input
- One PNG, JPEG or WebP up to 20 MB.
- Longest side
- 32 to 4,000 pixels. The default maximum is 1,600.
- Quality
- 40 to 100 for JPEG and WebP. PNG keeps transparency.
Translate the destination size into pixels
Take the dimensions from the place where the image will appear. A help article might ask for a screenshot no wider than 960 pixels. For a landscape screenshot, enter 960 as the longest side. For a portrait illustration that must fit within a 600-pixel-high space, enter 600. The longer edge sets the scale for the whole frame, so the entire subject stays in view.
If the destination specifies both an exact width and an exact height, check the required proportions first. An image measuring 1,200 × 800 can scale to 600 × 400. To fill a square with the same subject, you would need to decide what to crop or add a border elsewhere.
Read the dimensions of the result
The workbench accepts one PNG, JPEG or WebP up to 20 MB. The longest-side control accepts 32 through 4,000 pixels and starts at 1,600. Markovo scales down only when the source exceeds the selected edge, calculating the shorter side to the nearest whole pixel. A 300-pixel-wide landscape image still measures 300 pixels across after an export with the limit set to 960.
The download name records the actual width and height. In the downloadable report example, the original measures 960 × 640. With a 320-pixel edge, its height works out to just over 213 pixels and the exported PNG measures 320 × 213. Compare the two files at their intended display sizes to decide whether the labels are still readable.
Choose a format for the image content
Open Format and quality if the default JPEG is unsuitable. A photograph on a white page is a reasonable JPEG candidate. PNG is useful for a transparent illustration or a screenshot with thin strokes and small labels. Saving transparent artwork as JPEG fills the transparent regions with white, which can be visible if the artwork later sits on a colored page.
JPEG and WebP offer a quality setting from 40 to 100. Leave room to inspect the result after changing both its size and its quality. If letters become hard to read, first decide whether they are too small in pixels or surrounded by compression artifacts. Trying a larger edge addresses the first problem. Comparing a PNG at the same edge helps diagnose the second.
Meet a second requirement for file size
An image that fits a layout can still exceed an attachment limit in kilobytes. Check the actual download against that limit. If the dimensions are right, keep your original available and try another quality setting or encoding at the same dimensions. If the destination allows a smaller picture, reducing the edge further can save bytes at the cost of detail. For a direct original-versus-result size comparison while holding dimensions fixed, open Compress Image.
Try a checked example
Set the longest side to 320 pixels and the output format to PNG.
A 320 × 213 PNG from the 960 × 640 source.
Frequently asked questions
Do I enter the width or the height?
Enter the longest side. On a landscape image it controls width. On a portrait image it controls height. The shorter side is calculated from the original proportions.
Will it enlarge a small image or crop it to a square?
Smaller images keep their original pixel dimensions. Resizing scales the whole frame proportionally, so a rectangular image stays rectangular.
How can I tell the size of my download?
Look at the result filename. For example, original-320x203.png is 320 pixels wide and 203 pixels high.
Which format should I choose for transparent areas?
Select PNG to keep transparent pixels. JPEG fills them with white. The quality setting applies to JPEG and WebP.
Can I set a maximum file size in kilobytes?
The size field controls pixels. For a smaller file, reduce the longest side or choose JPEG or WebP and lower the quality. The exact byte count depends on the image.
What can I do if my browser cannot export WebP?
Select PNG or JPEG and run Export image again. Each output format depends on the encoder available in your browser.


