# PDF Blocks

PDF Blocks provides synchronous API operations for merging, splitting, watermarking, securing, and reorganizing PDF documents.

Category: Productivity. Connect from any Rakazo bot at https://rakazo.com/integrations/pdf-blocks/.

## Actions

- **Add Image Watermark**: Add a PNG or JPEG image as a watermark on all or selected PDF pages.
- **Add PDF Password**: Create an encrypted copy of a PDF that requires a password to open.
- **Add PDF Restrictions**: Create an encrypted PDF copy with explicit permissions for copying, editing, printing, forms, assembly, and accessibility.
- **Add Text Watermark**: Add up to three styled text lines as a watermark on all or selected PDF pages.
- **Extract PDF Pages**: Create a PDF containing selected source pages in their original order.
- **Merge PDFs**: Merge PDF files into one PDF in the exact order provided.
- **Remove PDF Pages**: Create a PDF with selected pages removed while preserving the remaining page order.
- **Remove PDF Password**: Create an unencrypted copy of a password-protected PDF using its current password.
- **Remove PDF Restrictions**: Create a PDF copy with permission restrictions cleared.
- **Remove PDF Signatures**: Create a PDF copy with all digital signatures and timestamps removed.
- **Reorder PDF Pages**: Create a PDF in an exact page order, optionally dropping or repeating source pages.
- **Reverse PDF Pages**: Create a PDF with the complete page order reversed.
- **Rotate PDF Pages**: Rotate all or selected PDF pages by a supported multiple of 90 degrees.
- **Split PDF at Page**: Split a PDF into exactly two downloadable PDFs at a page boundary.
- **Split PDF by Page Count**: Split a PDF into consecutive downloadable PDFs containing up to a fixed number of pages each.
- **Split PDF by Page Groups**: Create one downloadable PDF for each caller-defined ordered group of source pages.
- **Split PDF by Size**: Split a PDF into downloadable PDFs no larger than a requested byte limit.
