Rotate image online
Use this image rotator to rotate picture online by 90, 180, or any custom angle. Choose clockwise or counterclockwise, preview instantly, and download PNG.
What is image rotation?
Image rotation turns a photo by a chosen angle around its center, clockwise or counterclockwise, so sideways or upside-down content reads correctly. This page works as an online image rotator with quick 90° and 180° presets plus advanced mode for any degree. You can enlarge the canvas so the full rotated image fits, add margin padding, and fill empty areas with transparency or a solid color. Upload, adjust options, preview beside the original, and download PNG in your browser.
Image rotation features
Turn photos clockwise or counterclockwise with an online image rotator.
- Simple presets: 90° left, 90° right, and 180° one-click angles for quick photo rotate fixes.
- Advanced angle: 0–360° with clockwise or counterclockwise direction.
- Enlarge canvas: Optional bounding-box expansion so nothing clips.
- Margin padding: Add extra space around the rotated result.
- Background modes: Transparent PNG or solid fill behind rotated pixels.
- Automatic preview: Output refreshes as you change any option.
How to rotate a photo
Steps to rotate picture online.
- Upload your image: Drop or click in the input panel (15 MB max).
- Choose angle mode: Use simple for quarter turns; advanced for custom degrees.
- Set canvas and background: Enable enlarge canvas for full visibility; pick transparent or solid fill.
- Download PNG: Save the rotated image for web, print, or further editing.
Tips for rotating images
Cleaner exports and correct orientation for rotate image tasks.
- Enable enlarge for diagonals: Custom angles need enlarged canvas or corners will clip.
- 90° presets for EXIF fixes: Simple left/right is fastest for phone orientation mistakes.
- White background for documents: Solid white plus margin frames scans on slide backgrounds.
- Watch output size: Enlarging a large photo can exceed 8192 px—reduce margin or upload size.
- Pair with crop: Rotate first, then trim excess on /crop-image if needed.
- Keep the original: Rotation is destructive—archive your source file first.
When to rotate images
Typical uses for photo rotation.
- Phone photos sideways: Fix portrait shots saved in landscape orientation.
- Scanned documents: Turn PDF page captures or scans upright before OCR.
- Social graphics: Tweak diagonal layouts or creative tilt angles.
- Product photos: Align SKU shots for consistent catalog thumbnails.
- Presentation assets: Rotate screenshots and diagrams for slide decks.
- Combine with flip: Rotate then mirror on /flip-image when mirroring alone is not enough.
Why use this rotate tool
Benefits of browser-based rotation.
- CW and CCW: Match camera orientation without guessing negative angles.
- No install: Works in any modern browser with Canvas 2D.
- Private: Images stay on your device.
- Flexible canvas: Enlarge or clip depending on your export needs.
- Free: Unlimited previews and downloads.
- Alpha preserved: Transparent backgrounds on PNG uploads are kept when selected.
Technical details
How canvas rotation works here.
- Transform: translate → rotate (radians) → drawImage centered on origin.
- Enlarge bounding box: innerW = |w cos θ| + |h sin θ|; innerH = |w sin θ| + |h cos θ|.
- Margin: Added to output width and height on every side.
- Background: Solid fill before draw; transparent leaves alpha.
- Input limits: 15 MB upload; source longest edge 8192 px; output max 8192 px.
- Rendering: Canvas 2D; PNG download via toDataURL.
Frequently Asked Questions
Have questions? We have answers.
Related tools
More tools from Image & Conversion.