Home › Image Tools › Online Document Scanner

Online Document Scanner

Turn a phone photo of a page, receipt or form into a clean, flat scan. The page edges are found automatically, the perspective is straightened, shadows are removed and you can save every page as one PDF. Nothing is uploaded.

Last updated:

Drop photos of your pages hereJPG, PNG, WebP · several at once · processed on your device

1. Adjust corners

Drag the round handles onto the corners of the paper.

2. Scan result

Advertisement
Advertisement

How to use the Online Document Scanner

  1. Add photos of your pages: drop them on the box, press Choose photos or Take photo on a phone. A sample page is loaded so you can try it.
  2. Check the corners: the page edges are detected automatically. Drag any corner onto the paper corner if needed; the loupe shows a zoomed view while you drag.
  3. Pick a scan mode: Auto color whitens the paper and keeps colors, Grayscale is neutral, B&W gives crisp black text. Use Clean-up strength or Threshold to fine-tune.
  4. Add more pages and use the arrows, rotate and delete buttons in the page strip to put them in order.
  5. Download PDF to save all pages in one file, or Download page to save the current page as an image.

How the scanner turns a photo into a flat page

  1. Edge detection. The photo is reduced to about 320 pixels, blurred and split into bright and dark areas with Otsu's threshold. The largest connected bright region is taken as the paper, and the four points of its convex hull that enclose the biggest area become the corners.
  2. Perspective correction. The four corners define a projective transform (a 3 × 3 homography with 8 unknowns, solved from the 4 corner pairs). Every pixel of the flat output page is mapped back into the photo and sampled with bilinear interpolation. The output width is the longer of the top and bottom edges, the height the longer of the left and right edges.
  3. Lighting clean-up. The page is divided into small blocks and the brightest value in each block is taken as the local paper color. That background map is smoothed and every pixel is divided by it, which removes shadows, gradients and yellowish light and makes the paper white. A levels curve then deepens the ink.
  4. Black & white. After the lighting correction each pixel is compared with the Threshold: brighter becomes white, darker becomes black. Because the threshold is applied after removing shadows, it works across the whole page even in uneven light.

Scan mode guide

DocumentBest modeWhy
Printed letters, contracts, formsB&WCrisp text, smallest PDF, prints cleanly
Handwritten notes, pencilGrayscaleKeeps light strokes that a threshold could drop
ReceiptsB&W or GrayscaleRaise Threshold for faded thermal print
Documents with logos, stamps, signaturesAuto colorWhite paper with colors preserved
Photos, drawings, ID cardsOriginal or Auto colorAvoids altering skin tones and artwork
WhiteboardsAuto color, high clean-upRemoves glare and grey board tint

Tips for better phone scans

  • Put the page on a dark table or a dark sheet so the edges stand out.
  • Use daylight or two light sources to avoid one-sided shadows; avoid the flash, which causes a bright glare spot.
  • Fill most of the frame with the page while keeping all four corners visible.
  • Hold the phone steady and tap to focus on the text; a sharp photo matters more than a straight angle.
  • For multi-page documents, photograph all pages first, then drop them in at once and reorder in the page strip.

Frequently asked questions

How do I scan a document with my phone without an app?

Open this page in your phone's browser, press Take photo and photograph the page on a darker surface. The scanner finds the edges, straightens the page and cleans it up. Add more pages the same way, then press Download PDF. Nothing is installed and the photos stay on your phone.

What makes a photo turn into a good scan?

Place the paper on a contrasting, darker background, keep all four corners in the frame, avoid casting your shadow on the page and use daylight or even room light instead of the flash. Holding the phone roughly parallel to the page gives the sharpest result, although the perspective correction can fix strong angles.

The edges were not detected correctly. What can I do?

Drag the four corner handles onto the paper corners; the zoom loupe helps you place them precisely. Auto detection looks for the largest bright area, so it can fail on white paper on a white desk. Detect edges retries, and Full image resets the corners to the whole photo.

