ScanTailor, tested in 2026
30 of 30
book pages split right, off-center seams too
ScanTailor splits, straightens and cleans scanned pages. I ran its command line on 113 test scans.
Which ScanTailor still runs
| Version | Last release | Command line |
|---|---|---|
| Advanced 1.2.1 | May 24, 2026 | No, app only |
| Experimental 1.2026.11.11 | Nov 10, 2026 | Writes no pages |
| Universal 0.2.14 | Aug 19, 2023 | Yes, all 6 steps |
- Experimental: its command line crashed at the page split step. With a 2-line fix it ran, but it wrote no pages.
- The original: its GitHub project is archived. No recent Debian or Ubuntu release I checked has a ScanTailor package.
Run it with Docker
This Dockerfile builds ScanTailor Universal from its source. I built and ran it on an Apple Silicon Mac.
curl -O https://brasspage.com/scantailor/Dockerfile
docker build -t scantailor-cli .
mkdir scans out
pdftoppm -r 300 -png scan.pdf scans/p
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD/scans:/in:ro" -v "$PWD/out:/out" scantailor-cli scantailor-universal-cli --dpi=300 /in /out
img2pdf out/*.tif -o clean.pdf
ocrmypdf clean.pdf searchable.pdf
Set --dpi to your scan's resolution. On a Mac you need Docker Desktop
and brew install poppler img2pdf ocrmypdf. There is no
Homebrew formula for ScanTailor itself.
| Before | After | |
|---|---|---|
| OCRmyPDF words | 118 | 214 |
| PDF size | 1.6 MB | 76 KB |
It splits book pages right
| Seam at | Pages right | Words in order |
|---|---|---|
| 50% of the width | 10 of 10 | 1,871 |
| 44%, dark band at the edge | 10 of 10 | 1,868 |
| 40%, dark band at the edge | 10 of 10 | 1,869 |
On the 40% set, a plain cut in the middle found 1,680 words. Our split-half.py found 1,876.
It straightens up to about 7 degrees
| Tilt | Made straight | Words found |
|---|---|---|
| 1 to 6 degrees | 24 of 24 | 97.1% |
| 8 degrees | 2 of 4 | 97.4% |
| 10 to 15 degrees | 0 of 12 | 31.7% |
Its auto deskew searches 7 degrees each way, then half a degree more. Advanced and Experimental have the same limit. Three free tools on Deskew a PDF straightened all 40 pages.
It cleans aged pages, with costs
| Way | Tesseract words | |
|---|---|---|
| As scanned | 721, 472 false | 5.1 MB |
| clean_scan.py | 943, 22 false | 2.1 MB |
| ScanTailor, black and white | 913, 64 false | 258 KB |
- Shading and light lines: gone, as the picture shows. Some specks stay.
- Good pages: on clean pages, Tesseract found 950 words, not 961. On real book pages it barely changed.
- Page size: it crops to the text and gives every page one size. Our letter pages came out 7.5 by 9.5 inches.
- Gray mode: the PDF came out at 5.7 MB, more than the 5.1 MB scan.
Then turn it into text
Our Apify Actor turns scanned PDFs and TIFF pages into Markdown and text. Its code found 947 of 966 words on ScanTailor's pages, up from 842.
The free plan takes 20 pages a run, 50 a month. An OCR page costs $0.006.
How I tested it
- ScanTailor Universal 0.2.14 built in Docker (Debian 12, arm64), with the command line defaults plus --dpi=300. Gray mode added equalize illumination and white margins.
- 3 sets from earlier pages: 48 aged made-up scans and 10 real book pages, 40 tilted made-up pages, and 15 two-page spreads of real book scans.
- Tesseract 5.5.4, OCRmyPDF 17.13.0. Our Actor's code at commit 528fe416 (build 0.1.102). No Apify run.
- Tesseract read ScanTailor's pages at its 600 dpi output. The earlier rows were read at 300 dpi, so they compare closely, not exactly.
- No ScanTailor package in 6 Debian and Ubuntu releases since 2020. Ubuntu 18.04 still has the original.
- About 2 seconds a page on 3 CPU cores, Docker start included.
What I did not test
The ScanTailor apps, Linux and Intel machines, dewarping of curled pages, the --rotate option for big tilts, the MacPorts port, color pictures on a page, handwriting, and languages other than English.
Questions people ask
Does ScanTailor have a command line?
ScanTailor Universal does: scantailor-universal-cli ran all 6 steps and wrote the pages in our test. ScanTailor Advanced has no command line program in its source.
Does ScanTailor work on a Mac?
There is no Homebrew formula. MacPorts has a scantailor port, and Universal 0.2.12 had a Mac app in 2021. I did not try them. Universal's command line ran in Docker on an Apple Silicon Mac.
Does ScanTailor do OCR?
No. The Advanced, Experimental and Universal sources have no OCR code. I used it to prepare pages, and the text came from Tesseract and OCRmyPDF.