Change the DPI of a JPG or PNG

DPI is a tag, not a pixel change. This tool rewrites that tag — JFIF density in a JPEG, the pHYs chunk in a PNG — and copies the image data byte for byte.

Change the DPI of a JPG or PNG

Drop a JPG or PNG to set its DPI

Or choose a file from your device

JPG or PNG · one file · max 80 MB · WebP cannot store a DPI

The pixels are copied unchanged; only the resolution field is rewritten.

Three steps — nothing to install

  1. Add a JPG or PNG

    One file at a time. The panel shows the resolution the file currently claims, if any.

  2. Choose a DPI

    72 for screen, 150 for a draft, 300 for photo print, 600 for fine print, or type your own.

  3. Download the tagged file

    The pixels and the visual result are identical; only the print metadata changed.

DPI does not change the picture

A 3000-pixel-wide photo is 3000 pixels wide. At 300 DPI it prints 10 inches across; at 150 DPI the same file prints 20 inches across. The DPI tag tells a printer how densely to lay those pixels out — it adds and removes nothing.

So this is not a resizing tool. When a form asks for “300 DPI and 1200 × 1800”, it wants the pixels too: use the 4 × 6 print resizer, which produces both.

Where the value is stored

JPEG stores density in the JFIF APP0 header, in dots per inch. PNG stores it in a pHYs chunk, in pixels per metre, and has no single standard place for an EXIF resolution pair. This tool rewrites both properly, replacing an existing chunk rather than adding a second one — two pHYs chunks make an invalid PNG.

EXIF also has XResolution and YResolution tags. They are left alone, and most viewers read the JFIF or pHYs value first. If a printer insists on the EXIF pair, re-export from the original editor.

What it refuses to do

WebP has no print-resolution field, so the tool says so instead of writing a tag nothing reads. HEIC is not accepted either; convert it to JPG first with the HEIC converter.

The image bytes are copied unchanged, so there is no re-compression and no quality loss. The file stays the same size, give or take the header bytes.

Frequently asked questions

Does changing DPI make the image sharper?No. DPI is a print instruction. Sharpness depends on the pixels, which are untouched.
Will the file size change?Barely. The image data is copied as-is; only a few header bytes change.
Can I set 300 DPI on a PNG?Yes. The pHYs chunk is rewritten, and existing ones are replaced rather than duplicated.
Why is WebP not supported?The format has no standard print-resolution field, so a DPI value written to it would be ignored.
Is my file uploaded?No. The header is rewritten in your browser and the file never leaves the device.