PDF Tools: merge, split, compress and rotate PDFs
Pricing
from $0.20 / 1,000 page processeds
PDF Tools: merge, split, compress and rotate PDFs
Merges PDFs you link or store into one file, splits each PDF by page ranges or every N pages, compresses PDFs with optional image recompression, or rotates the pages you pick. Opens password protected PDFs. Returns a download link for every PDF it writes.
Pricing
from $0.20 / 1,000 page processeds
Rating
0.0
(0)
Developer
Ed Rayyis
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Security
Limited permissionsShare
Give it PDF files, by link or from one of your key value stores, and pick one operation: merge them into one file, split each one into parts, compress each one, or rotate pages. Every PDF it writes goes into the run's key value store, and the dataset gives you its download link with the page count and size.
What it does
- Merge: joins every PDF into one file in your order, with a bookmark at the start of each source file. Take every page, or the same pages from each file, such as
1-2 - Split: cuts each PDF into parts by page groups separated by semicolons, such as
1-3; 4-6; 7-, or every N pages. A group can list single pages, such as5, 6. Every 1 page gives one PDF per page - Compress: compresses the page content and stores repeated objects once. Optionally recompresses photos as JPEG at the quality you set and scales down images over a size in pixels. An image is replaced only when the new one is smaller, and if the whole file does not get smaller you get the original back
- Rotate: turns the pages you pick, or every page, by 90, 180 or 270 degrees clockwise
- Password protected PDFs: set the password and they open. The files written have no password
- Remove document properties when compressing: title, author, creator and dates
Example
A 14 page paper of 1,016,315 bytes compressed to 907,826 bytes (10.7% smaller) with images left as they were. A 3 page photo PDF of 861,952 bytes compressed to 168,382 bytes (80.5% smaller) with image quality 60 and a 1,200 pixel limit. Merging a 1 page, a 6 page and a 14 page PDF gave one 21 page PDF. Splitting with 1-2; 5, 6; 14- gave three parts from the 14 page paper and two from the 6 page form, since it has no page 14.
Input
- Operation: merge (default), split, compress or rotate
- PDF URLs: direct links to PDF files. Merge keeps this order
- Files in a key value store: to use PDFs from your computer, upload them to one of your key value stores and pick that store. Every record whose key ends in
.pdfis used, in key order - Record keys: only use these records from that store, in this order
- Pages, for merge and rotate: such as
1-3, 5, 8-, where8-runs to the last page. Empty means every page - Split ranges, and split every N pages (default 1)
- Rotate by: 90 (default), 180 or 270 degrees
- Image quality for compress (default 0, which leaves images as they are)
- Maximum image size in pixels for compress (default 0, which keeps their size)
- Remove document properties for compress (default off)
- PDF password, tried on every PDF
- Merged file name (default
merged) - Maximum file size in MB (default 100)
Output
Dataset: one item per PDF written with pdfUrl (download link), pdfKey, operation, pages and pdfBytes. Merge adds sources, the pages taken from each file. Split adds part and pageNumbers. Rotate adds rotatedPages and degrees. Compress adds savedPercent and imagesRecompressed. Split, compress and rotate add the source's sourceUrl, sourcePages and sourceBytes.
A PDF that cannot be read gets an item with ok: false and an error, such as HTTP 404, "the link returns a web page, not a PDF file", "the file is not a PDF this actor can read", or "the PDF is password protected; set the password input". The other files are still processed, and a merge is made from the files that work.
Pricing
Pay per event: one event per page in the PDFs written. A merge of 21 pages is 21 events, and so is a split that writes 21 pages in total. Failed files are not charged. The run stops before a file whose pages would pass the maximum charge you set.
Scope and conduct
Only the files you supply are downloaded. The actor does not log in anywhere and uses no proxies. The password you give is used only to open your PDFs. Process documents you have the right to use.
Support
Questions and problems: the Issues tab on this page. Replies are written by an AI assistant on behalf of the developer and reviewed by the developer.