Change the DPI tag, not the pixels
LOCALDPI is a label stored in the file header. It tells a printer, a layout program or a print shop how many of the existing pixels to place in one inch of paper. It says nothing about how much detail the image contains, and changing it does not create new pixels. This tool rewrites that label on JPEG and PNG files: the pixel data is copied byte for byte, and only the density fields are replaced. A 3000 × 2000 photo prints at 10 × 6.67 inches at 300 DPI and at 41.67 × 27.78 inches at 72 DPI, with exactly the same sharpness and the same number of pixels. Print size is simply pixels divided by DPI. Use it when a lab, a marketplace or a journal rejects a file because of the stored DPI value, not when a picture looks soft. Everything happens in this tab: files are never uploaded, the limit is 25 MB per file and 20 files per batch.
How it works
- 01
Add JPEG or PNG files
Drag files onto the panel or pick them from disk. The tool accepts JPEG (.jpg, .jpeg) and PNG only, up to 25 MB per file and 20 files per batch; anything else is skipped with a short reason instead of failing silently. For every accepted file the list shows its pixel dimensions, the DPI value currently stored in the header, and the file size. A photo without a density tag is labelled untagged, which is common for images exported by web tools that strip metadata.
- 02
Choose the target density
Five presets cover most requests — 72, 96, 150, 300 and 600 — and the field also accepts any whole number from 1 to 65535. As you change the value, each row recalculates the paper size it would print at with the pixels it already has, in inches and centimetres. That preview is the honest part of the tool: a 1200 × 800 image at 300 DPI is 4 × 2.67 inches, and no DPI value will turn it into a sharp A4 page. Type the number your lab or template asks for.
- 03
Write the headers
Pressing Set DPI rewrites metadata without re-encoding. On JPEG the JFIF density fields are set to dots per inch, and a JFIF segment is inserted when the file has none; the EXIF XResolution, YResolution and ResolutionUnit tags are updated to match, because different programs read different ones. On PNG a pHYs chunk is written or replaced, storing pixels per metre. The compressed image data is copied byte for byte, so there is no generation loss, no colour shift and no change in image dimensions.
- 04
Download single files or a ZIP
Each finished file gets its own download link, and a ZIP button collects the whole batch. Every exported name carries the harmmy- prefix, including the archive, so a folder of results is easy to recognise. Output names end with the target value, for example holiday-300dpi.jpg, which keeps two versions of the same picture apart. Nothing is stored between visits: closing or reloading the tab discards both the inputs and the results.
When to use it
A photo lab asks for 300 DPI
Consumer labs and photo kiosks often reject a file or print it at the wrong size because the embedded density is 72 or missing, even when the pixel count is fine. Setting the tag to 300 makes the file match their template. Check the pixel side as well: a 4 × 6 inch print at 300 DPI needs 1200 × 1800 pixels, and an 8 × 10 needs 2400 × 3000. If the file is smaller, the lab can still print it, but the result will be softer; changing the tag will not hide that.
Amazon KDP covers and interior images
KDP asks for 300 DPI images and also enforces minimum pixel dimensions for covers and interior files. Both conditions matter and they are separate: the DPI tag satisfies the metadata check, while the pixel count decides whether the printed page looks acceptable. A common mistake is uploading a 1000-pixel-wide cover with a 300 DPI tag, which passes one check and fails the other. Some systems read only the stored tag, others only count pixels, so both have to be right. Fix the tag here, then confirm that the dimensions are large enough for the trim size you chose.
Manuscript figures for a journal
Many journals specify 300 DPI for halftone photographs and 600 to 1200 DPI for line art, and several still prefer TIFF or EPS. This tool handles JPEG and PNG, so convert a TIFF to PNG first if the author guide allows it. Remember that the requirement has two halves: the density tag and the real pixel dimensions at the printed column width. A figure that is 3 inches wide at 300 DPI needs 900 pixels across, and upscaling a smaller original adds no information.
Printable art sold on Etsy
Buyers of printable wall art expect to print at 8 × 10, 11 × 14 or A4 without visible softness, so the pixel dimensions do the real work: 2400 × 3000 for 8 × 10, roughly 2480 × 3508 for A4 at 300 DPI. Etsy itself does not inspect DPI, but a print shop or a buyer's printer driver may, and a file tagged 72 DPI sometimes triggers a warning or an automatic resize. Set the tag to 300 for consistency, and stay honest in the listing about the largest size the pixels actually support.
Questions
Does changing DPI reduce image quality?
No. Quality is lost when pixels are resampled or the file is recompressed, and neither happens here. The compressed image data is copied unchanged; only a few header bytes that describe density are replaced. The picture you get back is the same picture, with the same pixels, the same compression artifacts and the same colours. What also does not change is sharpness: a soft photo stays soft.
Why are the pixel dimensions unchanged?
Because DPI and pixels are different things. A 3000 × 2000 image is always 6 million pixels; the DPI value only decides how densely those pixels are placed on paper. Raising DPI shrinks the printed size, lowering it enlarges the print, like changing the zoom of a projector without changing the slide. To get more pixels you need a different original or a resampling step, which is a separate operation with its own trade-offs.
What is the point of going from 72 to 300 DPI?
It satisfies software and services that read the tag. A print template may compute page size from DPI, a lab's ordering system may refuse anything below 300, and some layout programs warn about low-resolution images based on the stored value alone. The image itself does not gain detail. Going from 72 to 300 makes the same pixels print at roughly a quarter of the previous width and height, which is often exactly what the template expects.
How many pixels do I need for 300 DPI?
Multiply the target size in inches by 300. A 4 × 6 inch print needs 1200 × 1800 pixels, 5 × 7 needs 1500 × 2100, 8 × 10 needs 2400 × 3000, and A4 at 300 DPI is about 2480 × 3508 pixels. For 600 DPI, double those numbers. If your file has fewer pixels, the tag will not fix it; print smaller or start from a higher-resolution original.
Why does the DPI read back as 299.9994?
PNG stores density as pixels per metre, not per inch. 300 DPI is 300 × 39.3701 = 11,811.02 pixels per metre, which is rounded to the integer 11,811. Converting back gives 11,811 × 0.0254 = 299.9994. Almost every program rounds this to 300 and treats it as identical; the difference is a rounding artefact of the unit, not an error in your file.
Can it handle WebP, HEIC or TIFF?
No. Only JPEG and PNG carry the density fields this tool knows how to rewrite safely. HEIC from phones, WebP from websites and TIFF from scanners each store resolution differently, and TIFF in particular has several incompatible layouts. Convert to PNG or high-quality JPEG first, then set the DPI here. Converting a compressed format does not add detail, so start from the best original you have.
Does the file size change?
Barely. The edits touch a handful of bytes: 18 bytes for an inserted JFIF segment, 21 for a new PNG pHYs chunk, or nothing at all when the field already exists. The compressed image data, which is almost the entire file, is untouched. A 4 MB photo will still be about 4 MB. If a file suddenly shrinks or grows a lot after a DPI change, some other program re-encoded it, and that is where quality can be lost.
Is anything uploaded, and can I process a batch?
Nothing leaves the browser. Files are read through the local file API, rewritten in memory and offered back as downloads; there is no server request and no copy on disk. One batch holds up to 20 files of up to 25 MB each, which is enough for a set of prints or a journal submission. For larger jobs, run several batches; each result is independent.