PNG Flipper (Mirror)

Flip a PNG horizontally (mirror left-to-right) or vertically (upside-down). The flip is pixel-perfect β€” no quality loss. Transparency is preserved.

100% private β€” processed in your browser. No upload, no server.

Flipping vs. rotating β€” they're not the same

Flipping creates a mirror image; rotating turns the image around its centre. A horizontally flipped photo of a person's face shows the face with right and left swapped β€” a mirror reflection. A 180Β° rotation of the same image shows the face upside-down. The two operations produce visually different results except in one special case: a horizontal flip combined with a vertical flip is mathematically identical to a 180Β° rotation, which is why we offer "Both" as a third option.

Flips are pixel-perfect: every pixel in the source ends up exactly once in the output, at a mirrored position. There's no interpolation, no smoothing, no anti-aliasing β€” and therefore no quality loss whatsoever. The output file is identical in size and detail to the source, just rearranged.

When you'll want to flip a PNG

When NOT to flip

How this tool works

The browser draws your PNG onto a new canvas the same size as the original, applying a 2D transformation matrix that scales by -1 in the chosen axis. For a horizontal flip the X axis is scaled by -1 (and the canvas is translated by the full width to keep the image visible); for a vertical flip the Y axis is scaled by -1. The result is a clean, pixel-for-pixel mirror of the source. The new image is then re-encoded as PNG, preserving the alpha channel.

Flip direction at a glance

DirectionWhat it doesEquivalent to
HorizontalLeft ↔ RightMirror in a vertical line
VerticalTop ↔ BottomMirror in a horizontal line
BothHorizontal + vertical at once180Β° rotation

Tips and best practice

FAQs

Is flipping lossless?

Yes. Pixel positions change but pixel values do not.

Will transparency be preserved?

Yes β€” every pixel keeps its alpha value.

Why does the file size differ slightly?

PNG compression depends on the order pixels appear. Flipping can change how well the compressor packs the data β€” usually only by a few percent.

What's the difference between "Both" and using the Rotator at 180Β°?

None β€” they produce identical output.

Is anything uploaded?

No. The flip runs in your browser using the Canvas API.

Can I batch-flip several PNGs?

Not yet β€” one file at a time.

Does this work for animated PNG?

Only the first frame. Multi-frame APNG needs a different tool.

Related tools