Change image DPI

Drop JPG or PNG images here

or click to choose — one or many; the pixels are not touched

Set the resolution by
DPI

Set a photo, scan or logo to 300 DPI for a print shop, a form or a book layout, or to any value you type, or let the page work out the DPI from the width you want to print. A JPG can carry its DPI in two places, and Windows and many other programs read different ones, so this page writes every record it finds and then reads the saved file back to prove they all match. The pixels are copied byte for byte, with no re-compression and no quality loss. Nothing is uploaded.

What DPI actually changes

DPI (dots per inch, also written PPI) is a single number stored inside an image file. It does not change a single pixel; it tells a printer or a layout program such as Word, InDesign or Canva how many of those pixels to fit into each inch of paper. The same 1800×1200 photo prints at very different sizes depending on that number:

DPI stored in the filePrint size of a 1800 × 1200 px photoTypical use
7225 × 16.7 in (63.5 × 42.3 cm)Old screen default; what most phone photos say
9618.75 × 12.5 in (47.6 × 31.8 cm)What Windows assumes when no DPI is stored
15012 × 8 in (30.5 × 20.3 cm)Posters and banners seen from a distance
3006 × 4 in (15.2 × 10.2 cm)Photo prints, books, print shops, most forms that ask for “300 DPI”
6003 × 2 in (7.6 × 5.1 cm)Line art and scans that must stay crisp when small

That is why a print shop or a publisher asks for “300 DPI”: they want to know the picture will be printed at a size where it still looks sharp. If your photo has enough pixels, changing the stored number is all that is needed, and that is what this page does. Use Print size above to type the width you want on paper; the page works out the DPI from each image’s own pixel width.

Why Windows can still say 72 dpi after you changed it

A JPG can hold its resolution in up to four places: the JFIF header that nearly every JPG starts with, the EXIF data that phones and cameras add, a Photoshop resource block, and XMP metadata. A PNG keeps it in a chunk called pHYs. None of the online DPI converters we looked at mention that there is more than one.

We built test JPGs where the records disagree and opened them with three readers on Windows 11 (October 2026): the Python image library Pillow, and the two image readers built into Windows that File Explorer and many desktop programs use.

What the file containsWindows (File Explorer, GDI+, WIC)Pillow (Python)
JFIF 300, no EXIF300300
No JFIF, EXIF 72 (straight from a phone)7272
JFIF 300 + EXIF 72 (phone photo after a JFIF-only change)72300
JFIF 72 + EXIF 300 (EXIF-only change)30072
JFIF 300 + EXIF 300 (this page)300300
JFIF with no unit, no EXIF96none
PNG with pHYs 300300300
PNG without pHYs96none

So when both records exist, Windows goes by EXIF and Pillow goes by JFIF. A phone photo changed by a tool that rewrites only the JFIF header still shows 72 dpi in File Explorer’s Details tab, and a print shop’s upload checker may see a different number from the one you checked. This page rewrites every record it finds, adds a JFIF header when the file has none, then reads the saved file again and lists each value so you can see they match.

No re-saving, no quality loss

Many editors change the DPI by opening the picture and saving it again, and saving a JPG again compresses it again. Here only the small header records are rewritten: the compressed image data, everything from the start-of-scan marker of a JPG or the IDAT chunks of a PNG, is copied byte for byte, and the page compares it with the original after saving. In our tests the saved files were 0 to 21 bytes larger than the originals: 21 is a PNG that had no DPI record yet. Camera settings, the date taken, GPS and the colour profile stay as they were; to remove those, use Remove EXIF data.

Does 300 DPI make my picture high resolution?

Only if it already has enough pixels for the size you need. A form or a print shop that asks for “300 DPI at 4 × 6 inches” really wants 1200 × 1800 pixels. Setting a 600 × 900 picture to 300 DPI makes it print at 2 × 3 inches; setting it to 150 DPI makes it print at 4 × 6 but softer. Neither adds detail. The result list shows the print size of every file at the DPI you chose, so you can see at a glance whether the picture is big enough.

Print sizePixels needed at 300 DPI
2 × 2 in (passport photo)600 × 600
4 × 6 in1200 × 1800
5 × 7 in1500 × 2100
8 × 10 in2400 × 3000
A4 (8.27 × 11.69 in)2480 × 3508

Other formats

This page changes JPG (including .jfif) and PNG. WebP and HEIC have no standard DPI record that printers read; convert them first with Convert image format or HEIC to JPG. For a TIFF at a set DPI, use JPG to TIFF or PNG to TIFF, which write the resolution you choose.

To change the size in pixels rather than the print size, use Resize image. For a passport or visa photo printed at exactly 2 × 2 inches, the US passport photo maker lays out the print sheet for you. And if a form limits the file size as well as the DPI, finish with Compress image to an exact size, then change the DPI here again: the DPI survives this page, but not every compressor keeps it.

Frequently asked questions

How do I change an image to 300 DPI?

Drop the JPG or PNG on this page and leave 300 selected. The page rewrites the resolution records in the file and gives it back with the same pixels. Open its properties afterwards: Windows File Explorer shows 300 dpi in the Details tab.

Does changing the DPI change the quality or the file size?

No. DPI is a number stored next to the picture that tells printers and layout programs how big to print it. The pixels and the quality stay the same; the file grows or shrinks by a few bytes at most. Only resizing in pixels changes quality.

I changed the DPI to 300 but Windows still says 72. Why?

A JPG can store its DPI twice: in the JFIF header and in the EXIF data that phones and cameras write. In our test, Windows File Explorer and both of Windows' built-in image readers took the EXIF value, while the Python image library Pillow took the JFIF value. Tools that change only the JFIF header leave Windows showing the camera's 72. This page changes both.

What size will my image print at 300 DPI?

Divide the width in pixels by 300 to get inches. A 1200 × 1800 pixel photo prints at 4 × 6 inches at 300 DPI. The page shows the print size for every file, or you can type the print width you want and it works out the DPI.

Can I make a 72 DPI image high resolution by setting it to 300?

Only on paper. Setting 300 DPI makes the same pixels print smaller and sharper; it does not add detail. If the picture is too small for the print size you need at 300 DPI, it needs more pixels, which means a larger original or upscaling.

How do I check the DPI of an image?

Drop it here: the page lists every DPI record in the file before changing anything, and says which value Windows shows. On Windows you can also right-click the file, choose Properties and look at Horizontal resolution in the Details tab.

Is my image uploaded?

No. The file is read and rewritten in your browser and never leaves your device. There is no account and no limit on the number of images.