Skip to main content

Choose JPG or PNG files to change their DPI

The DPI field is rewritten in your browser; the pixels are not re-encoded. Nothing is uploaded.

Print shops, photo labs and application forms often ask for "300 DPI". This page changes the DPI value stored in JPG and PNG files to 72, 96, 150, 300, 600 or any whole number from 1 to 2400, for up to 20 files at once. The picture itself is not re-saved: only the few bytes that hold the resolution change, so quality and pixels stay exactly the same. Files are edited in your browser and keep their names.

DPI is a number in the file header that tells a printer how many pixels go into one inch. Changing it from 72 to 300 rewrites only that value: the 1,920 × 1,280 px stay the same, and so does the image data. Printed at 300 dpi, the same pixels come out smaller on paper and packed more densely.Sample image: Lake Mountain Landscape, Bonnie Moreland (CC0 1.0)

DPI is a label, pixels decide the print

DPI only tells software how many pixels to place on each inch of paper. Changing it adds no detail. A 1800 × 1200 photo at 300 DPI prints at 6 × 4 inches (15.24 × 10.16 cm); set to 150 DPI, the same pixels print at 12 × 8 inches, each one twice as large. The table on this page shows the print size before and after for the selected file.

So when a form asks for 300 DPI, check two things. First, the label: many phone photos store 72 or nothing, and some upload checks reject them on that alone. This page fixes that. Second, the pixel count: for a sharp 8 × 10 inch print at 300 DPI you need 2400 × 3000 pixels. If the photo is smaller, changing the label makes the print smaller, not sharper.

What is written into the file

In a JPG the resolution lives in the JFIF header. The page sets its unit to inches and both densities to your value; if the file has no JFIF header, a standard 18-byte one is added after the start marker. Cameras and editors may also store resolution in EXIF (XResolution, YResolution, ResolutionUnit) and Photoshop in its own resolution block, which Photoshop reads first. When those fields exist, they get the same value, so no program is left reading an old number from a second field. Missing EXIF fields are not added, and XMP metadata is left as it is.

A PNG keeps resolution in a pHYs chunk measured in pixels per metre: 300 DPI is stored as 11,811. The chunk is rewritten in place, or a new 21-byte chunk is inserted before the image data, with a fresh checksum.

What changes in the file

A JPG that already has a JFIF header keeps exactly the same byte count at 300 DPI, because only the density fields are rewritten, and its decoded pixels match the original. A PNG without a pHYs chunk grows by 21 bytes, the size of the new chunk, again with identical pixels. The site’s own image size checker reads the new value back as 300 dpi.

Other formats are refused with a message: WebP and AVIF store resolution differently or not at all, so convert them to JPG or PNG first.

How to change the DPI of an image

  1. Add your files

    Drop up to 20 JPG or PNG files, up to 50 MB each.

  2. Choose the DPI

    Click 72, 96, 150, 300 or 600, or type any value from 1 to 2400. Check the print size in the table.

  3. Download

    Download one file, or all of them as a ZIP. The names stay the same.

Frequently asked questions

Does changing DPI to 300 improve quality?
No. The pixels are identical before and after. Only the print size implied by the file changes. To print larger and sharp, you need more pixels from the original source.
How do I convert an image to 300 DPI?
Add the JPG or PNG, click 300 and download. The file keeps its name and pixels; image viewers and print software will report 300 DPI.
What size will my photo print at 300 DPI?
Divide the pixel width and height by 300. A 3000 × 2000 photo prints at 10 × 6.67 inches, or 25.4 × 16.93 cm. The table shows this for each file.
Why does my photo say 72 DPI?
Many cameras, phones and screenshot tools write 72 as a default or store no value at all. It says nothing about quality, but some forms check it, which is when changing the label helps.
Will the file size change?
By at most a few bytes: 0 when the field already exists, 18 bytes when a JPG gets a new JFIF header, 21 bytes when a PNG gets a new pHYs chunk.
Are my files uploaded?
No. The bytes are edited in your browser and the downloads are created there. Nothing is sent to a server.