Verified System Documentation

PDFHub Documentation Portal

Authoritative technical specifications, browser runtime architecture, data processing models, and guides for all 33 privacy-first PDF utilities.

33 Implemented Tools Verified from Source Code
100% Client-Side RAM 31 Local / 2 Network-Assisted
Zero Server Storage Files Never Touch a Server
PWA & Offline Ready Service Worker Caching
Download Complete PDF Documentation Manual (75 Pages, A4)

Compare PDF

Organize PDF

Review two PDF versions side by side and highlight visual differences.

Engine pdf.js
Input Two PDF files
Output A side-by-side comparison view
Privacy 100% Client-Side

Excel to PDF

Convert to PDF

Turn a selected workbook sheet into a printable PDF using the browser print dialog.

Engine SheetJS
Input XLSX, XLS, or CSV
Output A PDF saved from print
Privacy 100% Client-Side

Extract Pages

Organize PDF

Copy selected page numbers or ranges into a new PDF.

Engine pdf-lib
Input One PDF and page numbers
Output A new PDF containing selected pages
Privacy 100% Client-Side

HTML to PDF

Convert to PDF

Print pasted HTML or an opened URL to a PDF from the browser.

Engine Native Browser Print Engine
Input HTML code or URL
Output A PDF saved through browser printing
Privacy 100% Client-Side

OCR PDF

Extract Content

Recognize text in scanned PDF pages with browser-based Tesseract OCR.

Engine pdf.js
Input A scanned PDF
Output Recognized text for copy or TXT download
Privacy CDN Model Fetch (1x)

PDF to Markdown

Extract Content

Extract selectable PDF text into editable Markdown with optional headings.

Engine pdf.js
Input A text-based PDF
Output Editable Markdown text and .md file
Privacy 100% Client-Side

PDF to PowerPoint

Convert from PDF

Render up to 20 PDF pages as slide images in a PPTX.

Engine pdf.js
Input One PDF, up to 20 selected pages
Output A PPTX presentation
Privacy 100% Client-Side

Redact PDF

Secure PDF

Draw black rectangles over sensitive areas and export a flattened PDF.

Engine pdf.js
Input One PDF and drawn redaction areas
Output A redacted PDF
Privacy 100% Client-Side

Remove Pages

Organize PDF

Delete selected page numbers or ranges from a PDF.

Engine pdf-lib
Input One PDF and pages to remove
Output A PDF without the selected pages
Privacy 100% Client-Side

Repair PDF

Optimize PDF

Try to parse and reserialize a malformed PDF structure.

Engine pdf-lib
Input One damaged or malformed PDF
Output A reserialized PDF when recovery succeeds
Privacy 100% Client-Side

Scan to PDF

Convert to PDF

Capture camera images or upload photos and assemble them into a PDF.

Engine navigator.mediaDevices.getUserMedia + HTML5 Canvas + pdf-lib
Input Camera captures or JPG/PNG/WebP images
Output A multi-page scanned PDF
Privacy 100% Client-Side

Sign PDF

Edit PDF

Draw or type a signature and place it on a rendered PDF page.

Engine HTML5 Signature Pad Canvas + pdf-lib
Input One PDF and a drawn or typed signature
Output A signed PDF
Privacy 100% Client-Side

Split PDF

Organize PDF

Create separate PDFs from ranges, every page, or groups of N pages.

Engine pdf-lib + JSZip
Input One PDF and split settings
Output One or more PDF downloads
Privacy 100% Client-Side

AI Summarizer

Extract Content

Extract PDF text and request a summary through the page’s configured AI service.

Engine pdf.js
Input A text-based PDF
Output Summary text and TXT download
Privacy 100% Client-Side

Translate PDF

Extract Content

Extract selected PDF text and translate it through the configured free translation API.

Engine pdf.js
Input A text-based PDF and language pair
Output Translated text, TXT, or PDF
Privacy HTTPS API Chunks

Unlock PDF

Secure PDF

Remove supported PDF encryption when you provide the document password.

Engine pdf-lib
Input One protected PDF and optional password
Output An unlocked PDF
Privacy 100% Client-Side

Add Watermark

Edit PDF

Stamp custom text across every page with opacity, color, angle, and size controls.

Engine pdf-lib
Input One PDF and watermark settings
Output A watermarked PDF
Privacy 100% Client-Side

Word to PDF

Convert to PDF

Convert DOCX text and basic formatting into a browser print layout.

Engine mammoth.js
Input A DOCX file
Output A PDF saved through printing
Privacy 100% Client-Side

Client-Side Browser Execution Model

PDFHub operates as a static, decentralized web utility platform. Unlike legacy PDF converters that upload documents to remote server farms, PDFHub compiles document transformation pipelines into WebAssembly and JavaScript engines that execute directly inside your device's browser memory.

100% Client-Side Privacy Guarantee for 31 of 33 Tools: Documents selected in your browser are read into binary ArrayBuffer memory buffers. They are parsed, modified, and serialized entirely in local RAM. Zero bytes are uploaded to any server.

Data Processing Classification

Category Tools Count Implemented Tools Network & API Behavior
100% Client-Side 31 Tools Merge, Split, Remove, Extract, Organize, Scan, Compress, Repair, JPG to PDF, Word to PDF, PPT to PDF, Excel to PDF, HTML to PDF, PDF to JPG, PDF to Word, PDF to PPT, PDF to Excel, PDF to PDF/A, Rotate, Page Numbers, Watermark, Crop, Edit, Forms, Protect, Unlock, Sign, Redact, Compare, Summarize, PDF to Markdown Zero Network Calls. Files are never uploaded or transmitted off the client device.
CDN Model Assisted 1 Tool OCR PDF (ocr.html) Image processing is performed locally in browser via Tesseract.js WebAssembly worker. On initial run, the worker fetches trained language weights (eng.traineddata.gz) from official CDN. Document images never leave the device.
External API Hybrid 1 Tool Translate PDF (translate.html) Text extraction occurs locally via pdf.js. Selected text chunks (<500 characters) are transmitted via HTTPS to the free public MyMemory Translation API to obtain multi-lingual translated strings.

