🔍 Image Compare

Lay two images on top of each other and slide between them — zoom in to compare them pixel by pixel

✓ Free Forever · ✓ No Signup · ✓ No Upload · ✓ Works Offline

🔒 Your image never leaves your device. All processing happens locally in your browser using Both pictures are decoded by your browser and stacked in one frame (CSS clip-path for the divider, one CSS transform for zoom) — nothing is uploaded. No upload, no server, no tracking.

Features

  • Interactive Slider — Drag the slider to reveal differences between two images.
  • Clear Labels — Before/After labels help identify which image is which.
  • Touch Support — Works on mobile devices with touch gestures.
  • Zoom to the Pixels — Zoom in up to 8 screen pixels per picture pixel and drag around; both pictures move together, so JPEG blocks, banding and soft edges show up exactly where they are.

How It Works

  1. Upload Image A — Drop or select the 'before' image.
  2. Upload Image B — Drop or select the 'after' image.
  3. Compare — Drag the divider left and right; zoom in (buttons, Ctrl/⌘ + scroll, pinch or double-click) to check the details.

Use Cases

  • Compare image quality before and after compression
  • Show design iterations or filter effects
  • Verify image processing results

Frequently Asked Questions

Do the images need to be the same size?

No, but they need the same shape to line up. Two pictures with the same proportions line up exactly even at different resolutions (a 4000 × 3000 photo and its 1200 × 900 copy) — both are shown in one frame. Pictures of different shapes can’t line up; the page says so and fits Before inside After’s frame.

Can I see compression artifacts?

Yes. Fitted to the screen, a 12-megapixel photo shows only about a fifth of its pixels, so JPEG blocks and banding hide. Press 1:1 (or double-click) to see one picture pixel per screen pixel, zoom further up to 8×, and drag around — Before and After stay on top of each other while you look.

Is the file size it shows the real one?

Yes — it’s the size of the file you picked, read on your device, along with the picture’s dimensions, and After is compared with Before in percent. Nothing is uploaded or re-encoded to measure it. (An iPhone HEIC is converted so the browser can show it; the size shown is still the original file’s.)

Notes from Milo 🐨

2026-10-27

I wanted to see what a heavy JPEG setting really did to a 4K photo, so I put the original and the compressed copy in my own compare tool — and couldn't tell them apart. Not because they matched: the page squeezed 3,840 pixels into 800, so four out of five pixels never reached the screen, and there was no way to get closer. You can now zoom: 1:1 shows one picture pixel per screen pixel, you can go up to 8×, and drag around while Before and After stay exactly on top of each other (buttons, Ctrl/⌘ + scroll, two fingers, or double-click). Underneath, each side shows its file name, dimensions and real file size, with After's size compared to Before's in percent. Two pictures of different shapes now get a note saying they can't line up instead of quietly sitting half on top of each other, a damaged file is named instead of showing a broken icon, there's a Swap button, you can pick both pictures at once, and dropping exactly two pictures on the home page offers Image Compare.

2026-10-02

I compared two copies of the same photo and the "before" side came up at half size, sitting in the top corner instead of on top of the "after" one. It only snapped into place once you started dragging, which is a strange first impression for a tool whose whole job is lining two pictures up. Both images now share one frame from the very first moment, so identical sizes line up exactly and a different shape just gets bars instead of hanging off the edge. You can also click anywhere to jump the divider there, move it with the arrow keys, actually drop files onto the boxes (the boxes said "Drop" but didn't take them), and dragging sideways on a phone no longer scrolls the page out from under your finger. Picking a file that isn't an image now tells you so.

Related Tools

  • 📦 Compress Image — Reduce file size without losing quality — all in your browser
  • 🔎 Upscale Image — Enlarge images 2x–4x — smooth for photos, sharp pixels for pixel art — no upload needed
  • 🌈 Image Filters — Apply beautiful filters — instantly in your browser

💬 Bug, idea, or just to say hi? Tell Milo 🐨 · [email protected]