Resize Image & Change DPI

Set exact pixel dimensions or convert to 72 / 150 / 300 DPI for print. Lock aspect ratio. Browser-based, no upload.

Drop your image here 🍡

PNG, JPG, WebP, BMP — any size, mochi handles it all

Files never leave your device
100% Private No Signup No Watermarks
Width
Height
Lock
Change
DPI
Format
Print presets — tap to auto-fill at chosen DPI
Share this tool
Need more? Try related tools

After resizing, use the Photo Editor to enhance sharpness and contrast, then Compress to optimize file size for web or email.

Browse All Tools →

Resize, Print Size Calculator & DPI Converter — Online

imagemochi merges three jobs into one tool: a pixel-precise image resizer, a print size calculator, and a DPI metadata converter. Screen mode takes exact width and height in pixels for web, social, and email. Print mode flips it: pick a physical print size (4×6", 5×7", 8×10", A4, A3, custom inches) and a target DPI (72, 150, 300), and the tool figures out the pixels needed — with a visual A4 comparison and a low-pixel warning that hands off to the AI Upscaler when you don't have enough. DPI mode only changes the embedded DPI tag, leaving pixels untouched — perfect for passport portals, photo labs, and Word/InDesign imports that reject files based on metadata. The converter writes real pHYs chunks (PNG) and JFIF density bytes (JPEG), not fake labels. Supports PNG, JPG, WebP, BMP with no file-size limit. Everything runs in your browser; your photos never upload.

1
Pick mode
Screen, Print, or DPI tag
2
Configure
Pixels, print size, or DPI value
3
Download
Embedded DPI metadata, sharp output

Frequently Asked Questions

How do I resize an image without losing quality?
This tool uses high-quality browser-based resampling via the HTML5 Canvas API, which applies bilinear interpolation by default. Downscaling (making images smaller) generally preserves sharpness well, but upscaling beyond 200% of the original can introduce visible softness. For the best enlargement results, try our AI Upscaler for up to 4× super-resolution, or use the Photo Editor to fine-tune sharpness and contrast afterward.
Can I resize to specific pixel dimensions?
Yes — enter exact width and height values in pixels. When "Keep aspect ratio" is checked, changing one dimension automatically recalculates the other to prevent stretching or squashing. This is essential for maintaining natural proportions in photographs. If you need a specific physical print size at a target DPI (e.g., 4×6 inches at 300 DPI = 1200×1800px), calculate the pixel dimensions first, then enter them here.
How does Print mode calculate the pixels I need?
Print mode uses the simple equation pixels = inches × DPI. If you pick a 4×6 inch photo at 300 DPI, the tool needs 1200×1800 pixels to print sharply. The visual preview shows your chosen print size against an A4 reference so you can sanity-check the physical scale at a glance. If your uploaded image has fewer pixels than required, Print mode flashes a low-pixel warning and offers a one-click handoff to the AI Upscaler — it adds the missing pixels, then sends you back to Print mode with all your settings preserved.
How do I change image DPI to 72, 150, or 300?
Type a value into the DPI field, or tap one of the preset buttons (72, 150, 300). The tool embeds the DPI metadata directly into the file — a real pHYs chunk for PNG output, JFIF density bytes for JPEG output. Print drivers, Microsoft Word, Adobe InDesign, photo lab uploaders, and passport submission portals will all read this value. WebP doesn't have a standard DPI field, so DPI is skipped if you export to WebP. DPI metadata only changes how the file is interpreted for print — it does not alter pixels, so your image looks identical on screen. To physically resize, change width/height too.
Why does the file size barely change after I set DPI?
DPI is metadata, not pixel data. Setting 300 DPI on a 1024×768 image keeps every pixel identical and only adds ~9 bytes (PNG pHYs chunk) or modifies 5 bytes (JPEG JFIF density). The visible image is unchanged; only print software reads the new value. If a service rejected your photo as "below 300 DPI", they're checking metadata — embedding 300 DPI here will pass the check. If they rejected it as "low resolution", you need more pixels, which means upscaling — try our AI Upscaler.
What formats are supported for input and output?
Input supports all browser-compatible image formats including PNG, JPEG, WebP, BMP, GIF, ICO, and SVG. Output options include PNG (lossless, best for graphics with transparency), JPEG (lossy compression, ideal for photographs at smaller file sizes), and WebP (modern format with superior compression-to-quality ratio, supported by all major browsers since 2023). Choose WebP for web publishing and PNG for archival quality.
Is there a maximum file size or resolution limit?
Since all processing happens in your browser using JavaScript and Canvas, limits depend on your device memory rather than server restrictions. Most modern devices handle images up to 8000×8000 pixels comfortably. Mobile devices may struggle with images above 4096×4096. There is no file upload limit because nothing leaves your device — this is a 100% client-side tool, making it faster and more private than server-based alternatives.
Can I batch resize multiple images at once?
Yes — this tool supports batch processing. After configuring your desired width, height, and output format for the first image, click the batch mode option to drop multiple files simultaneously. Each image will be resized to the same target dimensions using your settings, which is perfect for preparing product photos for e-commerce or standardizing a set of images for a website gallery or social media campaign.

Related preset categories

Curated multi-step recipes that build on this tool — drop an image, get the right output for the destination platform without configuring the steps yourself.

Social mediaResize to the native pixel dimensions for Instagram, Twitter / X, TikTok, LinkedIn, and 30+ other social platforms. Marketplace listingsResize product photos to Amazon's 2000×2000, Etsy's 2700×2025, Walmart's 1500×1500, and other marketplace-specific dimensions. Design assetsResize for icons, wallpapers, profile pictures, and brand deliverables at canonical sizes. PrintResize at 300 DPI for photo prints, business cards, posters, and other physical-output destinations.

Browse all categories →