Browser Storage Usage

PDFHub does not store document content in persistent browser storage. Storage is restricted to lightweight user preferences:

  • pdfhub-theme: Stores user interface color theme ("dark" or "light").
  • pdfhub-favorites: Stores an array of favorited tool IDs locally.
  • pdfhub-recent-history: Stores timestamped log of tool navigation (no document contents or file names are retained).
Read Full Privacy & Data Processing Specification (.md)

Supported Formats & Hardware Memory Limits

Because PDFHub performs document manipulations in browser RAM, file capacities are bounded by available system memory and browser tab allocations rather than artificial paywalls.

Input and Output Format Matrix

Operation Input Formats Output Formats Underlying Engine
PDF Assembly .pdf .pdf, .zip pdf-lib + JSZip
Office to PDF .docx, .pptx, .xlsx, .xls, .csv Formatted PDF (Browser Print Engine) Mammoth.js, JSZip, SheetJS
Images & Scans .jpg, .jpeg, .png, .webp, Camera Stream .pdf, .jpg, .png HTML5 Canvas 2D + pdf-lib
PDF to Office .pdf (text-based) .docx, .xlsx, .pptx, .txt pdf.js + docx.js / SheetJS / PptxGenJS
Text & Web .html, HTML Code, URL .pdf, .md, .txt DOM Parser + pdf.js
Memory Recommendations: For optimal performance, input files between 10 MB and 100 MB (up to 500 pages) process smoothly across all standard desktop and mobile browsers. Very large files (>150 MB) may trigger browser tab memory limits on mobile devices with limited RAM.
Read Comprehensive Format Specifications (.md)

Getting Started with PDFHub

PDFHub is engineered for immediate productivity without login hurdles, registration walls, or software installations.

1. Choose a Utility Select from 33 categorized tools
2. Select Document Drag & drop or click to upload
3. Configure & Process Adjust parameters and click execute
4. Instant Download Save output directly to disk

Install as Progressive Web App (PWA)

PDFHub features full PWA capabilities including a Web App Manifest, Service Worker caching, and an offline shell. Installing gives you a native desktop or mobile window experience with faster boot times and offline tool availability.

Desktop Installation: In Chrome, Edge, or Brave, click the Install icon in the address bar or open the browser menu and select "Install PDFHub".
Mobile Installation: On iOS Safari, tap Share → Add to Home Screen. On Android Chrome, tap Install App from the banner or menu.
Open Interactive PWA Installer Read Getting Started Guide (.md)

Troubleshooting & Frequently Asked Questions

Diagnose common browser memory issues, document encryption restrictions, and layout quirks with these verified solutions.

Universal Troubleshooting Diagnostic Matrix

Symptom / Error Underlying Cause Verified Resolution
Tab crashes or reloads during processing Browser ran out of heap memory on an exceptionally large PDF (>150 MB). Close extraneous browser tabs, or use Split PDF to partition large documents into smaller page batches before applying heavy processing.
PasswordRequired or Decryption Error Document is secured with owner or user encryption. Unlock the document first using the authorized password in Unlock PDF before merging or converting.
Extracted Word / Excel document is blank Source PDF contains scanned raster images rather than selectable vector text. Run the PDF through OCR PDF to extract text characters from images before converting.
Corrupted or truncated PDF stream Damaged cross-reference (xref) table or broken EOF trailer. Run the damaged document through Repair PDF to regenerate the catalog structure.

Master FAQ Accordion

No. 31 of PDFHub's 33 tools run 100% locally in your browser memory. OCR PDF runs locally using a WebAssembly worker (fetching trained weights once from a CDN), and Translate PDF sends small isolated text chunks (<500 characters) to an external translation API. Your documents never touch a PDFHub server.
Yes. All 33 tools are free with zero credit cards, subscription popups, daily caps, or watermark penalties.
Yes! Once loaded or installed as a PWA, the service worker caches application assets and client libraries, enabling offline document processing for all local tools.
No. Unlock PDF strips encryption when you provide the correct authorized password. PDFHub does not perform cryptographic brute-forcing.
Full Troubleshooting Guide (.md) Full FAQ Document (.md)

Developer & Project Documentation

PDFHub is designed as a modular static architecture that compiles into standard HTML, CSS, and modern JavaScript with zero heavy framework bloat.

Repository Core Technical Architecture

  • Architecture: Zero-build vanilla static web application (HTML5, Vanilla CSS, Modern ES Modules).
  • PDF Manipulation Engines: pdf-lib (v1.17.1), pdf.js (v3.11.174), Tesseract.js (v5.0.5), SheetJS (xlsx.full.min.js), Mammoth.js, docx.js, PptxGenJS, JSZip.
  • Primary Canonical Domain: https://pdfshub.netlify.app/
  • Alternative Deployment: https://pdfshub.smartstores.in/
  • Source Code Repository: github.com/officialhazim42/pdfshub

Available NPM Automation Scripts

Command Description
npm run dev Launches local HTTP preview server.
npm run build / npm run build:dist Compiles production distribution bundle into clean dist/ directory.
node scripts/generate-sitemap.mjs Generates canonical sitemap.xml with verified routes.
node scripts/audit-seo.mjs Runs comprehensive automated SEO, canonical, and metadata audit.
node scripts/validate-deployment-assets.mjs Validates build assets, service worker, manifest, and favicons.

Master Markdown Technical Documents