XTools Logo
XTools
Blog
/
Image CompressionImage Format ConversionBackground RemovalImage MosaicImage ResizerCrop ImageRotate & Flip ImageBlack & White ImageAdd Text & WatermarkAdd Border to ImageShape CropCollage & Image StitcherBlur BackgroundChart MakerBlur Part of ImageGIF MakerAdjust Image ColorsMeme GeneratorTrim Transparent EdgesStraighten PhotoSplit Image into TilesSquare ImageRemove Photo MetadataPlaceholder ImageDevice Mockup & Screenshot BeautifierSocial Share Image (OG)Code ScreenshotSignature Maker

© 2026 XTools. All rights reserved.

Privacy PolicyContact Us

    Straighten Photo

    Drag four corners to straighten a photographed document or whiteboard
    • Files never leave your device
    • Runs in your browser
    • Free, no sign-up, no watermark

    Drop a file here, or click to choose

    Accepts JPG, PNG, WebP, AVIF, GIF, BMP, HEIC · You can also paste with Ctrl+V / ⌘V

    Related tools

    • Image Compression
    • Image Format Conversion
    • Background Removal
    • Image Mosaic
    • Image Resizer
    • Crop Image
    • Rotate & Flip Image
    • Black & White Image
    • Add Text & Watermark
    • Add Border to Image
    • Shape Crop
    • Collage & Image Stitcher
    • Blur Background
    • Chart Maker
    • Blur Part of Image
    • GIF Maker
    • Adjust Image Colors
    • Meme Generator
    • Trim Transparent Edges
    • Split Image into Tiles
    • Square Image
    • Remove Photo Metadata
    • Placeholder Image
    • Device Mockup & Screenshot Beautifier
    • Social Share Image (OG)
    • Code Screenshot
    • Signature Maker

    How to use Straighten Photo

    Flatten a photo of a document, receipt, whiteboard or screen that was taken at an angle. Drag four corners onto the page and the perspective is corrected into a straight rectangle, with an option to whiten the paper and darken the text. It all runs in your browser.

    1. 1

      Drop a photo on the page, or paste it with Ctrl+V.

    2. 2

      Drag each of the four corner handles onto a corner of the page. A magnifier appears while you drag.

    3. 3

      Fine-tune with the arrow keys (1 px, or 10 px with Shift), or type exact X and Y values under Corners.

    4. 4

      Under Output shape, keep Auto or pick A4, Letter, 1:1 or Original, and turn on Enhance document for text.

    5. 5

      Check the Result preview, choose a Format and click Apply and download.

    Frequently asked questions

    Is my photo uploaded?

    No. The perspective correction is calculated in your browser, and the photo stays on your device.

    Does it find the page corners automatically?

    No. The handles start just inside the image edges and you place them yourself. The Whole image button snaps them to the image corners, and Reset returns them to the start.

    Which Output shape should I choose?

    Auto works out the page's real proportions from the perspective. For paper documents, A4 or Letter gives exact paper proportions, turned to match the page orientation.

    What does Enhance document do?

    It makes the paper whiter and the ink darker, which helps with text, forms and receipts. Leave it off for photos and colorful pages.

    The page is sideways in my photo. Can I fix that here?

    Yes. Put the Top left handle on the page's real top-left corner and the other handles to match; the result comes out upright.

    Can I save the result as a PDF?

    This tool saves an image in the original format, JPG, PNG or WebP. To make a PDF, open the result in Images to PDF.