ImgVX AI

How to Change the DPI of an Image (Free, No Resize)

To change the DPI of an image, open the free DPI Converter, drop in the JPG or PNG, type the DPI you want (300 for most print shops), and download the file. The pixels stay exactly the same; only the number in the file header changes, which changes the size the picture prints at. A 1200 x 1800 pixel photo prints at 4 x 6 inches at 300 DPI and at 16.67 x 25 inches at 72 DPI.

The same 1200 by 1800 pixel photo drawn three times at different sizes: 4 by 6 inches at 300 DPI, 8 by 12 inches at 150 DPI and 16.67 by 25 inches at 72 DPI.
One photo, three DPI tags. The pixel count is identical; only the printed size changes. Sizes are what the DPI Converter reported.

Key points

  • DPI is a label, not detail. Changing it never adds or removes a pixel.
  • Print size = pixels ÷ DPI. Raise the DPI and the print gets smaller; lower it and the print gets larger.
  • The tool re-saves the image. JPG output is encoded at quality 95; PNG output is lossless but larger.
  • Screens ignore it. Websites, email and social media use pixel size only.
  • Need a bigger print at 300 DPI? You need more pixels. Enlarge the picture first, then set the tag.

What does changing the DPI of an image actually do?

An image is a grid of pixels, and that grid has a fixed size, such as 1200 by 1800. DPI (dots per inch) is a separate note stored in the file that says how many of those pixels should be laid down per inch of paper. Divide the pixel width by the DPI and you get the printed width in inches.

So changing the DPI changes the intended print size and nothing else. It is the reason a file that says 72 DPI is not “low quality” by itself, and a file that says 300 DPI is not “high quality” by itself. The full explanation, including DPI versus PPI, is in our DPI, PPI and print size guide. This page is the practical how-to.

How do you change the DPI of a JPG or PNG, step by step?

  1. Open the DPI Converter. Drop your image on the page or choose a file. It runs in your browser.
  2. Pick the DPI. Type a number from 1 to 4000, or click a preset: 72, 96, 150, 200, 300 or 600. The default is 300.
  3. Choose Save as. JPG for photos; PNG for graphics with transparency or sharp edges.
  4. Read the result table. It shows the DPI, the pixels (marked “unchanged”) and the print size in inches and millimetres. Check that the print size is the one you want.
  5. Download the file. The new file is named like your original with “-dpi” added.

If the print size in step 4 is smaller than you need, do not raise the DPI further. Read the section on getting a bigger print below.

What happens at 72, 150, 300 and 600 DPI? A tested example

We drew a 1200 x 1800 pixel JPG (54.9 KB) and ran it through the tool at four settings. The table lists what the tool reported, and what we read back from the downloaded files.

DPI setPixelsPrint size reportedJPG header reads back
721200 x 180016.67 x 25.00 in72 x 72, units: dots per inch
1501200 x 18008.00 x 12.00 in150 x 150
3001200 x 18004.00 x 6.00 in (102 x 152 mm)300 x 300
6001200 x 18002.00 x 3.00 in600 x 600

Two things stand out. First, the file size did not move: every JPG came out at the same 98,965 bytes (96.6 KB), because only a few header bytes differ. Second, the file is bigger than our 54.9 KB original. The tool saves JPGs again at quality 95, which is a higher quality than the source we drew, so it grew by 76 percent. A phone photo that was already saved at high quality will change less; one that was heavily compressed will gain bytes without gaining detail.

With PNG selected, the same image came out at 620,322 bytes (605.8 KB). PNG is lossless, so it is the safer choice for line art and logos, but a photograph is far larger as a PNG than as a JPG.

Where is the DPI stored in the file?

In a JPG it sits in the JFIF header at the start of the file: a unit byte (1 means dots per inch) and two numbers for horizontal and vertical density. We read 300 and 300 back from the 300 DPI file. If a JPG has no JFIF header, the tool adds one.

A PNG stores it differently, in a chunk called pHYs that holds pixels per unit for each axis plus a unit specifier. The W3C PNG specification (section 11.3.4.3) says a unit of 1 means the metre, and that without the chunk the physical size of the pixels is unspecified. So a PNG cannot hold “300” directly; it holds 300 divided by 0.0254 inches per metre, rounded. In our test that was 11,811 for 300 DPI and 2,835 for 72 DPI.

That conversion is why some programs may show a PNG set to 300 as a number a hair off 300. It is a rounding effect of storing metres, not an error in the picture.

Which DPI should you choose?

JobDPI to setWhy
Photo prints (4 x 6, 5 x 7, 8 x 10)300The usual standard for something held in the hand
Brochures, business cards, magazine pages300Print shops normally ask for it
Wall art viewed from a metre or two150 to 200Detail per inch matters less at distance
Large posters and banners100 to 150Viewed from further away
Scanning prints or film600 or moreCapture extra pixels now; storage is cheap
Web, email, social mediaAnyScreens ignore the tag
A form that says “minimum 300 DPI”300, then check the pixelsSome forms read the tag; others check the pixel size

For passport and visa photos, the pixel size and millimetre size in the official rules are what count. Our passport photo tool and passport photo rules by country cover those.

What if you need a bigger print at 300 DPI?

