The short answer
Making a picture smaller normally keeps it sharp, as long as you resize once, from the original, keep its proportions and save at a reasonable quality. Making it larger cannot add detail: the extra pixels are estimated from the ones already there, so the result looks soft.
Why shrinking is safe
When a picture is reduced, each new pixel is worked out from several original ones. Detail finer than the new grid is dropped, but nothing is invented. The smaller picture holds less, and what it holds comes from the original. Noise and slight focus errors shrink along with everything else, so they are harder to see.
Why enlarging cannot add detail
A picture file contains only the pixels that were recorded. To enlarge it, software has to fill the gaps between them with values guessed from their neighbours. Guessing smooths things out, which is why an enlarged photo looks blurred and an enlarged logo gets fuzzy or stepped edges.
Programs that promise sharper enlargements draw detail that looks plausible. It was not in the original, and it may not match what was really there. The Resize image tool on this site does not enlarge at all: pictures are never made bigger than they started.
Resizing step by step
- Find the original file, not a copy that has already been shrunk or sent through a chat app.
- Open the Resize image tool and add the picture by dropping it on the page, choosing it or pasting it from the clipboard.
- Pick Scale to resize by percent, or type a figure in pixels into Max width, Max height or both.
- Leave the proportions to the tool. They are always kept, so the picture is never stretched or squashed.
- Drag the Compare slider to see the original against the result, then press Download.
Habits that keep a picture sharp
- Go straight to the final size. Shrinking in several stages, saving each time, loses a little at every save in a lossy format.
- Crop before you resize, so the pixels you keep are spent on the subject.
- Decide the size from where the picture will be shown. A profile picture and a full-width banner need very different widths.
- Keep the original somewhere safe. A reduced copy cannot be turned back into it.
What else changes when you resize
Resizing means the picture is redrawn and saved again, at the quality setting shown, which is Balanced unless you change it. For JPG, WebP and AVIF that step is lossy, so check the result in Compare. The new file comes without hidden data such as the camera model, date and GPS position, and the original colour profile is not carried over. If exact colour matters, for a product photo for example, look at the result on the screen it is meant for.
A resized file is usually smaller in bytes, but not always. The result row shows the before and after size, including any increase, so you can see what happened.
If you fill in both Max width and Max height, the picture is fitted inside that box without changing its shape. A picture larger than the box will match one of the two figures and come in at or under the other.