Free · processed in your browser · free account to download
Change Image DPI Without Resampling
Drop a JPG or PNG to inspect its current DPI and write a new resolution header (72, 96, 150, 300, 600 DPI, or 1–2400 DPI). The pixels are not redrawn, and your image is not uploaded.
How do I change the DPI of a JPG or PNG image?
Drop your JPG or PNG into the box above, check the stored DPI and calculated print size, then click one of the preset buttons (72, 96, 150, 300, 600 DPI) or type a custom number from 1 to 2400 and press Apply. The tool updates the resolution header directly in the file bytes without re-encoding the image pixels.
How it works
01
Drop a JPG or PNG
Drag your file into the box or click to select it. The tool reads the current Stored DPI and shows the print size before and at 300 DPI.
02
Pick a preset or custom DPI
Click 72, 96, 150, 300, 600 DPI, or enter any whole number from 1 to 2400 in the custom box and press Apply.
03
Download the updated file
Save the new -dpi file; saving needs a free HeyDreaming account, while checking the stored DPI does not. The pixel width, height and compressed image data stay untouched, and your original file is not changed.
What changing DPI actually does
An image's DPI (dots per inch) is a header number that tells print labs, PDF builders and page layout software how many pixels to place in every physical inch. Changing that header changes the default physical print dimensions in inches and centimeters, while leaving the pixel width and height untouched.
For example, a 3000 by 2400 px photo tagged at 72 DPI reports a print size of 41.67 by 33.33 inches. Setting the file header to 300 DPI changes its reported print size to 10 by 8 inches without touching a single pixel. Many submission portals, book printers and government forms check this header number before accepting an upload.
What changes inside the file
The tool edits the file header at the byte level instead of redrawing the picture on a canvas, so your image never goes through another round of lossy compression. In a JPG or JFIF file, it writes the new density into the JFIF APP0 segment (inserting an 18-byte APP0 segment if none exists) and updates the EXIF IFD0 XResolution, YResolution and ResolutionUnit tags when the file carries them so apps like Photoshop read the same number.
In a PNG file, it replaces or inserts the 9-byte pHYs chunk before the first IDAT chunk, storing the equivalent pixels-per-meter value and recalculating the chunk CRC. Other formats can be dropped to check their current DPI, but must be converted to JPG or PNG first to write a new value.
What this tool does not do
It does not add or remove pixels (resampling), sharpen a low-resolution image, or write DPI headers into WebP, HEIC, AVIF, TIFF, GIF or BMP files.
Keep exploring
Related free tools
Questions
DPI Converter: FAQ
Is my image uploaded to change its DPI?
No. Header editing runs in your browser tab, so the file stays on your device. HeyDreaming sends usage events to Google Analytics, such as the chosen DPI and file size, but never your image.
Does changing DPI make my image sharper or add pixels?
No. Changing DPI only updates the print-density number in the file header; the pixel width and height stay the same. If you need more pixels for a large print, use the Image Resizer or Image Upscaler.
Does this tool reduce JPG quality?
No. The compressed JPEG scan data is copied byte-for-byte without decoding or re-encoding, so image quality is untouched and the file size changes by at most 18 bytes.
Which DPI values can I set?
You can click any of the 5 presets (72, 96, 150, 300, 600 DPI) or enter a custom whole number between 1 and 2400 DPI.
Why can't I change the DPI of a WebP, HEIC or TIFF file here?
Byte-level DPI writing in this tool supports JPG, JFIF and PNG containers. Convert your image to JPG or PNG first if you need to set a DPI header on another format.