TOOLTIKI Lovable tool, really free
Image Inspect

DPI converter

Read in your browser · the file is never uploaded

Local · rewrites a header, no re-encoding
Advertisement
320 × 100

Changes the DPI recorded in an image file. It rewrites a header field and nothing else: no pixel is altered and no quality is lost, because the image is not re-encoded.

How to use the dpi converter

1 Choose a JPEG or PNG.
2 Read the DPI it currently declares.
3 Set a new one and save — the pixels are untouched.

DPI is metadata, not resolution, and that is the one thing worth taking away. An image is a grid of pixels; the DPI is a note attached to it saying how large to print that grid. A 3000-pixel-wide photo is 10 inches at 300 DPI and 30 inches at 100 DPI — the same pixels either way. Changing the number changes the intended print size and nothing about the image.

This is why "make this 300 DPI" is an incomplete request, and why so much confusion surrounds it. If a printer asks for 300 DPI they mean 300 pixels for every inch of the final printed size — so a 6 by 4 inch print needs 1800 by 1200 pixels. Setting the DPI field on a 600-pixel image to 300 does not create detail; it just says "print this at 2 inches wide". The tool shows the print size at both the current and the new DPI for exactly that reason.

The write is lossless because it edits a header rather than re-encoding. JPEG stores density in the JFIF APP0 segment; PNG stores it in a pHYs chunk, in pixels per metre rather than per inch. Both are a handful of bytes near the start of the file. Doing the same by opening and re-saving in an editor would recompress the entire image to change one number, which for a JPEG loses quality every time.

Where the field is ignored entirely: screens. A browser, a phone and a monitor all disregard DPI completely and show the pixels. It only affects print and page-layout software.

Questions

No. It changes a note about intended print size. The pixels are identical, and no detail is created.

PNG specification — the pHYs chunkJFIF — JPEG File Interchange Format
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING