Back to services

Stirling-PDF

Local hosted web application that allows you to perform various operations on PDF files, such as merging, splitting, file conversions and OCR.

View alternatives to Stirling-PDF
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We couldn't fetch the content of the official site (the GitHub repository) this time. The description below is based on existing knowledge of the project, so please refer to the official repository for specific details. The project repository has moved from the personal Frooodle account to the Stirling-Tools organization.

Introduction

Stirling-PDF is a self-hosted, web-based PDF toolbox. Users can handle all kinds of everyday PDF tasks right from the browser. All processing takes place on your own server, which makes it a good fit for individuals and teams who care about privacy and don't want to upload their files to online PDF sites.

Key Features

  • Page operations: merge, split, rotate, delete, reorder and extract pages, combine multiple pages into one, and more.
  • Format conversion: convert between PDF and images, and convert Office documents, HTML, Markdown and more to PDF (some features depend on components such as LibreOffice).
  • OCR: based on Tesseract / OCRmyPDF, turns scanned documents into PDFs with searchable, copyable text.
  • Security: add or remove passwords, set permissions, add watermarks, apply digital signatures, and redact content.
  • Optimization and repair: compress PDF file size, repair corrupted files, and view and edit metadata.
  • Other tools: extract images, compare documents, add page numbers, automatically split scanned documents, and more.
  • Automation and API: provides a REST API that can be integrated into scripts or other systems; multiple operations can also be chained into a pipeline for batch processing.

Target Users and Use Cases

  • Individuals who want to replace online PDF tools but care about file privacy
  • Companies or teams that need to provide a unified PDF toolset for internal staff
  • NAS and home server (HomeLab) enthusiasts
  • Developers who need to process PDFs in bulk through an API

Core Strengths

  • Privacy: files are processed only on your own server.
  • Rich functionality: a single app covers most common PDF needs.
  • Friendly interface: the web interface supports multiple languages (including Chinese) and has a dark mode.
  • Simple deployment: official Docker images are provided, and a single command is enough to run it.

Installation and Deployment

Deploying with Docker is recommended. Example:

docker run -d -p 8080:8080 --name stirling-pdf stirlingtools/stirling-pdf:latest

Once it's running, open http://server-address:8080 in your browser to start using it. You can also deploy with Docker Compose and mount directories for OCR language packs, configuration files and so on. The project also offers image variants with different feature sets (for example, a full version and a lightweight version); see the repository documentation for details.

Technical Requirements

  • The backend is built on Java (Spring Boot); when running with Docker, you don't need to set up a Java environment separately.
  • Features such as OCR and document conversion are fairly CPU- and memory-intensive, so it's best to allocate ample resources when processing large files.

Worth Noting

  • Login authentication and user management can be enabled, which suits shared use by multiple people.
  • The project is updated frequently, and the license and the split of some advanced (enterprise edition) features may change between versions, so please refer to the latest information in the official repository.