This page is about changing PDFs you point to with links, many at a time. It splits by page, not by file size. It does not read the text in a PDF, does no OCR, does not fill forms and does not open password-protected files.
Teams that collect reports, invoices or forms as PDFs need one merged file, a 200-page file cut into parts, or a smaller file to email, without a person opening each one.
Short version: one or two files → a PDF viewer or a free online tool. A list of PDF links, or the links another Actor collected, merged, split, shrunk or counted, with a link back for each result → PDF Tools on Apify.
pdfUrls takes them; datasetId and urlField read them from another Actor's dataset (a dotted path and lists of links work). Up to 200 per run by default (maxItems).operation: merge (all links, in order, into one PDF), split (one file per range in ranges such as 1-3,5,7-, else one per everyN pages, else one per page), extract (keep the pages in pages), rotate (rotateDegrees 90, 180 or 270), compress or info (page count, size, title, author, PDF version, whether it is encrypted).compress re-saves the file and, on ebook (about 150 dpi), screen (about 72 dpi) or printer (about 300 dpi), shrinks images with Ghostscript. If nothing is smaller, the original is kept: the row says unchanged and it is free. Images lose quality by design; printer loses least and none leaves images as they are.onlyNew skips files already handled the same way, so a daily run charges only the new ones.inputUrl, operation, status, error, note, outputUrl, pageRange, inputPages, outputPages, inputBytes, outputBytes, savedPercent and method; for info also title, author, pdfVersion and encrypted; for a merge sourceUrls and inputCount. The files are stored in the run's key-value store and outputUrl is the public link.The input on the Actor's page is already filled in: it splits two public US tax forms and keeps pages 1 and 2 of each. In a test run on 22 November 2026 that took about 7 seconds and cost $0.004 for 2 files, plus $0.00005 for the run start.
Good to know:
5-3, 0) stops the run before anything is charged.info, which answers with encrypted: true.maxFileMb (100 by default, 300 at most) are refused. Private and local addresses are rejected, and so are links that return a web page instead of a PDF.Price: $0.002 per result file stored, $0.0003 per PDF read with info, and $0.00005 per run. Errors, skipped files and a compress that could not make the file smaller are free. Merging 50 links is one file, $0.002; splitting 50 files into single pages is as many files as pages.
Try the two example forms on Apify
curl -X POST "https://api.apify.com/v2/acts/northbell~pdf-tools/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"operation":"split","pdfUrls":["https://www.irs.gov/pub/irs-pdf/fw9.pdf","https://www.irs.gov/pub/irs-pdf/f1040.pdf"],"ranges":"1-2"}'
Each row has status ok, error, skipped or unchanged. To merge instead, send "operation":"merge" and leave out ranges. To get the text out of PDFs, see the bulk PDF to text page. To make PDFs from web pages, see the HTML to PDF API page.
Source: the PDF links you give it. Compression uses Ghostscript, run as a separate program.