DT
DevToolKit
Clearly labeled tools
Tools
Workspaces
Resources
Browse tools
DT
DevToolKit
Practical PDF, image, developer, and everyday tools

Clearly labeled processing for everyday tasks.

Core processing runs in the browser for most tools. Server-backed and external-provider workflows are labeled separately. Basic tools are available without signup; individual limits vary by tool.

46 unique tools4 workspacesNo signup for basic tools
Browse toolsTrust Center
Tools
All toolsPDF workspaceImage studioDeveloper workbenchGeneral tools
Product
BlogSupportContact
Company
AboutTrust CenterPrivacy PolicyTerms of Use

© 2026 DevToolKit. Practical PDF, image, developer, and everyday tools with clearly labeled processing.

In-browserServer-backedExternal preview
amanhirut32@gmail.com
HomeToolsImageImage Rotate & Flip

Image Rotate & Flip

  • In-browser
  • No signup
  • Flip & rotate

Rotate one JPG, PNG, or WebP in 90° steps or mirror it horizontally and vertically, then export a new copy in the source format.

Core processing runs in your browser and does not upload this file for the task.

Preparing the editor...

The guide and instructions on this page are available while the tool loads.

Continue your workflow

  • Image CropperFrame a rectangular region. Rotate & Flip only turns or mirrors the whole image; it does not crop.
  • Image CompressorReduce an image’s file size. Rotate & Flip bakes orientation into pixels; it does not compress.
  • Image ResizerResize by exact pixels, percentage, or presets. Rotate & Flip may swap width and height on a quarter turn; it does not resize.

What this tool does

Image Rotate & Flip applies 90° steps and optional mirrors, then exports a new file in the same format family as the source.

When to choose it instead of a similar DevToolKit tool

  • Use this for phone photos that display sideways.
  • PDF Rotator works on PDF page rotate flags, not raster photos.
  • Crop if you also need to reframe after rotating.

Typical jobs this page is built for

  • Turn a sideways JPEG 90° and keep it JPEG.
  • Mirror a PNG logo horizontally or vertically.
  • Apply a quarter-turn plus a flip, which downloads as {base}-edited.{ext}.

Supported inputs, limits, and output behavior

Input
JPG, PNG, or WebP, 20 MB.
Angles
normalizeRotation; canvas swaps width/height on 90 and 270.
Filenames
{base}-rotated.{ext}, {base}-flipped.{ext}, or {base}-edited.{ext} if both.

How the transformation actually works

The canvas is translated to center, rotated in radians, scaled -1 on flip axes, then drawImage from the original top-left offset.

Step-by-step workflow

  1. Upload one image.
  2. Click Left 90° or Right 90° as needed.
  3. Optionally toggle Horizontal or Vertical flip.
  4. Check the live preview.
  5. Click Apply & download.
  6. Open the download; the on-page preview is not a substitute for the file.

What can change in the output

Re-encoding can change bytes even when pixels look the same. EXIF Orientation in the source is not a dedicated rewrite; the Image decoder’s display is what gets drawn.

Known limitations and failure cases

  • Arbitrary degree angles are not in the UI.
  • Empty or corrupt files fail inspect.
  • No format conversion.

Privacy / where data goes

Transforms run in the browser. The image is not posted to a rotate API. Identified analytics may include byte counts, dimensions, angle, and flip flags, not the pixel contents.

Practical output-review checklist

  • Check that 90° swapped dimensions as expected.
  • Confirm flips on text or logos.
  • Inspect JPEG edges after the white fill.
  • Open the download; the on-page preview is not the file you send.

Frequently asked questions

Is a 90° rotate a lossless JPEG transform?

No. exportRotatedImage draws onto a new canvas and toBlob. JPEG pages are filled with #ffffff first. PNG/WebP use clearRect. This is a new encoding at quality 92 unless you change quality in settings.

How is the download named?

buildOutputFilename uses -rotated when only rotation changed, -flipped when only a flip changed, and -edited when both changed (or when the helper has no rotation/flip split). The extension stays jpg, png, or webp from the source.

Do 90° and 270° swap width and height?

Yes. getOutputDimensions swaps on 90 and 270 after normalizeRotation. 180 keeps the same pixel box. The UI only offers Left 90° and Right 90° plus horizontal/vertical flip; there is no free-form degree field.

Can I convert format while rotating?

No. Output MIME follows the source (JPEG stays JPEG). Quality for JPEG/WebP is clamped 0.5–1. PNG omits a quality argument.

Related guides

Longer reads that pair well with this tool.

Image guide

How to Prepare Images for Websites and Documents

A practical image-preparation workflow: choose the required format, set dimensions, review processing labels, and inspect the exported file before sharing.

Related tools

Common next steps after using this tool.

Image Crop

Select a rectangular region from one JPG, PNG, or WebP with aspect presets, pixel coordinates, and format-aware export.

Image Compressor

Compress a JPG, PNG, WebP, or AVIF image with format, quality, and optional resize controls.

Image Resizer

Resize a JPG, PNG, or WebP image by exact dimensions, percentage, or common web and social presets.

Image Converter

Decode a supported image and re-encode it to JPG, PNG, WebP, or AVIF with quality, transparency, and optional resize controls.

Explore more in Image

Browse related tools or open the full workspace.

Image workspaceAll tools