Straighten a page photo and save it as PDF, free and private

Turn phone photos of curved sheets, open books and tilted documents into a straight, white, scanner-style PDF. Everything runs in your browser: your photos are never uploaded.

Drop page photos here, or tap to choose them JPG, PNG, WEBP or HEIC, up to 30 pages

The first run downloads the engine (about 22 MB). Your browser keeps it for next time.

A flat, readable PDF from an ordinary phone photo

A photo of a page rarely looks like a document. The sheet bends, a book sinks towards the spine, the phone is not quite parallel, the light falls off on one side and the table shows around the edges. This page dewarps the photo: it flattens the lines of text, trims away the surroundings and turns the paper white. The result is a PDF you can attach to an email or a form.

How to flatten a page photo

  1. Add one or more photos. Drag them onto the box, or tap it and choose from your gallery or camera.
  2. Put them in order with the arrows, or by dragging, and remove any you do not want.
  3. Leave straightening and the white background on, and pick Letter or A4.
  4. Press Straighten and make PDF. The first time, the engine downloads; after that it starts from your browser's cache.
  5. Look over the pages and download the PDF. You can also save any page as a PNG image.

Tips for a good photo

When it helps

Signed contracts and forms you have to send back as PDF. Pages of a book or a manual you want to keep for study. Receipts for an expense report. Handwritten and printed notes. Any paper form where an upload field asks for a single PDF and all you have is a phone. If your pages are already flat scans, you do not need straightening: switch it off and use the tool only to gather them into one file.

How it works

The tool looks for the lines of text on the page. Printed lines should be straight and parallel, so the way they bend in the photo reveals the shape of the sheet. It fits a mathematical model of a curved page to those lines, then unrolls the image along that model. After that it cuts off leftover strips of table or cloth, evens out the lighting and pushes the paper to white while keeping signatures and thin strokes in grey.

The heart of it is page-dewarp, an open source project based on Matt Zucker's cubic sheet method, running together with OpenCV inside your browser through Pyodide. Your device does the calculation, so speed depends on it: a laptop is quicker than an older phone.

Privacy: nothing is uploaded

Contracts, medical forms and identity papers are exactly the files you should not hand to an unknown server. Here there is no upload at all. The photos are read, processed and turned into a PDF inside your browser, and they are gone when you close the tab. We do not store them, and we never receive their content or their file names.

The engine files come from kliptools.com itself, with no third-party delivery network. Once the tool has loaded, you can even go offline and keep converting in the same tab. Like the rest of the site, this page uses Google Analytics; for this tool it records only that it was used, how many pages, how long it took and whether it failed.

Honest limitations

Frequently asked questions

Is the page straightener really free?

Yes. There is no charge, no credits, no account and no watermark on the PDF.

Are my photos sent to a server?

No. All processing happens in your browser. The only downloads are the tool's own program files, and nothing from your photos goes out.

Why does the first use take longer?

The browser has to download about 22 MB of engine: Python, OpenCV and the dewarping library. It is kept in your browser's storage, so later runs start much faster. Nothing is downloaded until you press the button.

Does it work on iPhone and Android?

It runs in current mobile browsers. A phone is slower than a computer, and very old devices may run out of memory. Large photos are scaled down to 3,000 pixels on the longer side before processing.

Can I combine several pages into one PDF?

Yes, up to 30. They appear in the PDF in the order of the list, one page per sheet, on Letter or A4. A wide picture gets a landscape sheet.

What happens if a page cannot be straightened?

That page goes into the PDF from the original photo, trimmed and cleaned, with a note under its preview. The other pages are not affected.

Will signatures and handwriting survive?

The output keeps shades of grey instead of forcing pure black and white, which preserves pen strokes and small print. Very faint pencil can fade when the white background is on; switch that option off if so.

Related tools and reading

Open source credits

This tool is built on page-dewarp by Louis Maddox, after Matt Zucker's method (MIT), OpenCV (Apache 2.0), NumPy and msgspec (BSD), Pillow (MIT-CMU), Pyodide (MPL 2.0) with Python, and, for HEIC photos, libheif (LGPL 3.0). Versions and licences.