Flip images horizontally or vertically with one click

Mirror an image horizontally or vertically.

freeworks offlinenothing uploaded
ToolImage Flipper
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

The canvas transform applies a negative scale on the horizontal or vertical axis, then translates the source so its bounds remain inside the output. Pixel order reverses along the chosen axis while dimensions stay unchanged.

  • A sign-changing scale performs a mirror without changing dimensions.

Worked example

Mirror Image
Flip an image horizontally to create a mirror effect
Input
											data:image/png;base64,iVBORw0KGgo... (image data URL)
										
Output
												PNG with pixels reversed along the horizontal axis
											

When to use this

Photo composition, game sprites, and design previews flip images.

Edge cases

  • Text in the image becomes backwards when mirrored.
  • A horizontal flip changes visual orientation but not an EXIF orientation tag.
  • Transparent edges remain transparent after the transform.

References