Karelia DPI free tool
Change the DPI of an image
A printer, a publisher or a form asks for 300 DPI. Drop a JPG or PNG, pick the value, and download the same picture with the new DPI. No pixel is changed, and the file is not uploaded.
- 72
- 96
- 150
- 200
- 300
- 350
- 600
- Or type your own
What DPI is, and what it is not
DPI, dots per inch, is one number stored in the header of a picture file. It tells a printer or a layout program how many of the picture's pixels go on one inch of paper. It does not say how many pixels the picture has, and changing it does not change how the picture looks on a screen.
What this tool changes
- The DPI number, in every place the file keeps it: the JFIF header and the EXIF and Photoshop resolution fields of a JPG, the pHYs chunk of a PNG.
- Nothing else. The compressed picture data is copied byte for byte, so there is no loss of quality at all.
- The file size stays within a few bytes of the original.
The page shows the DPI in the file now, and how large the picture prints at the value you pick.
What it does not change
- The number of pixels. A 1200 pixel wide picture set to 300 DPI prints 4 inches wide. To print it larger and sharp, you need more pixels, not a higher DPI number.
- The other data in the file. EXIF, the GPS position and the camera model stay. Karelia Image removes those.
- WebP files. WebP has no DPI field of its own.
If you are asked for 300 DPI at a certain print size, check the print size the page shows. If it is too small, the picture has too few pixels.
| Asked for | Pixels needed for 10 × 15 cm | For A4 (21 × 29.7 cm) |
|---|---|---|
| 72 DPI | 283 × 425 | 595 × 842 |
| 150 DPI | 591 × 886 | 1240 × 1754 |
| 300 DPI | 1181 × 1772 | 2480 × 3508 |
| 600 DPI | 2362 × 3543 | 4961 × 7016 |
How it works
Drop a JPG or PNG
The page reads the DPI the file has now, and its size in pixels.
Pick the DPI
300 for most print work, or the value you were asked for. The print size at that value is shown.
Download the file
The same picture, byte for byte, with the new DPI in its header.
This tool keeps the GPS position in the file
Changing the DPI leaves everything else in the file alone, and that includes where the photo was taken, the camera and the date. Before a picture goes to print or into a form, Karelia Image removes that data from one image for free. The PureImage Offline Edition does a whole folder at once on your own computer, with the network unplugged. $14.99 once, no account.
Questions
How do I change an image to 300 DPI?
Drop the JPG or PNG on this page, leave 300 selected, and download. The file you get has 300 DPI written in its header, and the picture in it is unchanged.
Does changing the DPI change the quality?
No. Here only the DPI number is rewritten. The compressed picture data is not opened or saved again, so the pixels and the quality are exactly those of your original.
Does a higher DPI make the picture sharper?
No. Sharpness in print comes from the number of pixels across the printed width. The DPI number only says how large the pixels you have are spread on paper. Setting 300 DPI on a small picture makes it print small, not sharp at a large size.
How many pixels do I need for 300 DPI?
Multiply the print size in inches by 300. A 4 by 6 inch print needs 1200 by 1800 pixels, and A4 needs about 2480 by 3508. The page shows the print size your picture reaches at the DPI you pick.
Why does a site reject my photo as not 300 DPI when it is large enough?
Many upload forms and prepress checks only read the DPI number in the file header, and cameras and phones often write 72 there. Setting the number to 300 with this tool is what such a check looks at. The picture itself does not need to change.
Is my picture uploaded?
No. The file is read and rewritten by this page in your browser, on your own device, and the page works with the internet connection switched off once it has loaded.
Does the file keep its EXIF data?
Yes, all of it, including the GPS position if the photo has one. This tool changes the DPI and nothing else. To remove the hidden data, use Karelia Image.
Why does my PNG say 299.999 DPI in some programs?
A PNG stores resolution in pixels per metre, as a whole number. 300 DPI is 11811.02 pixels per metre, which is stored as 11811, and that converts back to 299.9994. Programs round it to 300.
More free tools from Karelia Labs
They all run in your browser. None of them uploads your file.
Guides that go with this tool