Which scan mode should I use?

B&W is best for printed text, contracts and forms because it gives the smallest, sharpest file. Grayscale keeps pencil marks, stamps and photos readable. Auto color is for documents with colored logos, highlights or signatures in blue ink.

How does the perspective correction work?

The four corners you set define a quadrilateral in the photo. The tool computes a projective transform (homography) that maps it onto a flat rectangle whose size matches the page's edge lengths, then resamples every output pixel from the photo with bilinear interpolation.

Are my documents uploaded to a server?

No. Edge detection, warping, cleaning and PDF creation all run in your browser. This makes the tool safe for IDs, bank letters and contracts, and it keeps working once the page has loaded even without a connection.

How big will the PDF be?

With Standard quality a typical page is around 150 to 400 KB in color or grayscale and smaller in black & white. Choose Small to reduce the size for email or High for archiving and printing.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Perspective CorrectionDrag 4 corners to straighten skewed photos of signs, screens and whiteboards, then download.Image to PDFConvert JPG, PNG, WEBP and more into a PDF.JPG to PDFCombine JPG photos into one PDF with page size, margins and orientation options.Image to Text (OCR)Extract text from images, screenshots and photos with OCR in 25+ languages, right in your browser.Brighten ImageBrighten dark photos with auto exposure, shadows lift and highlight protection. Batch, no upload.DjVu to PDFConvert DjVu scans and books to PDF, with resolution, compression and page range options.Scanned Photo SplitterSplit several photos from one flatbed scan: auto-detect, straighten and crop each, then ZIP.Straighten ImageFix a tilted photo: rotate by any angle with a grid, auto-crop the corners or level the horizon.Background RemoverRemove image backgrounds automatically with AI.Photo EnhancerOne-click auto enhance: fix exposure, contrast, color cast and sharpness, one photo or a batch.Remove Object from PhotoBrush over unwanted objects, people or text and fill the area with matching background.Make Image TransparentRemove a white or solid-color background and save a transparent PNG, right in your browser.Photo to CartoonTurn photos into cartoons with smooth colors and bold outlines. Free, private, no upload.Add Watermark to PhotoAdd a text or logo watermark to one or many photos at once.Blur Image & Face Pixelate ToolBlur or pixelate faces, plates and backgrounds in a photo.Pixelate Image & Pixel Art ConverterTurn any picture into pixel art with retro palettes and dithering.Add Text to ImageAdd styled text layers with outline and shadow to any photo, then downloadRound Corners ImageGive any picture rounded, circle or squircle corners and save a transparent PNG.Grayscale Image ConverterTurn color photos into black and white with luma, luminance or average methods and sepia.Photo FiltersApply 27 one-click photo filters like Vintage, Noir and Teal & Orange with an intensity slider.Photo EditorEdit photos online: brightness, contrast, saturation, crop, rotate, flip and filters with undo.Image SharpenerSharpen soft or slightly blurry photos with a real unsharp mask and before/after view.Invert Image ColorsTurn any picture into a color negative, with R/G/B channel toggles and an intensity slider.Screenshot BeautifierPut screenshots on gradient backgrounds with padding, rounded corners, shadow and a browser frame.Image Metadata ViewerSee a photo's EXIF data: camera, lens, exposure, date and GPS location, then strip it in one click.EXIF RemoverRemove EXIF, GPS location and other metadata from JPG, PNG and WEBP photos.Online PaintDraw and paint in your browser: brushes, shapes, fill bucket, text, undo and PNG export.Photo to SketchTurn any photo into a pencil, charcoal or color sketch in your browser and download it.GIF Frame ExtractorSplit an animated GIF into PNG frames with delays, a sprite sheet and ZIP download.Photo Frame MakerPut photos in polaroid, film strip, gallery, rounded or shadow frames with a caption.Duotone GeneratorTurn any photo into a bold two-color duotone image with presets, custom colors and intensity.Glitch Image EffectAdd RGB split, scanlines, slice shifts and noise to a photo for a digital glitch look.Add Date Stamp to PhotoStamp the EXIF or a custom date on photos in a retro orange camera font. Batch and ZIP download.Add Drop Shadow to ImageAdd a drop, long or reflection shadow to PNGs and photos and save a transparent PNG.Add Text to GIFPut captions on animated GIFs with outline, position and frame range, then download.Blend Two ImagesOverlay two photos with opacity, 16 blend modes, fades and free positioning, then download.Blur Photo BackgroundBlur the background of any photo for a portrait-mode look. AI subject detection, no upload.Brick Mosaic GeneratorTurn a photo into a toy-brick stud mosaic with a parts list and printable build guide PDF.Tilt Shift EffectMake photos look like miniature models with an adjustable tilt-shift focus band and blur.Colorize Black and White PhotoAdd natural color to old black and white photos with AI that runs in your browser. No upload.Draw on ImageAnnotate photos and screenshots with arrows, boxes, text, highlighter and numbered steps.Photo to AnimeTurn selfies and landscapes into anime-style art with AI in your browser. Free, no upload.Face Shape DetectorUpload a selfie to find your face shape on-device, with hairstyle and glasses tips.Add Background to Transparent PNGFill the transparent areas of a PNG with a color, gradient or photo, plus padding and shadow.Add Stickers to PhotoPut emoji and cute stickers on your photos; scale, rotate, flip and layer them, then save PNG.Color Splash EffectKeep one color, or a brushed area, in color and turn the rest of the photo black and white.Old Photo Face RestorerRestore blurry and damaged faces in old photos with AI (GFPGAN) in your browser. Free, no upload.Image Opacity ChangerMake an image semi-transparent with an opacity slider or fade, and save a transparent PNG.Photo to WatercolorTurn a photo into a watercolor painting with soft washes, color bleed, wet edges and paper texture.Product Photo White BackgroundRemove the background and center products on pure white at 2000 x 2000 for marketplaces. Batch.Redact ImageBlack out or pixelate private info in screenshots; burned in, metadata stripped, PNG download.Rubber Stamp MakerDesign round or rectangular stamps with curved text, borders, stars and grunge ink; PNG or SVG.Signature Background RemoverTurn a signature photo or scan into a clean transparent PNG: threshold, ink color, auto-crop.Skin SmoothingSmooth skin in portraits with face-aware retouching that keeps eyes, lips and skin texture sharp.AI Style TransferRepaint your photo in the style of any painting or pattern with AI, right in your browser.SVG EditorEdit SVG files visually: move shapes, change colors, text and strokes, add shapes, edit the code.Symmetry Drawing ToolDraw mandalas and kaleidoscope art with radial and mirror symmetry, glow brushes and PNG export.Virtual Background MakerDesign 1920×1080 video call backgrounds with your name, title, logo, blur and branded templates.EXIF EditorEdit photo EXIF and IPTC: date taken, camera, GPS location, copyright and caption, in batch.Face Symmetry TestUpload a face photo to see left-left and right-right mirror composites and a symmetry score.Sports Tactics BoardDraw plays on basketball, soccer, football and hockey diagrams with players, arrows and animated frames.Add Outline to PNGAdd a stroke outline around transparent PNG cutouts: width, color, softness and double borders.Dehaze ImageRemove haze, fog and smog from photos with the dark channel prior. Free, private, in your browser.HDR Photo EffectGive any single photo an HDR look with local tone mapping, detail boost and a strength slider.Low Light Photo EnhancerBrighten dark and night photos with an adaptive tone curve plus noise reduction.Photo StackingStack photos online: star trails (lighten), noise reduction (mean) and remove passers-by (median).Add Film Grain to PhotoAdd realistic analog film grain, light leaks, fade and vignette to any photo, then download.GIF Speed ChangerSpeed up or slow down an animated GIF, or set each frame's delay, without losing quality.
See all 69 Photo Effects & Editing →