TapCub is live — analytics, insights and live chat, free on one platform

Image resizer · Rotate Rotate image online and fix sideways photos

A phone photo that looks fine on the phone shows up sideways in an email or a web form. Rotate it here, or turn a whole batch 90°, and the pixels themselves are saved upright, so it looks the same in every app.

  • Files stay on your device
  • 90°, 180°, 270°
  • Batch, ZIP download

Rotate images

Rotate applies to every image; the ↻ button turns one image a further 90°. Output stays at the original size (100%).

Resize

No images yet. Choose, drop or paste images, or try the sample photo.

    Fills in the width and height and crops to fill.

    Circle cuts a round avatar from the centre square or your crop; the corners are transparent in PNG and WebP.

    For JPG and WebP. 85–90 looks the same as the original for most photos.

    Used for borders and for transparent areas in JPG.

    This tool changes dimensions. To make the file smaller at the same size, use the image compressor.

    What happens to a 4032 × 3024 photo

    A 12-megapixel landscape photo (4:3) with different settings. Cropped = share of the photo cut away; borders = share of the output that is padding.

    What happens to a 4032 × 3024 photo
    SettingOutput (px)CroppedBorders
    50%2,016 × 1,512——
    Longest side 16001,600 × 1,200——
    Instagram portrait, crop to fill1,080 × 1,35040%—
    Instagram portrait, fit with borders1,080 × 1,350—40%
    YouTube thumbnail, crop to fill1,280 × 72025%—

    Crop to fill always takes the centre. If the subject is off-centre, use Crop on that image first.

    Your files never leave this device: they are read and converted by your browser, and nothing is uploaded to TapCub or anyone else. To check, open your browser’s developer tools, go to the Network tab and run the tool: no file is sent.

    Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.

    Problem or suggestion?Send feedbackChat with support

    Read the result

    Why photos end up sideways

    Most phones store the picture the way the sensor saw it and add an EXIF orientation flag that tells apps how to turn it.

    • Pixels, percent or longest side
    • Social media size presets
    • Files never leave your device
    Image resizer illustration: Resize images by pixels, percentage or longest side, crop to Instagram, YouTube or LinkedIn sizes, batch and ZIP. No upload
    Image resizer, illustrated

    The orientation flag

    Values 1–8 say how to display the stored pixels: 6 means turn 90° clockwise, 8 means 90° anticlockwise, 3 means 180°.

    Apps that ignore it

    Some upload forms, older programs and image pipelines strip or ignore the flag and show the raw sideways pixels.

    What this tool saves

    It reads the flag, applies it, then applies your rotation, and writes upright pixels with no EXIF. The result cannot be misread.

    Each image row

    The list shows when an image had an orientation flag, so you can see which photos were affected.

    If a photo already looks upright here, it does not need rotating; the download will look the same everywhere.

    How to use it

    Resize images in four steps

    Every image in the list gets the same settings; crops are per image.

    1. 1

      Add images

      Choose files, drop them or paste a screenshot. The list shows each image’s current and new size.

    2. 2

      Choose the size

      Pick a preset, or type a width and height, a percentage or a longest side. Leave a box empty for "auto" when the aspect ratio is kept.

    3. 3

      Decide how to fit

      With a fixed width and height: crop to fill, fit with borders, or stretch. Click Crop on an image to choose the area yourself.

    4. 4

      Download

      One image downloads directly; several come as a ZIP. Change the settings and run again whenever you like.

    How it works

    The size maths

    All sizes are whole pixels, rounded to the nearest one.

    • Keep aspect ratio, width only: height = original height × new width ÷ original width
    • Keep aspect ratio, width and height: scale = the smaller of new width ÷ original width and new height ÷ original height (the image fits inside the box)
    • Crop to fill: scale = the larger of the two ratios; the centre of the photo is kept and the overflow is cut
    • Fit with borders: scale = the smaller ratio; the rest of the canvas is filled with the border colour
    • Output is capped at 16,777,216 pixels (4096 × 4096), the largest canvas iPhone Safari can draw, so the result works on every device
    Social media image sizes in this tool
    UseSize (px)RatioSource
    Instagram portrait post1080 × 13504:5Commonly used size (width 1080, ratios 1.91:1 to 4:5); check Instagram's current guidance
    Instagram Story1080 × 19209:16Meta ads guide (recommends 1440 × 2560, same ratio)
    YouTube thumbnail1280 × 72016:9YouTube Help: 16:9, at least 640 px wide; 2 MB limit on mobile
    LinkedIn post image1200 × 6281.91:1LinkedIn single image ads guide
    LinkedIn profile background1584 × 3964:1Widely used; we could not find it on LinkedIn Help
    WeChat article cover900 × 3832.35:1Crop ratio in the WeChat editor; pixel size is common practice
    Worked example

    EXIF orientation values and what happens here

    The eight values from the EXIF standard (CIPA DC-008), as this tool applies them before your own rotation.

    EXIF orientation
    ValueStored pixels needTypical cause
    1nothingphone held upright in landscape mode
    6turn 90° clockwisephone held upright (portrait)
    8turn 90° anticlockwisephone held upside-down in portrait
    3turn 180°phone upside down in landscape
    2, 4, 5, 7a mirror plus a turnfront cameras and some editing apps

    A 4032 × 3024 photo with value 6 is saved as 3024 × 4032 with the pixels turned, and no flag.

    Common mistakes

    Where resizing goes wrong

    Most bad results come from the shape, not the size.

    Stretching to a new shape

    A 4:3 photo stretched to 16:9 makes faces wide and circles oval. Crop or add borders instead.

    Cropping off the subject

    Centre cropping cuts heads off portraits turned landscape. Open Crop and place the box yourself.

    Enlarging small images

    Doubling a 600 px image does not add detail. Start from the largest original you have.

    Confusing size with file size

    Pixels and megabytes are different things. If an upload form rejects the file, compress it after resizing.

    FAQ

    Image resizer questions

    Still have a question?

    Chat with the team behind TapCub — we usually reply within a few hours on business days.

    Why is my photo sideways when I upload it?

    The phone saved the picture sideways with an EXIF flag saying how to turn it. The site you upload to ignores or removes the flag. Rotating here saves the pixels upright, so the flag is no longer needed.

    How do I rotate an image 90 degrees?

    Choose 90° clockwise or anticlockwise under Rotate and download. To turn just one image in a batch, click ↻ next to it; each click adds 90°.

    Does rotating lose quality?

    Rotating by 90° steps moves pixels without blending them. JPG and WebP are saved again at the quality you set (90 by default), PNG stays lossless.

    Can I rotate by any angle, such as 5°?

    Not here: only 90° steps, which keep the picture rectangular without empty corners. Straightening a tilted horizon needs a photo editor.

    Feedback

    Is this tool working for you?

    Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.

    Rate this tool

    Please don’t include passwords or other sensitive information.

    Only used to reply to this feedback.

    Type, details and email are required.

    We only use this to handle your feedback. See the privacy policy.

    Feedback received

    Thank you! We will read it and reply from hello@tapcub.com if needed.

    Need help right now?

    Chat with our support team, best for urgent problems; you can leave a message when we are offline.

    Chat with support
    Changelog

    Update history

    New features, fixes and data refreshes for this tool, newest first.

    1. · v1.0

      LaunchedFirst release.

    Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

    Cite this tool

    Recommend this tool in an article or on your site

    This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.

    URL
    https://tapcub.com/tools/image-resizer
    HTML link
    <a href="https://tapcub.com/tools/image-resizer">Image resizer - TapCub</a>

    See your data clearly. Find your growth.

    Every click, backed by data. Install one line of code and see your first numbers in a minute.

    No credit card · Free plans for analytics and chat · Cookieless analytics