Usage Overview

Paperless is an application that manages your personal documents. With the help of a document scanner (see Scanner recommendations), paperless transforms your wieldy physical document binders into a searchable archive and provides many utilities for finding and managing your documents.

Terms and definitions

Paperless essentially consists of two different parts for managing your documents:

  • The consumer watches a specified folder and adds all documents in that folder to paperless.

  • The web server provides a UI that you use to manage and search for your scanned documents.

Each document has a couple of fields that you can assign to them:

  • A Document is a piece of paper that sometimes contains valuable information.

  • The correspondent of a document is the person, institution or company that a document either originates from, or is sent to.

  • A tag is a label that you can assign to documents. Think of labels as more powerful folders: Multiple documents can be grouped together with a single tag, however, a single document can also have multiple tags. This is not possible with folders. The reason folders are not implemented in paperless is simply that tags are much more versatile than folders.

  • A document type is used to demarcate the type of a document such as letter, bank statement, invoice, contract, etc. It is used to identify what a document is about.

  • The date added of a document is the date the document was scanned into paperless. You cannot and should not change this date.

  • The date created of a document is the date the document was initially issued. This can be the date you bought a product, the date you signed a contract, or the date a letter was sent to you.

  • The archive serial number (short: ASN) of a document is the identifier of the document in your physical document binders. See The recommended workflow below.

  • The content of a document is the text that was OCR’ed from the document. This text is fed into the search engine and is used for matching tags, correspondents and document types.

Frontend overview


TBD. Add some fancy screenshots!

Adding documents to paperless

Once you’ve got Paperless setup, you need to start feeding documents into it. When adding documents to paperless, it will perform the following operations on your documents:

  1. OCR the document, if it has no text. Digital documents usually have text, and this step will be skipped for those documents.

  2. Paperless will create an archivable PDF/A document from your document. If this document is coming from your scanner, it will have embedded selectable text.

  3. Paperless performs automatic matching of tags, correspondents and types on the document before storing it in the database.


This process can be configured to fit your needs. If you don’t want paperless to create archived versions for digital documents, you can configure that by configuring PAPERLESS_OCR_MODE=skip_noarchive. Please read the relevant section in the documentation.


No matter which options you choose, Paperless will always store the original document that it found in the consumption directory or in the mail and will never overwrite that document. Archived versions are stored alongside the original versions.

The consumption directory

The primary method of getting documents into your database is by putting them in the consumption directory. The consumer runs in an infinite loop, looking for new additions to this directory. When it finds them, the consumer goes about the process of parsing them with the OCR, indexing what it finds, and storing it in the media directory.

Getting stuff into this directory is up to you. If you’re running Paperless on your local computer, you might just want to drag and drop files there, but if you’re running this on a server and want your scanner to automatically push files to this directory, you’ll need to setup some sort of service to accept the files from the scanner. Typically, you’re looking at an FTP server like Proftpd or a Windows folder share with Samba.

Web UI Upload

The dashboard has a file drop field to upload documents to paperless. Simply drag a file onto this field or select a file with the file dialog. Multiple files are supported.

You can also upload documents on any other page of the web UI by dragging-and-dropping files into your browser window.

Mobile upload

The mobile app over at allows Android users to share any documents with paperless. This can be combined with any of the mobile scanning apps out there, such as Office Lens.

Furthermore, there is the Paperless App as well, which not only has document upload, but also document browsing and download features.

IMAP (Email)

You can tell paperless-ngx to consume documents from your email accounts. This is a very flexible and powerful feature, if you regularly received documents via mail that you need to archive. The mail consumer can be configured by using the admin interface in the following manner:

  1. Define e-mail accounts.

  2. Define mail rules for your account.

These rules perform the following:

  1. Connect to the mail server.

  2. Fetch all matching mails (as defined by folder, maximum age and the filters)

  3. Check if there are any consumable attachments.

  4. If so, instruct paperless to consume the attachments and optionally use the metadata provided in the rule for the new document.

  5. If documents were consumed from a mail, the rule action is performed on that mail.

Paperless will completely ignore mails that do not match your filters. It will also only perform the action on mails that it has consumed documents from.

The actions all ensure that the same mail is not consumed twice by different means. These are as follows:

  • Delete: Immediately deletes mail that paperless has consumed documents from. Use with caution.

  • Mark as read: Mark consumed mail as read. Paperless will not consume documents from already read mails. If you read a mail before paperless sees it, it will be ignored.

  • Flag: Sets the ‘important’ flag on mails with consumed documents. Paperless will not consume flagged mails.

  • Move to folder: Moves consumed mails out of the way so that paperless wont consume them again.

  • Add custom Tag: Adds a custom tag to mails with consumed documents (the IMAP standard calls these “keywords”). Paperless will not consume mails already tagged. Not all mail servers support this feature!


