Rotate & Flip Image
Rotate images and flip them horizontally or vertically
—
Rotate & Flip Image — what it does
Rotate an image by a chosen angle and flip it horizontally or vertically, then download the corrected version. It fixes the two most common orientation problems in one place: a photo lying on its side because a phone's orientation tag was ignored, and a scan or selfie that came out mirrored.
Worked example
A 1600 × 1200 image rotated 90° and flipped horizontally; the other rows are derived from the code for a scan and a mirrored selfie.
| Input | Rotation / flip | Output |
|---|---|---|
| photo-1600x1200.png (1600 × 1200) | 90°, flip horizontal | photo-1600x1200-transformed.png, 1200 × 1600 |
| contract-scan.jpg (2480 × 3508) | 180°, no flip | contract-scan-transformed.png, 2480 × 3508 |
| front-camera.png (1080 × 1920) | 0°, flip horizontal | front-camera-transformed.png, 1080 × 1920, mirrored |
Width and height swap for 90° and 270° only. The file is always a PNG named <file>-transformed.png, and the line under the file picker shows the source size (1600 × 1200) once a file is chosen.
When this tool helps
- Straightening a photo that displays sideways after being uploaded somewhere.
- Un-mirroring a selfie or a scanned page that came out reversed.
- Rotating a scanned document to reading orientation before archiving it.
How to use it
- Choose the image.
- Select the rotation angle.
- Tick horizontal or vertical flip if needed.
- Process and download the corrected image.
Accuracy, limits, and good practice
- Rotation here rewrites the actual pixels, so the result displays correctly everywhere — unlike an EXIF orientation tag many viewers ignore.
- Flipping mirrors the image, which reverses any text in the picture; that is the giveaway if you flip a document by mistake.
- Rotating by 90 degree steps is lossless in terms of geometry; the file is re-encoded, so export at high quality.
Frequently asked questions
Why do photos appear sideways in some apps?
The camera stored the picture in one orientation and recorded a rotation tag. Software that ignores the tag shows the raw orientation.
Does flipping change image quality?
The pixel operation is exact; only re-encoding to a lossy format affects quality.
Can I rotate by an arbitrary angle?
The standard rotations cover the common orientation fixes. Small corrective angles need an editor with crop-and-straighten.
Is there a separate download button?
No. Clicking the run button renders the preview and starts the download in the same step; clicking it again with new settings downloads another file with the same name, which your browser will number.
If I rotate and flip at once, which is applied first?
The flip is applied along the original image's axes first, then the rotation. A horizontal flip combined with 90° therefore looks like rotating first and then flipping vertically — the same pixels either way, but worth knowing if you are matching an editor's steps.
Related tools on this site
- Convert Image Format — Convert images to JPG, PNG, or WebP
- Image to Base64 — Convert images locally in browser
- Batch Image Watermark — Apply one text watermark to multiple images
Further reading: Getting images ready for the web, email and social media
Everything above runs inside this page. Rotate & Flip Image needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
圖片旋轉與翻轉能做什麼
把圖片依選定角度旋轉,並可水平或垂直翻轉,再下載修正後的版本。它一次解決兩個最常見的方向問題:手機方向標記被忽略而躺倒的照片,以及左右相反的掃描或自拍。
實際範例
把 1600 × 1200 的圖旋轉 90° 並水平翻轉;其餘兩列依程式碼推算掃描檔與鏡像自拍的情形。
| 來源圖片 | 旋轉/翻轉 | 下載檔案 |
|---|---|---|
| photo-1600x1200.png(1600 × 1200) | 90°,水平翻轉 | photo-1600x1200-transformed.png,1200 × 1600 |
| contract-scan.jpg(2480 × 3508) | 180°,不翻轉 | contract-scan-transformed.png,2480 × 3508 |
| front-camera.png(1080 × 1920) | 0°,水平翻轉 | front-camera-transformed.png,1080 × 1920,鏡像 |
只有 90° 與 270° 會對調寬高。檔案一律是名為 <檔名>-transformed.png 的 PNG,選好檔案後,檔案選取器下方會顯示來源尺寸(1600 × 1200)。
什麼時候用得上
- 修正上傳到某處後顯示成橫躺的照片。
- 把左右相反的自拍或掃描頁面翻回來。
- 把掃描文件轉成可閱讀的方向再封存。
使用步驟
- 選擇圖片。
- 選擇旋轉角度。
- 視需要勾選水平或垂直翻轉。
- 執行處理並下載修正後的圖片。
精確度、限制與實務建議
- 此處的旋轉會實際改寫像素,因此到哪裡顯示都正確——不像許多檢視器會忽略的 EXIF 方向標記。
- 翻轉會鏡像畫面,圖中的文字會左右相反;不小心翻到文件時,這就是最明顯的破綻。
- 以 90 度為單位旋轉在幾何上無損;檔案會重新編碼,請以高品質匯出。
常見問題
為什麼照片在某些 App 裡是橫的?
相機以某個方向儲存畫面並另外記錄旋轉標記,不理會該標記的軟體就會顯示原始方向。
翻轉會影響畫質嗎?
像素運算本身精確,只有重新編碼成有損格式才會影響畫質。
可以旋轉任意角度嗎?
標準角度已涵蓋常見的方向修正。細微校正角度需要具備裁切拉直功能的編輯器。
有獨立的下載鈕嗎?
沒有。按下執行鈕會同時渲染預覽並開始下載;改了設定再按一次,會再下載一個同名檔案,瀏覽器會自動加上編號。
同時旋轉又翻轉時,哪個先套?
翻轉先沿原圖的軸套上,之後才旋轉。所以水平翻轉配 90° 看起來會像先旋轉、再垂直翻轉——像素一樣,但若要與編輯器的步驟對照就值得知道。
本站相關工具
- 圖片格式轉換 — 將圖片轉換成 JPG、PNG 或 WebP
- 圖片轉 Base64 — 在瀏覽器中本地轉換圖片
- 批量圖片浮水印 — 為多張圖片套用相同文字浮水印
延伸閱讀: 為網頁、電子郵件與社群媒體準備圖片
以上步驟全部在這個頁面內完成,圖片旋轉與翻轉 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。