PDF Tools
All tools, free, in your browser.
Remove Black Borders from a Scanned PDF
Clean the black or dark gray edges a scanner or copier leaves around scanned pages. Text near the edge stays, and nothing is uploaded.
How to remove black borders from a scanned PDF
Open the scanned PDF in the tool above and look at the preview. The tool looks for dark areas that touch an edge of the page and are thick, the way a scanner border is, and turns them white. Letters, lines and table rules are thin, so they are left alone even when they come close to the edge. The line under the settings tells you which edges had a border and how much of the page it covered. Adjust the Sensitivity slider if needed, click Remove Borders, and download. Every page is processed with the same settings inside your browser, and nothing is uploaded.
Step by step
- Drop the scanned PDF onto the upload area, or click Choose File.
- Pick a page with a visible border to preview if the first page is clean.
- Check the preview: the line under the settings says which edges had a border.
- Raise the Sensitivity slider if a dark gray border remains, or lower it if a dark part of the page disappears.
- Turn on Also make the paper white if the rest of the page is gray or yellow.
- Click Remove Borders, then download the cleaned PDF.
Where black borders come from
Flatbed scanners and copiers record the whole glass, not just the sheet. If the lid is open or does not close flat over a thick book, the uncovered glass comes out black. A page that is smaller than the scan area, such as a receipt or an A5 form scanned as A4 or Letter, leaves dark bands along one or two sides. A page that sits slightly crooked leaves dark wedges in the corners. Old microfilm and fax copies often have black frames too. On screen these edges look untidy, and when printed they waste a lot of toner.
What is removed and what is kept
Only dark, neutral areas that are connected to an edge of the page count as border. A dark photo or a black box in the middle of the page is not touched, because it does not reach an edge. Colored areas, such as a blue header bar or a red stamp, are never removed. A page that is mostly dark, like a full-page photo, is left exactly as it is and the result message says so. The page size stays the same: the border area becomes white instead of being cut off, so page numbers, margins and printing all line up as before.
Crooked scans and gray paper
If the borders come from a tilted page, the text is probably tilted too. Run the straighten scan tool first, then remove the borders that remain. If the paper itself is gray or yellow, turn on Also make the paper white, or use the background whitener for more control. For dark shadows from a hand or a book spine inside the page, the shadow remover is the better tool. To clean pages while you scan, the VoxScan scanner app for iOS and Android detects the page edges and crops the background away.
What happens to digital PDFs
The tool works on any PDF, but it always renders each page to an image before cleaning it. A digital PDF exported from Word or a browser therefore loses its selectable text, so use this tool for scans and photos of paper, which are images already. Run OCR afterwards if you need to search or copy the text.
Frequently asked questions
- Why do scanned pages get black borders?
A scanner or copier records everything on the glass. When the lid is open, the page is smaller than the glass, or the page sits a little crooked, the uncovered parts come out black or dark gray. A tilted page leaves dark wedges in the corners, and a thick book leaves a dark band along the spine edge.
- Will text close to the edge be removed?
No. The tool only removes dark areas that are thick and connected to an edge of the page. Letters and lines are thin, so they stay, even when they come close to the border. Where a line of text actually touches the border, a few pixels at the point of contact can turn white, so check the preview on pages with text right at the edge.
- Part of a dark gray border stayed. What should I do?
Raise the Sensitivity slider. At the default setting, only near-black areas count as border; a higher setting also removes lighter grays. If a dark part of the page itself starts to disappear, move the slider back down.
- Does it crop the pages or change their size?
No. Each page keeps its size and the border area becomes white, so the pages print and line up exactly as before. Colored areas are never treated as border, and a page that is mostly dark, such as a photo, is left as it is.
- Will the text stay selectable or searchable?
No. Each page is rendered and stored as an image, so an existing text layer is not carried over. Run the result through the OCR tool if you need searchable text; recognition often improves once the black edges are gone.
- Is my PDF uploaded to a server?
No. Rendering, cleaning and rebuilding the PDF all happen in your browser with JavaScript, and the file never leaves your device.