Maaz Zindani

Loading the index…

↑↓ move↵ openesc close3993 pages

Free tool · Image tools

Change DPI of image

Set the DPI of a JPG or PNG and see the print size at once. Only the tag in the file changes; the pixels stay exactly as they were.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

JPG, PNG or WebP. You can also drop a file on this box. It stays on your device.

300 is the usual setting for photo prints; 72 or 96 is for screens. Only the tag changes, never the pixels.

Example result
13.33 x 10 in33.87 x 25.4 cm when printed at 300 DPI. The pixels stay 4,000 x 3,000 px.
  • JPG: header tag set, pixels untouched
  • Example: choose a photo to see yours
Pixels
4,000 x 3,000 px, same
DPI stored now
72 (JFIF)
File size
3.2 MB, same
Sharp A4 print at 300 DPI
Yes (needs 2,480 x 3,508 px)
Example photo, 4,000 x 3,000 px

How to use the Change Image DPI

  1. Choose a JPG or PNG under Photo. Other formats, such as WebP, are saved as PNG first, which loses nothing.
  2. Type the number you need under New DPI, or tap 300, 150, 96 or 72.
  3. Read the print size in inches and centimeters, and whether the photo has enough pixels for an A4 sheet.
  4. Press Download. The file keeps its name with the DPI added, for example photo-300dpi.jpg.

How do I change the DPI of an image without resizing it?

DPI (dots per inch) is a note stored in the file that says how large one pixel should be on paper. It is not part of the picture. A JPEG keeps it in a small header at the start of the file, and sometimes again in its EXIF tags. A PNG keeps it in an optional pHYs chunk as pixels per meter, where a unit value of 1 means the meter. This tool rewrites only those few bytes, so the compressed picture data is copied as it was.

That is why nothing is resampled. A 4,000 x 3,000 px photo is still 4,000 x 3,000 px after you set 300 DPI, and the image looks identical. The file stays the same size when it already had a density tag. If it had none, a small header is added: 18 bytes for a JPEG, 21 bytes for a PNG. If you choose a format this tool cannot patch in place, such as WebP, it first saves the picture as a PNG, which is lossless, and then sets the tag.

Does changing the DPI change the quality?

No. DPI does not add detail and does not remove any. Quality is set by the number of pixels, and those do not change here. What changes is the size the picture claims on paper: pixels divided by DPI. A 4,000 x 3,000 px photo is 13.33 x 10 in (33.87 x 25.4 cm) at 300 DPI, but 55.56 x 41.67 in at 72 DPI. Both are the same photo.

The reverse is also true: setting a high DPI on a small picture does not make it sharp. A 640 x 480 px image tagged as 300 DPI is only 2.13 x 1.6 in, and stretching it larger on paper will look soft whatever the tag says. If you need more pixels, you need a larger original.

What DPI do I need for print, and what for web?

For a photo you will hold in your hand, 300 DPI is the common target, and 150 DPI is often acceptable for larger prints viewed from further away. Print shops usually quote a pixel size rather than a DPI, so work backwards: A4 (210 x 297 mm) at 300 DPI needs 2,480 x 3,508 px, and a 4 x 6 in print needs 1,200 x 1,800 px. The tool checks this for you: the Sharp A4 print line says Yes when your photo has at least that many pixels, in either orientation.

For screens the DPI tag is ignored. A browser, a phone or a social site shows the picture by its pixel size, so 72 and 300 look the same on a web page. Setting 72 or 96 is only useful when a form or an old program asks for it. To check what a file says now, choose it here: DPI stored now shows the value and where it was found (JFIF, EXIF or pHYs), or says none is stored.

Some websites ask for a specific DPI and a file size together. This tool does not compress the picture. To reach a size such as 100 KB, use the resize-to-KB tool first and then set the DPI on the result.

Use it with

Questions

Does changing DPI resize the image?

No. The pixel width and height stay exactly the same. Only the DPI tag changes, which sets the size the picture prints at: pixels divided by DPI.

How do I make a photo 300 DPI for print?

Choose the photo, press 300 and download. Then check the print size shown. If the Sharp A4 print line says No, the photo has too few pixels for that sheet at 300 DPI, and the tag alone cannot fix that.

What is the difference between DPI and PPI?

In a file they mean the same thing: pixels per inch. DPI strictly counts the ink dots of a printer, but image programs and this tool use it for the pixel density tag.

Why does my image still show 72 DPI in another program?

Some programs read the EXIF copy of the density and others the JFIF header. This tool updates both when both exist. If a program still shows 72, it may be showing a default instead of reading the tag, so check with the print size, not the label.

Which formats can I change in place?

JPG and PNG, byte for byte. WebP, GIF, BMP and similar files are saved as a lossless PNG first, because they have no density tag this tool can edit.

Is my photo uploaded?

No. The file is read and rewritten in your browser and the download is made on your device.

How this page was made: the tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations were drafted with AI help and checked against the tool's own output.