Handwritten text recognition (HTR) is the branch of AI that reads joined-up and historical handwriting, from Victorian letters and parish registers to wartime diaries, and turns it into searchable text. It is harder than ordinary OCR, which is designed for printed pages, and the best tools all depend on models trained on handwriting similar to yours. Here are the best options for a Windows or Linux PC, from a no-setup web service to fully local engines that use your graphics card.
Quick picks
Pick | Best for | Runs | Cost |
|---|
Transkribus | Best overall, easiest start | Cloud (web browser) | Free plan with 50 credits a month; paid plans |
eScriptorium | Best free self-hosted platform | Your own PC or server (Docker or full install) | Free, open source |
Kraken | Best free command-line engine | Linux, macOS, Windows via WSL | Free, open source |
Loghi | Best for large batch jobs on Linux with an NVIDIA GPU | Linux via Docker | Free, open source |
For printed books, typed documents and receipts, you probably don't need HTR at all; see our best free OCR software guide instead.
1. Transkribus: best overall
Transkribus is a hosted platform run by READ-COOP, a cooperative that says it has more than 250 co-owners. You upload a scan or phone photo in your browser and choose a model; the website says it supports more than 100 languages and has more than 300 community AI models, including models for difficult historical scripts such as German Kurrent and French cursive. It also offers an editor for correcting results, layout detection, custom model training, table and field recognition, and publishing searchable collections online.
The Free plan includes 50 credits a month. Handwritten text recognition costs 1 credit per page, so that's about 50 pages a month. Paid annual Scholar and Team plans add more credits, API access and priority processing, and the Scholar plan adds Text Titan II, which the company calls its most accurate model. Prices are listed in euros including Austrian VAT, so check the current cost in pounds on its plans page.
Choose it if you want the quickest route from scan to text and are happy for your images to be processed on the company's servers, which it says are in Austria.
eScriptorium, part of the Scripta project at Université PSL in Paris, with contributors including EPHE, Inria and the Archives nationales de France, is an open-source web application for transcribing, annotating, translating and publishing historical documents. It uses the Kraken engine for recognition, and according to Kraken's README it adds a user-friendly interface for annotating data, training models and running recognition.
You install it yourself, either with Docker or as a full local install, on Linux, macOS or Windows through WSL. It's a server application with a database and search engine behind it, so setup takes more effort than an ordinary desktop program. In return, there are no page limits and nothing leaves your own hardware.
Choose it if you have a large collection, need your documents to stay private, or want to train models on your own corrected pages.
3. Kraken: best free command-line engine
Kraken, also from EPHE-PSL, is the engine underneath eScriptorium, and you can use it on its own. Its README describes it as "a turn-key OCR system optimized for historical and non-Latin script material", with trainable layout analysis and recognition, right-to-left and vertical script support, and ALTO, PageXML and hOCR output. Freely licensed models are downloaded from a public repository with kraken get. One example is McCATMuS, which its Zenodo record says was trained on more than 180 manuscripts in seven languages, including English, covering handwritten, printed and typewritten documents from the 16th century onwards.
Kraken runs on Linux and macOS, so Windows users run it in WSL. It uses the CPU by default and can use an NVIDIA GPU with --device cuda:0 or Apple Silicon with --device mps. Our step-by-step guide shows how to transcribe handwriting locally with Kraken.
Choose it if you're comfortable in a terminal and want to batch-process folders of scans without running a server.
4. Loghi: best for big batch jobs with an NVIDIA GPU
Loghi is an open-source HTR toolkit, published on GitHub under the knaw-huc organisation, made of three parts: Laypa for layout analysis and baseline detection, Loghi HTR for transcription and Loghi Tooling for pre- and post-processing. The README recommends Docker with pre-built images and downloadable models, and recommends GPU acceleration for faster processing, especially for large datasets, using NVIDIA's Docker GPU support.
It's the most specialised pick. The README says Loghi works best on Linux, that running it on Windows through WSL is possible but not recommended, and that Macs aren't currently supported.
Choose it if you run a Linux machine with an NVIDIA graphics card and have a large archive to process.
What hardware do you need?
For Transkribus, any PC with a web browser will do. For the local tools, the processor and graphics card matter more as collections get bigger:
A few pages at a time: Kraken runs on the CPU by default, so any reasonably modern PC can handle occasional transcription.
Hundreds or thousands of pages, or training your own models: an NVIDIA GPU is the best-supported option. Both Kraken and Loghi document NVIDIA (CUDA) acceleration, and Kraken's documentation warns that larger recognition batches use more VRAM. A 16GB card such as the MSI RTX 5060 Ti 16GB Ventus 2X OC Plus gives more memory headroom than a 12GB card like the ASUS RTX 5070 12GB Dual OC. See how much VRAM you need for wider advice.
Windows PCs: Kraken, eScriptorium and Loghi are all Linux-first, so set up WSL2 with GPU support first; our WSL2 GPU guide walks you through it.
Good input matters as much as hardware. Scan or photograph pages flat, square-on and evenly lit, and always proofread names, dates and places against the original, because no HTR tool is error-free.
How we chose
We looked for tools built specifically for handwriting rather than general OCR, with official documentation we could check, an active public project or service, and a realistic route for UK home users as well as institutions. We have not run accuracy tests, and none of these projects publishes figures that would let us rank them on accuracy for every kind of handwriting. If you can, try the same few pages in two tools before committing a whole collection.