The mail consumer will perform these actions on all mails it has consumed documents from. Keep in mind that the actual consumption process may fail for some reason, leaving you with missing documents in paperless.


With the correct set of rules, you can completely automate your email documents. Create rules for every correspondent you receive digital documents from and paperless will read them automatically. The default action “mark as read” is pretty tame and will not cause any damage or data loss whatsoever.

You can also setup a special folder in your mail account for paperless and use your favorite mail client to move to be consumed mails into that folder automatically or manually and tell paperless to move them to yet another folder after consumption. It’s up to you.


When defining a mail rule with a folder, you may need to try different characters to define how the sub-folders are separated. Common values include “.”, “/” or “|”, but this varies by the mail server. Check the documentation for your mail server. In the event of an error fetching mail from a certain folder, check the Paperless logs. When a folder is not located, Paperless will attempt to list all folders found in the account to the Paperless logs.


Paperless will process the rules in the order defined in the admin page.

You can define catch-all rules and have them executed last to consume any documents not matched by previous rules. Such a rule may assign an “Unknown mail document” tag to consumed documents so you can inspect them further.

Paperless is set up to check your mails every 10 minutes. This can be configured on the ‘Scheduled tasks’ page in the admin.


You can also submit a document using the REST API, see POSTing documents for details.

Best practices

Paperless offers a couple tools that help you organize your document collection. However, it is up to you to use them in a way that helps you organize documents and find specific documents when you need them. This section offers a couple ideas for managing your collection.

Document types allow you to classify documents according to what they are. You can define types such as “Receipt”, “Invoice”, or “Contract”. If you used to collect all your receipts in a single binder, you can recreate that system in paperless by defining a document type, assigning documents to that type and then filtering by that type to only see all receipts.

Not all documents need document types. Sometimes its hard to determine what the type of a document is or it is hard to justify creating a document type that you only need once or twice. This is okay. As long as the types you define help you organize your collection in the way you want, paperless is doing its job.

Tags can be used in many different ways. Think of tags are more versatile folders or binders. If you have a binder for documents related to university / your car or health care, you can create these binders in paperless by creating tags and assigning them to relevant documents. Just as with documents, you can filter the document list by tags and only see documents of a certain topic.

With physical documents, you’ll often need to decide which folder the document belongs to. The advantage of tags over folders and binders is that a single document can have multiple tags. A physical document cannot magically appear in two different folders, but with tags, this is entirely possible.


This can be used in many different ways. One example: Imagine you’re working on a particular task, such as signing up for university. Usually you’ll need to collect a bunch of different documents that are already sorted into various folders. With the tag system of paperless, you can create a new group of documents that are relevant to this task without destroying the already existing organization. When you’re done with the task, you could delete the tag again, which would be equal to sorting documents back into the folder they belong into. Or keep the tag, up to you.

All of the logic above applies to correspondents as well. Attach them to documents if you feel that they help you organize your collection.

When you’ve started organizing your documents, create a couple saved views for document collections you regularly access. This is equal to having labeled physical binders on your desk, except that these saved views are dynamic and simply update themselves as you add documents to the system.

Here are a couple examples of tags and types that you could use in your collection.

  • An inbox tag for newly added documents that you haven’t manually edited yet.

  • A tag car for everything car related (repairs, registration, insurance, etc)

  • A tag todo for documents that you still need to do something with, such as reply, or perform some task online.

  • A tag bank account x for all bank statement related to that account.

  • A tag mail for anything that you added to paperless via its mail processing capabilities.

  • A tag missing_metadata when you still need to add some metadata to a document, but can’t or don’t want to do this right now.


Paperless offers an extensive searching mechanism that is designed to allow you to quickly find a document you’re looking for (for example, that thing that just broke and you bought a couple months ago, that contract you signed 8 years ago).

When you search paperless for a document, it tries to match this query against your documents. Paperless will look for matching documents by inspecting their content, title, correspondent, type and tags. Paperless returns a scored list of results, so that documents matching your query better will appear further up in the search results.

By default, paperless returns only documents which contain all words typed in the search bar. However, paperless also offers advanced search syntax if you want to drill down the results further.

Matching documents with logical expressions:

shopname AND (product1 OR product2)

Matching specific tags, correspondents or types:

type:invoice tag:unpaid
correspondent:university certificate

Matching dates:

created:[2005 to 2009]

Matching inexact words:



Inexact terms are hard for search indexes. These queries might take a while to execute. That’s why paperless offers auto complete and query correction.

All of these constructs can be combined as you see fit. If you want to learn more about the query language used by paperless, paperless uses Whoosh’s default query language. Head over to Whoosh query language. For details on what date parsing utilities are available, see Date parsing.