Change an image’s DPI

DPI is a tag, not a pixel count. This tool rewrites that tag in a JPEG or PNG and leaves every pixel untouched — milliseconds of work, no quality loss.

Free · no signup Nothing you upload leaves your device Reviewed Nov 20, 2026

Set the DPI tag

JPEG and PNG only. Pixels are not touched, so nothing is re-compressed.

Runs on your device Free during beta
Common values

DPI is metadata, not detail. Changing the tag from 72 to 300 tells a printer or an upload form how densely to place the pixels you already have — it does not add any. If the shape of the image matters but the pixel count is short, resize it first, then set the DPI.

DPI does not add detail

Changing 72 DPI to 300 DPI does not sharpen anything. It tells a printer or a form how large to reproduce the image. A 600 × 600 px photo at 300 DPI prints at 2 × 2 inches and still holds only 600 × 600 px of detail.

Why metadata instead of a redraw

Most tools decode the image and re-save it, which loses quality and takes seconds. DPI lives in a header block, so it can be edited in place. The bytes that describe your picture are never touched.

What to do if the pixels are too few

Resample upwards for a printer only if you must — nearest-neighbour and Lanczos both invent detail. For a form that just checks the DPI tag, changing the tag is the correct fix.

Every page in this tool

Each one is pre-filled with the numbers it is named after, so you land on the answer instead of a blank form.

Frequently asked questions

Does changing DPI change the file size?

No. The pixel data is untouched, so the file stays essentially the same size (a PNG can grow by 21 bytes if it had no pHYs chunk).

Will 300 DPI make my photo sharper?

No. DPI is metadata that tells software how densely to place pixels on paper. Sharpness comes from how many pixels you actually captured.

Which formats are supported?

JPEG and PNG. WebP and HEIC store resolution differently and are rejected with an explanation rather than a broken file.

Which number do photo editors show?

macOS Preview and Photoshop show the Exif value when present, otherwise the JFIF value. This tool writes both when both exist, so they agree.

JPEG: the JFIF APP0 density fields, plus the Exif XResolution/YResolution tags when present (Photoshop and macOS Preview read Exif first). PNG: a pHYs chunk in pixels per metre. Pixels are never decoded and re-encoded.