Changing image DPI means editing the print-density metadata that tells compatible software how many existing pixels to place in one physical inch; it does not change the image's pixel dimensions or add detail.

For beginners, the practical question is not simply how to make the number bigger. It is which DPI value will produce the physical size you need in the destination. Once that goal is clear, changing DPI is a short metadata edit. This guide covers the safe local workflow for one JPEG or PNG, explains how to calculate a suitable target, and shows where to verify the result.

change image dpi for beginners
Change Image DPI for Beginners: A Print-Size Checklist

DPI and Pixel Resolution Do Different Jobs

Pixel dimensions are the width and height stored in the image itself. DPI is a print-density instruction stored alongside those pixels. When a printer or layout program reads that instruction, it can translate the existing pixel count into a physical width and height.

Changing the DPI instruction does not create pixels. It cannot sharpen a soft photo, improve small text, rescue a low-resolution scan, or turn a low pixel count into a high-resolution print. Lowering the value does not remove pixels either. It only changes how a compatible destination interprets the existing pixels for sizing.

On a website, an image's display size usually comes from CSS or the page layout. For that reason, changing its DPI normally will not make it look sharper in a browser.

Your goal Operation to use What changes
Set the physical print size of existing pixels Update DPI metadata The print-density instruction; pixel dimensions and image detail remain unchanged.
Create a different pixel canvas Resize or resample the image The stored pixel dimensions, which can affect the amount of visible detail.
Change JPEG to PNG or PNG to JPEG Use a format converter The encoded file format; format conversion is not a DPI-setting operation.

If a layout requires more pixels at the final print size, a metadata change cannot satisfy that requirement. Use an image-resizing workflow when the actual pixel count needs to change.

Make the Print-Size Decision First

Choose the final physical width and height before editing the file. If you know the image width in pixels and the intended print width in inches, use this formula:

Target DPI = image width in pixels ÷ intended width in inches.

Worked example: For a 3,600-pixel-wide image planned for a 12-inch-wide print, 3,600 ÷ 12 = 300 DPI. Check the height with the same method before proceeding.

When a print provider specifies a pixel count, export profile, bleed, or file format, follow its documented requirements rather than assuming a DPI label satisfies everything. If you are starting with a desired DPI and need the corresponding physical size, use the DPI Converter before changing the file.

Set the DPI Metadata Locally

  1. Choose one source image. Open Image DPI Changer, select one JPEG or PNG file up to 25 MiB, and review any detected print-density metadata. The page reports whether it found a usable existing JFIF or pHYs density.
  2. Enter the target value. Use the value determined by your intended physical size and enter it as a whole number. Possible values include 72, 150, 300, and 600, but the appropriate target should come from the destination application's or print provider's requirements.
  3. Update the image DPI. Select Update image DPI. The tool updates JPEG JFIF or PNG pHYs density metadata while leaving the pixel dimensions unchanged. It copies the compressed image data as bytes, so it does not need browser-canvas rendering or create a second lossy JPEG encoding.
  4. Download the copy. Save the generated file separately and keep the original as a backup. The download is the new version with the targeted metadata change.
  5. Verify the downloaded result. Open the copy in the destination layout or print application, place it at the intended size, and confirm the resulting physical dimensions. Inspect small text, edges, and photographs at the final output size because metadata cannot compensate for insufficient source pixels.

The file is processed locally and is not uploaded to a server. Before creating the updated metadata, the tool validates the file signature and bounded header structure. Truncated JPEG marker segments, malformed PNG chunks, duplicate physical-pixel chunks, and a pHYs chunk placed after image data are rejected rather than patched optimistically.

JPEG and PNG Store Density Differently

JPEG stores density in JFIF APP0 fields, as defined in the W3C JFIF 1.02 specification. PNG uses the pHYs physical-pixel chunk described in the W3C PNG Specification, Third Edition. Both are standards-based ways to express physical density, but their storage and readback behavior differ.

Format Metadata updated by the tool What to check
JPEG JFIF density fields using dots-per-inch units If the source has no JFIF density header, the output adds a small JFIF header. A JPEG may also contain other forms of resolution information.
PNG The pHYs physical-pixel chunk stored as pixels per metre The page converts from DPI using the exact 0.0254-metre-per-inch relation, but integer pixels-per-metre storage can make a readback differ by a very small rounding fraction.

After selection, the page also reads standard EXIF resolution fields. It does not attempt to merge or rewrite every possible EXIF, XMP, ICC, IPTC, camera, GPS, or vendor extension, so it should not be treated as a general-purpose metadata editor. Different programs may choose which resolution fields to display, which is another reason to test the downloaded copy in the application that will use it.

Check the Result in the Destination Workflow

For a print layout, import the downloaded copy, confirm its reported density if the application displays one, and check the physical dimensions at the planned size. Judge the result from a print preview or final output rather than from a magnified on-screen preview.

For a website, expect no visible increase in sharpness because CSS or layout normally controls the display. For a social platform or export workflow, do not assume the new DPI value will be retained or interpreted in the same way as in your layout application. Follow the destination's documented requirements and inspect the exported result.

  • Does the destination report the expected density or calculated size?
  • Does the image occupy the intended physical dimensions?
  • Do small text, edges, and photographs remain acceptable at final output size?
  • Does the file still meet any pixel-count requirement specified by the print provider?

A metadata viewer or layout application can provide a second confirmation. If a PNG reports a tiny difference from the requested value, check the integer pixels-per-metre storage limit. If another application shows a substantially different value, check whether it is prioritizing another resolution field or ignoring the field that was updated.

Know What the Updated File Can and Cannot Fix

  • It can give compatible print and layout software a new physical-size instruction for the existing pixels.
  • It cannot add detail, enlarge, sharpen, crop, compress, or remove existing pixels.
  • It does not convert image formats, change the canvas size, add print margins, or estimate printer quality.
  • It cannot guarantee that every downstream program or social platform will interpret the new value in the same way.

Use a DPI metadata change when the existing pixel count is sufficient and the destination mainly needs corrected sizing information. Use resizing when more pixels are required, keep the original file, and verify the final copy in the workflow where it will actually be used.

If you're weighing options, Image to Base64 for Beginners: A Step-by-Step Start covers this in detail.

If you're weighing options, Image to PDF for Beginners: A Simple First-Time Guide covers this in detail.