Paperless-ngx: Go Paperless with a Self-Hosted Document Management System
Stop searching through filing cabinets. Paperless-ngx digitises, OCRs, and organises every document your business handles.
Every business accumulates paper. Invoices, receipts, contracts, tax documents, and correspondence pile up in filing cabinets and on desks. Finding a specific document from three years ago takes 20 minutes of searching and often ends with the conclusion that it was thrown away. Paperless-ngx fixes this by digitising everything and making it searchable.
What Paperless-ngx Does
Paperless-ngx is an open-source document management system. You scan documents, feed them into Paperless-ngx, and it performs optical character recognition to extract the text. It then tags, categorises, and stores the document in a searchable archive. Two years later, when you need the contract from that supplier, you type the supplier's name into the search bar and find it in seconds.
Paperless-ngx automates document organisation. It learns from your tagging patterns and automatically classifies new documents. An invoice from Supplier A gets tagged Invoice, Supplier A, and the current tax year without manual input. A receipt gets tagged Receipt, the vendor, and the expense category.
Setting It Up
- Deploy via Docker: Paperless-ngx has an official Docker image. A single docker-compose.yml starts the application, Redis, and PostgreSQL. The web interface is clean and intuitive.
- Configure a consumption folder: Paperless-ngx watches a folder for new documents. Configure your scanner to save scans to this folder (via network share or FTP), and Paperless-ngx automatically ingests them. No manual upload.
- Set up email ingestion: Paperless-ngx can watch an email inbox and automatically ingest email attachments as documents. Forward invoices and receipts to a dedicated email address, and they appear in your archive.
- Configure OCR: Paperless-ngx uses Tesseract OCR. It extracts text from scanned PDFs and images. For multi-language businesses, it supports English, Malay, Chinese, and over 100 other languages.
Organising Your Documents
Paperless-ngx organises documents with four metadata fields:
- Correspondent: Who sent or received the document (Supplier A, Client B, Government Agency C).
- Document type: What kind of document it is (Invoice, Receipt, Contract, Tax Document, Correspondence).
- Tags: Any additional labels (2026 Taxes, Project Alpha, Urgent).
- Created date: When the document was created, which may differ from when it was scanned.
These fields are searchable. You can also search the full text extracted by OCR, including text within scanned images. If someone wrote a hand-written note on a receipt that says project over budget, OCR picks that up and the receipt appears when you search for budget.
Integration with Your Stack
Paperless-ngx has a REST API. Integrate it with n8n to create automated workflows:
- An invoice arrives in the consumption folder. Paperless-ngx processes it. n8n detects the new document with the Invoice tag and creates a task in your accounting system to pay it.
- A contract arrives by email. Paperless-ngx ingests it. n8n detects a new Contract document and sends a notification to the legal team in Mattermost.
- A receipt is scanned. Paperless-ngx classifies it. n8n adds the amount to your monthly expense report.
Paperless-ngx is not just a digital filing cabinet. It is the ingestion point for every document that enters your business. Once ingested, documents can trigger workflows, update records, and inform decisions.
The Real-World Impact
A business with one filing cabinet of paper documents can digitise the entire backlog in a weekend with a document scanner and Paperless-ngx. The ongoing workflow is simple: scan, and walk away. Paperless-ngx handles the rest. The result is a searchable archive of every document your business has ever handled, accessible from any device, backed up automatically, and never lost to fire, flood, or misplaced folders.
VPS1 deploys Paperless-ngx and configures automatic ingestion, tagging, and OCR. Your filing cabinets become search boxes. Your documents become data.
More articles
How to Deploy BTCPay Server: Accept Bitcoin Payments with Zero Platform Fees
BTCPay Server lets you accept Bitcoin and Lightning payments with no platform fees. Only standard Bitcoin network fees apply. Here is how to deploy it with Docker Compose.
Self-Hosted Crypto Payment Processors: BTCPay Server, Bitcart, and SHKeeper Compared
Accept Bitcoin and cryptocurrency payments directly with no platform fees, no intermediaries, and no KYC. Here is how BTCPay Server, Bitcart, and SHKeeper compare.
How to Deploy SHKeeper: Accept Crypto Payments with WooCommerce in 30 Minutes
SHKeeper supports Bitcoin, Ethereum, USDT, USDC, and 19+ cryptocurrencies with a free WooCommerce plugin. Zero platform fees -- only standard network fees apply.