Skip to main content

Document Scanner Hub

Document Scanner: a straight page from a photo

Upload a photo or open the phone camera, straighten the page, and download a PNG or a one-page PDF. One sheet at a time, in the browser.

Written by Safaat Rahman Siham, Founder & Developer at Convertify4u. Contact us.

You need a paper page as a clean PNG or a one-page PDF, without installing a scanner app. Upload a photo you already took, or capture one from the phone, then straighten the corners and download. On a phone, the file input uses capture="environment", which opens the phone camera app, the rear camera, rather than a live video stream painted inside the page. You can also pick a picture from the gallery. Choose a standard document, or an ID card that merges the front and the back. Corner detection runs on a 720 pixel working copy, then a homography warp straightens the page. The warped long side is adaptive, about 1600 to 3600 pixels. Filters are Original, Magic Color, and Black and White, and Magic Color is the default. A standard page can download as PNG, and as a single-page PDF that embeds a JPEG at quality 0.92, fitted on A4. An ID card is merged onto a 1240 by 1754 canvas and can export as PDF. Scan another page starts a fresh capture. The work stays in the browser, one page at a time. If the photo is sideways, turn it upright before you commit the corners.

A straightened page, then a file you can attach

Camera app or a photo you already have

The capture control is a file input with capture set to environment. On a phone that opens the camera app, not an in-page live video window. Take the shot, or upload a picture that is already on the device. Fill the frame with the paper, and keep the glare off the middle of the sheet. Desktop users can drop a photo the same way.

Corners, warp, and the three filters

Detection works at 720 pixels, then the page is warped with a homography so the sheet sits flat. The output long side adapts to about 1600 to 3600 pixels. You can nudge the corners if the first guess includes the table. Original, Magic Color, and Black and White are the filters, and Magic Color is the one selected when you start.

PNG, a one-page PDF, or a merged ID

A standard document downloads as PNG, and also as a single-page PDF. That PDF embeds a JPEG at quality 0.92 and fits it on an A4 page. ID card mode merges the front and the back onto a 1240 by 1754 canvas, and that merge can export as PDF. Scan another page starts a fresh capture. The letters stay in the picture, because this page has no OCR.

How it works

  1. 1

    Add one page

    Choose standard document or ID card. Upload a photo, or on a phone open the camera app from the capture control. For an ID, shoot the front, then the back. One page is the unit of work, and a new page starts a fresh capture.

  2. 2

    Check the corners and the filter

    Confirm the four corners sit on the paper. Magic Color is the default. Switch to Original or Black and White if the page looks better that way. If the sheet is sideways, turn the photo upright before you commit the corners.

  3. 3

    Download PNG or a single-page PDF

    A standard scan can save as PNG or as one PDF page, with a JPEG at quality 0.92 fitted on A4. An ID exports from the merged 1240 by 1754 canvas. Open the file and confirm the edges before you attach it.

Use cases

A form that wants a PDF of a paper sheet

A signed page or a letter still lives on paper. Straighten it and attach the one-page PDF instead of a tilted snapshot.

An ID with a front and a back

ID card mode places both sides on one 1240 by 1754 canvas so you can export a single PDF of the pair.

A receipt or a worksheet to file

Magic Color lifts a faint thermal slip or a pencil worksheet enough to read later. The words remain part of the picture.

Problems we solve

The crop includes the table

Drag the corners onto the paper. Detection starts from a 720 pixel view, and a busy background can pull the quad wide.

You expected editable text

This scan saves a picture. Reading the letters into a text file is a separate OCR tool. Each capture is one page, and a fresh scan starts the next sheet.

Related document tools

Pair the Document Scanner with PDF compress, merge, or image converters before or after scanning.

Privacy & security

The page stays in the browser

Straightening, filters, and export run locally. The download is the scan itself.

One honest page

Scan another page starts a fresh capture. You get a PNG or a single-page PDF, not a binder that silently stacks sheets.

Frequently asked questions