---
title: "Remove white margins from PDF: free, no upload | Docsi"
description: "Remove white margins from a PDF automatically, so pages fill the screen of a Kindle, e-reader or phone. Text stays sharp and selectable. Free, no upload."
url: https://docsi.si/tools/remove-white-margins-from-pdf/
updated: 2026-11-19
---

[Docsi](https://docsi.si/) / [Tools](https://docsi.si/tools/) / [PDF](https://docsi.si/tools/#pdf)

# Remove white margins from PDF

Remove white margins finds where each page's text, pictures and lines are and trims the page down to them, with a small border left round the edge. A PDF made for printing often has two or three centimetres of white on every side; on a six-inch e-reader that is space the text could have used, so the words come out bigger once the margins are gone. Nothing is redrawn or rasterised: the page's visible area is changed, so the text stays as sharp and selectable as before.

PDF

Up to 2 GB a file.

**Runs on**: Your device

**Files uploaded**: None

**Price**: Free

**Account**: Not needed

**Works offline**: Yes

**Updated**: 19 November 2026

## How to trim the margins

1. **Add your PDF file above** Drop it on the box or choose it from your device. It is opened locally and is not uploaded.
2. **Set the options** Adjust bottom, fraction, left and more, or keep the defaults.
3. **Download the result** It appears on this page when the work is done. Nothing to install, no account, no watermark.

## When trimming the margins helps

**Reading PDFs on a Kindle or Kobo**: An e-reader shrinks the whole page to fit its screen, margins included. Trim the margins first and the same page shows with bigger text, often enough to read without zooming.

**Papers and books on a phone**: Academic papers and scanned-from-print books have wide margins for binding and notes. Trimmed, a page fills a phone screen in portrait.

**Fitting more on a printed page**: Trim the margins, then use Resize PDF pages or print two pages per sheet, and the content gets the space the margins had.

## How the margins are found

**What counts as content**: Text, pictures and drawn lines, including those inside reusable page parts. Shapes filled white are invisible on white paper, so they are ignored, and so is a coloured background that covers the whole page.

**One box for every page**: By default every page is cut to the same box, the one that holds the content of all of them, so the text stays the same size as you turn pages. Turn that off to trim each page to its own content.

## What carries over, and what does not

**Everything on the page**: The trim only changes which part of the page is shown. Nothing is deleted, and the full page can be restored by cropping it back.

**Headers, footers and page numbers**: These are content too, so the margin outside them stays. If you want them gone, crop by hand with the edge amounts on Crop PDF pages.

## Options

**Autoset to true**: Find the white margins and trim them off: each page is cut down to its text, pictures and lines plus `padding`. The edge amounts above are ignored. Scanned pages are one picture filling the page, so this leaves them as they are.

**Bottomdefault 0**: Optional.

**Fractiondefault false**: Optional.

**Leftdefault 0**: Optional.

**Paddingdefault 8**: With `auto`: space to leave around the content, in points.

**Pagesdefault all**: Optional.

**Rightdefault 0**: Optional.

**Same on every pagedefault true**: With `auto`: cut every page to the same box (the one that holds the content of all of them), so the text stays the same size from page to page on an e-reader.

**Topdefault 0**: Trim from each edge, in points (72 = 1 inch) or as a fraction of the page when `fraction` is true.

## What it costs and what it takes

Nothing. No account, no watermark, no trial and no daily limit.

- **Files up to 2 GB** As big as a browser tab can open. On a phone, past about 200 MB it may run out of memory; a computer copes better.
- **Up to 2,000 files at a time** They are worked through one after another, on your device.
- **Up to 20,000 pages a document** Long documents take longer, and nothing is uploaded while they do.

## Why it runs on your device

Contracts, payslips, IDs and invoices should not sit on somebody else's server. Docsi's engine is compiled to WebAssembly and runs inside your browser tab, so the file stays where it is, there is no upload wait, and the tool keeps working offline.

In the app you can also type what you want: “crop pdf”, “trim margins”, “cut margins”, “crop pages”.

## Questions

### How do I remove white margins from a PDF?

Drop the PDF above and run it. Every page is trimmed to its content plus a small border, and you get a copy ending in -cropped.pdf.

### Does it work on scanned PDFs?

No. A scanned page is one picture that fills the page, white edges included, so there is no margin for this tool to find. It leaves scans as they are.

### Can I leave a bigger border?

Yes. Padding sets the space kept round the content, in points (72 points is an inch).

### Is the cut-off part deleted?

No. It is hidden, not removed, so the file is not made smaller and nothing is lost.

### Are my files uploaded?

No. Remove white margins from PDF runs inside your browser using WebAssembly, so the file never leaves your device. You can turn off your internet connection after the page loads and it still works.

### Is it free?

Yes, with no watermark, no account and no limit on how often you use it.

### Does it work on a phone or tablet?

Yes, in any modern browser. Very large files are limited by the memory of the device, so a laptop handles them better than a phone.

## Related tools

[Crop pages Trim the margins of pages.](https://docsi.si/tools/crop-pdf/)[Extract pages Save some pages as a new PDF.](https://docsi.si/tools/extract-pdf-pages/)[Delete pages Take pages out of a PDF.](https://docsi.si/tools/delete-pdf-pages/)[PDF info Page count, size and properties.](https://docsi.si/tools/pdf-info/)[Merge PDF Combine PDFs into one.](https://docsi.si/tools/merge-pdf/)[Split PDF One file per page, or by ranges.](https://docsi.si/tools/split-pdf/)[Reorder pages Put pages in a new order.](https://docsi.si/tools/reorder-pdf-pages/)[Rotate PDF Turn pages a quarter or a half.](https://docsi.si/tools/rotate-pdf/)

## Remove white margins from PDF, and 153 more tools.

[See all tools](https://docsi.si/tools/)[Open the app](https://docsi.si/app/)
