# PDFPookie - Complete Platform & API Overview for LLMs > PDFPookie is a privacy-focused web application built with Next.js and Express that provides an extensive suite of PDF tools for viewing, converting, editing, compressing, securing, and processing PDF files. ## Table of Contents 1. Platform Summary 2. Core Features & Capabilities 3. Architecture & Tech Stack 4. Security & Privacy Guarantees 5. Comprehensive Route Index 6. Backend API Specifications --- ## 1. Platform Summary PDFPookie provides browser-first and cloud-assisted PDF operations. Where possible, file transformations occur directly within the user's browser using web-assembly and client-side JavaScript libraries (pdf-lib, pdfjs-dist), guaranteeing zero server exposure for confidential files. For advanced conversions (such as OCR, PDF to Word/Excel/PPTX), tasks are safely processed via encrypted backend workers. ## 2. Core Features & Capabilities - **Merge PDF (`/merge`)**: Stitches multiple PDF files into a single unified file. Users can reorder pages before merging. - **Split PDF (`/split`)**: Splits PDFs into individual pages or extracts specific page ranges into new documents. - **Compress PDF (`/compress`)**: Reduces file sizes using multi-level compression strategies (lossless layout optimization, font pruning, and image resampling). - **Edit PDF (`/editpdf`)**: Interactive editor supporting text insertion, annotation markup, shape drawing, image insertion, and page rotation. - **Sign PDF (`/sign`)**: Add draw-based, text-based, or uploaded signature stamps directly onto PDF pages with cryptographic verification markers. - **Protect PDF (`/protect`)**: Applies 128-bit/256-bit AES encryption with custom owner and user passwords to restrict viewing, printing, and content extraction. - **Unlock PDF (`/unlock`)**: Removes password locks from authorized PDF files. - **OCR PDF (`/ocr-pdf`)**: Uses Tesseract OCR engine to scan non-searchable PDFs and images, overlaying searchable text layers onto pages. - **Document Converters**: - `PDF to Word` / `Word to PDF`: Bidirectional conversion between PDF and Microsoft Word (.docx). - `PDF to Excel` / `Excel to PDF`: Table structure extraction into Excel (.xlsx) and grid formatting. - `PDF to PowerPoint` / `PowerPoint to PDF`: Slide layout preservation for Microsoft PowerPoint (.pptx). - `PDF to JPG` / `JPG to PDF`: Rasterization of vector PDF pages to images and batch conversion of images to PDF. - `HTML to PDF`: Renders web documents into pixel-perfect PDF pages. - `PDF to PDF/A`: Standardized ISO 19005-1/2/3 archiving compliance. ## 3. Architecture & Tech Stack - **Frontend**: Next.js (App Router), TypeScript, Tailwind CSS, Lucide / Material Icons, web-workers. - **Backend API**: Node.js, Express, pdf-lib, Sharp, Tesseract, LibreOffice/Unoconv headless converter pipeline. - **Client Processing**: Browser-side PDF rendering using PDF.js and pdf-lib for privacy-critical tasks. ## 4. Security & Privacy Guarantees - **No Permanent File Storage**: Temporary files uploaded for backend processing are automatically deleted immediately after completion or within 1 hour via automated garbage collection. - **Client-Side Operations**: Simple operations (merging, splitting, page rotation, signing, simple edits) run completely inside the browser client memory. - **Transport Encryption**: All API traffic is strictly encrypted using TLS 1.3 / HTTPS. ## 5. Comprehensive Route Index - `https://www.pdfpookie.com/` - Homepage & All Tools Explorer - `https://www.pdfpookie.com/merge` - Merge PDF Tool - `https://www.pdfpookie.com/split` - Split PDF Tool - `https://www.pdfpookie.com/compress` - Compress PDF Tool - `https://www.pdfpookie.com/editpdf` - Edit PDF Tool - `https://www.pdfpookie.com/sign` - Sign PDF Tool - `https://www.pdfpookie.com/protect` - Protect PDF Tool - `https://www.pdfpookie.com/unlock` - Unlock PDF Tool - `https://www.pdfpookie.com/ocr-pdf` - OCR PDF Tool - `https://www.pdfpookie.com/pdftoword` - PDF to Word Converter - `https://www.pdfpookie.com/wordtopdf` - Word to PDF Converter - `https://www.pdfpookie.com/pdftoexcel` - PDF to Excel Converter - `https://www.pdfpookie.com/exceltopdf` - Excel to PDF Converter - `https://www.pdfpookie.com/pdftojpg` - PDF to JPG Converter - `https://www.pdfpookie.com/jpgtopdf` - JPG to PDF Converter - `https://www.pdfpookie.com/pdftopowerpoint` - PDF to PowerPoint Converter - `https://www.pdfpookie.com/powerpointtopdf` - PowerPoint to PDF Converter - `https://www.pdfpookie.com/htmltopdf` - HTML to PDF Converter - `https://www.pdfpookie.com/pdftopdfa` - PDF to PDF/A Archival Converter - `https://www.pdfpookie.com/about` - About PDFPookie - `https://www.pdfpookie.com/blog` - Articles & Tutorials - `https://www.pdfpookie.com/help` - Help & FAQs - `https://www.pdfpookie.com/contact` - Contact Form - `https://www.pdfpookie.com/privacy` - Privacy Policy - `https://www.pdfpookie.com/terms` - Terms of Service ## 6. Backend API Specifications For developers and integrations, the backend API provides structured endpoints (multipart/form-data): - `GET /api` - Health check & server status. - `POST /api/compress` - Expects `file` (PDF) and `compressionLevel` (`low`, `medium`, `high`). - `POST /api/merge` - Expects `files` (array of PDFs). - `POST /api/split` - Expects `file` (PDF) and `pages` (range selection string, e.g. `1-3,5`). - `POST /api/protect` - Expects `file` (PDF) and `password`. - `POST /api/unlock` - Expects `file` (PDF) and `password`. - `POST /api/sign` - Expects `file` (PDF), `signature` (base64 image data), and `position` coordinates.