Do the arithmetic first: pixels needed = inches x DPI. An 8 x 10 inch print at 300 DPI needs 2400 x 3000 pixels. If your image is 1200 x 1500, the tool will honestly report a print size of 4 x 5 inches at 300 DPI, and typing 150 would give 8 x 10 at half the detail per inch.

Print sizePixels at 300 DPIPixels at 150 DPI
4 x 6 in1200 x 1800600 x 900
5 x 7 in1500 x 2100750 x 1050
8 x 10 in2400 x 30001200 x 1500
A42480 x 35081240 x 1754
  1. Look for a bigger original. The camera or phone copy, or the “download original” option in a photo album, beats any enlargement. Messaging apps usually shrink photos.
  2. Accept a lower DPI if the print will be viewed from a distance. 150 is plenty for many wall prints.
  3. Enlarge the picture. The Image Upscaler adds pixels at 2x or 4x using AI; the Image Resizer sets exact pixel dimensions but only interpolates. Check faces and small text afterwards, because upscaling invents detail.
  4. Set the DPI last with the converter, so the number matches the final pixel size.

If the photo is blurry from focus or motion, no DPI or upscaling helps; see how to unblur a photo for what can and cannot be fixed. To make the file smaller afterwards, use the Image Compressor.

Does DPI matter for websites and social media?

No. A web page, an email client or a social app shows an image by its pixel size, so a 1200 x 1800 pixel picture looks identical whether the file says 72 or 300. If someone tells you to “set your web images to 72 DPI”, it will not change how they load or look. To make web images load faster, reduce the pixel dimensions and compress; see how to reduce image file size.

Why does my DPI look wrong after changing it?

What you seeLikely causeFix
The print size got smaller when you raised the DPIThat is how it works: same pixels, more per inchUse more pixels if you need the larger size
A print shop still says the image is low resolutionThe pixel count is too low for the print size, whatever the tag saysCheck pixels ÷ DPI against the table above and enlarge first
Another program shows a slightly different number for a PNGPNG stores pixels per metre, so inches are a rounded conversionNothing to fix; it still means 300
The JPG is larger than the originalIt was saved again at quality 95Run the Image Compressor afterwards if size matters
The DPI reverted after editing in another appSome editors rewrite or drop the header on saveSet the DPI as the last step, after all edits
Photo metadata disappearedThe image is re-encoded, which does not carry the camera data acrossKeep the original; see how to edit image metadata
Result table says it could not write the headerThe file could not be tagged in that formatSwitch Save as to PNG or JPG and run again

When is the DPI Converter not the right tool?

Use it when a printer, print shop, form or layout program wants a particular number in the file and the pixels are already enough. It is not a way to make a low-resolution image print larger or sharper, it will not convert a colour space to CMYK, and it does not resize. For exact pixel sizes, use the Image Resizer; for a document made of several images, Image to PDF may be simpler than tagging each one.

Questions

How do I change the DPI of an image for free?

Open the DPI Converter, drop in your JPG or PNG, type the DPI you need (for example 300) and download the result. The tool re-saves the image at the same pixel size and writes the new number into the file header. It runs in your browser and nothing is uploaded.

Does changing DPI make a photo sharper?

No. DPI is a label that tells a printer how large to print each pixel, so the pixel count and the detail stay exactly the same. In our test a 1200 x 1800 pixel photo stayed 1200 x 1800 at 72, 150, 300 and 600 DPI. To add pixels you need to enlarge the picture, for example with the Image Upscaler.

How do I convert 72 DPI to 300 DPI?

Set the DPI to 300 in the converter. The tag changes from 72 to 300 and the print size shrinks, because the same pixels are packed more tightly. A 1200 x 1800 pixel image goes from 16.67 x 25 inches at 72 DPI to 4 x 6 inches at 300 DPI. If you need the larger print at 300 DPI, you need more pixels, not a different tag.

What DPI do I need for printing a photo?

Photo prints held in the hand are normally made at 300 DPI, so a 4 x 6 inch print needs 1200 x 1800 pixels. Posters seen from a distance are fine at 100 to 150 DPI. The DPI and print size guide has a full table.

Does DPI matter for websites, email or social media?

No. Browsers and apps show an image by its pixel size and ignore the DPI tag. A 1200 x 1800 pixel image looks the same on screen whether it says 72 or 300. DPI matters when the file goes to a printer, a print shop or layout software that reads it.

Does changing DPI reduce quality?

The pixel dimensions do not change, but a JPG is saved again. The DPI Converter re-encodes JPGs at quality 95, which in our test made a 54.9 KB file 96.6 KB. If the picture was already compressed hard, a PNG output avoids another lossy save but is much larger.

How is DPI stored in a JPG or PNG?

A JPG keeps it in the JFIF header as a unit and two density numbers. A PNG keeps it in a pHYs chunk as pixels per metre, so 300 DPI is stored as 11,811. The W3C PNG specification defines that chunk and its unit specifier of 1 for the metre.

Are my images uploaded to a server?

No. The tag is written on your device, inside the browser tab. The tool is free, with no account, watermark or daily limit.

Sources: behaviour read from the DPI Converter and run on 26 November 2026 on a 1200 x 1800 pixel test image; the PNG pHYs chunk as defined in section 11.3.4.3 of the W3C PNG Third Edition specification, opened the same day.