PDF

Resize PDFs

Normalises every page of a set of PDFs to one paper size (A4, Letter, Legal or A3), scaling each page's content to fit and centring it.

Free Command line: resize-pdfs Version 1.0

Resize PDFs changes the page size of every page that is not already the chosen size. The existing content is scaled down to fit and centred on the new page; it is not turned into an image, so text stays searchable and selectable. Links, comments and other annotations are moved and scaled with the content so they still sit on what they mark. Resized copies go to the run's files folder in the same folder structure; the originals are not changed.

Landscape pages become landscape pages of the new size unless you force portrait. A page's rotation is kept. Pages already within 1 point of the target size are not touched, and a PDF where no page needs resizing is copied byte for byte. Anything that was cropped out of view on the original page stays hidden.

Use it when

How to run it

  1. Choose the folder of PDFs as Input and an Output folder outside it. Only .pdf files are processed.
  2. Choose the size.
  3. Turn on force-portrait only if every page must be portrait.
  4. Turn on upscale only if small pages should be enlarged to fill the page.
  5. Click Run and read the notes.
  6. Click Open report and check PagesResized and PagesUnchanged for each file.

Settings

Every setting has the same help beside it in the app. On the command line, pass each as --name value; ltk help resize-pdfs lists them.

Settings

SettingWhat it doesType and default
Size
--size
Page size every page is normalised to.
A4 is 210 × 297 mm, Letter 8.5 × 11 in, Legal 8.5 × 14 in and A3 297 × 420 mm.
choice: A4, Letter, Legal, A3
A4
Force portrait
--force-portrait
Make every page portrait. Off (default): landscape pages stay landscape at the new size.
A landscape page is then shrunk to fit across a portrait page, so its content becomes noticeably smaller. Leave it off for spreadsheets and plans.
yes/no
false
Upscale
--upscale
Enlarge pages smaller than the target size to fill it. Off (default): small pages keep their size, centred on the new page.
Off (default): pages smaller than the target, such as receipts or small scans, keep their size and are centred on the new page. On: they are enlarged to fill it. Large pages are always reduced to fit.
yes/no
false

Common settings

SettingWhat it doesType and default
Input required
--input
Folder (or single file) to read. It is opened read-only and never modified. folder
empty
Output required
--output
Folder for reports. Must not be inside the input folder. Each run gets its own sub-folder. folder
empty
Recurse
--recurse
Include sub-folders. yes/no
true
Extensions
--extensions
Only process these extensions (e.g. .pdf, .docx). Empty means the tool's default set. list
empty
Parallelism
--parallelism
Files processed at once. Use 1-2 for spinning disks or network shares. number
4

What you get

Each run creates its own folder inside the output folder, with the report resize-pdfs.csv, errors.csv and manifest.json (see Run folders and manifests).

Report columns

Check the result

Tips
  • Resize before Bates stamping, so the stamp is placed relative to the final page size.
  • Content is only ever scaled evenly, never stretched, so the proportions of each page are kept. A page of a different shape from the target has blank margins on two sides.
Watch out for
  • Bookmarks and links that jump to an exact spot on a resized page still open the right page, but may scroll to a slightly different position.
  • Resizing does not change the resolution of scanned images; enlarging a small scan with upscale makes it bigger, not sharper.

From the command line

The command line is part of LitTechKit Pro. See Command line.

ltk run resize-pdfs --input "D:\Matter\Court Book\Documents" --output "D:\Matter\Court Book\A4" --size A4

Related tools