July 2025 Update: Things have changed a lot in a year, so I've posted an update for 2025.
Hi everyone,
I was recently tasked with finding a solution to perform OCR on handwriting in forms (timesheets in my case, but this could also be applied to other handwritten forms and handwritten surveys, for example). Since I didn't find a comprehensive guide prior to doing my own research, I thought it could be useful if I shared my results here.
I hope this summary is helpful for anybody else on a similar search. YMMV, and all of these services offer free trials to test your own documents against. If I have missed any, please add them to the comments, or let me know and I can add them.
Quick summary.
The best results came from Handwriting OCR. This provided near-perfect transcriptions of the test subject, and extracted structured data too. It also had the best UI and direct export to Excel.
The test.
I took a sample image showing a basic timesheet with handwritten text. I ran this image through as many OCR services as I could find that claimed to offer handwriting to text OCR, and compared the results. I was looking not only for accuracy in transcribing the handwriting to text, but also the ability to extract the data in a structured form, either as JSON, or as a spreadsheet (CSV or Excel).
Notes.
Here's a list of the services I tried, and my notes as I went along. Most are online OCR services offering handwriting to text conversion. Also some large language models like GPT-4. I have also attached screenshots from some of these services to highlight what was good and bad.
Transkribus
Tested at: https://www.transkribus.org
/preview/pre/mfwdkpblxs0d1.png?width=1444&format=png&auto=webp&s=688665be8959c16083f48b52a7202f5f7e0379fe
This is one of the most well-known services offering handwriting recognition, with a focus on historical documents. As tested, the handwriting recognition was surprisingly poor, with lots of mistakes and non-words. Transkribus does offer the possibility to train on a particular style of handwriting (maybe useful if you have a lots of documents from one source), but for processing lots of documents where each document has handwriting from a new source, it looked like the handwriting to text conversion was too error-prone. This made it a non-starter for me.
Google Document AI
Tested at: https://cloud.google.com/document-ai?hl=en#demo
I expected this to be the best of all, considering Google's massive investment in AI. I tested it through the demo here. Although Google Document AI does offer extraction of table data, the results were not great, with too many transcription errors. Based on these results, I would need to carefully review each extracted table for structure and content - not great. Aside from the demo page, there is no prebuilt UI so this would need a developer to integrate into my workflow.
Strengths
Weaknesses
API only, requires developer to create a UI to process and download results.
Table extraction was inaccurate.
Handwriting recognition was not perfect.
Microsoft Azure AI
Tested at: https://azure.microsoft.com/en-us/products/ai-services/ai-document-intelligence
Azure Document AI
Like Google, Azure is one of the leaders in AI and document automation. I expected good results and in this case I was not disappointed. Azure read all handwriting correctly, and provided a correctly-formatted table containing this data. The downside for me, similar to Google AI, is that there is no UI provided (besides a demo portal) so this needs to be built from scratch by a development team.
Pen to Print
Tested at: https://www.pen-to-print.com/handwriting-to-text-online-ocr
Pen to Print - transcription is good but no structured data.
This is a popular iOS and Android app that also has a web app too. The handwriting recognition was good, but the output was not in a structured form so the results are of limited use for my purposes.
Handwriting OCR
Tested at https://www.handwritingocr.com
HandwritingOCR - the best results, including all the data I wanted from the form.
Offers handwriting OCR and table data extraction, so this looked promising. Results were outstanding in my test - the transcription was error-free, and a separate tab allowed me to view and download the table data in Excel format. This is all provided inside a web UI with API access available.
Strengths
Excellent result - the best overall.
Extracts both key-value pairs and tables together.
Export directly to Excel.
Web UI was easy to use.
Inexpensive.
Weaknesses
Nanonets OCR
Tested at: https://nanonets.com
Nanonets - incomplete data and transcription errors.
Offers a whole range of OCR services, including handwriting to text. At first glance, it looked impressive and I had high expectations of a good result. In my test, Nanonets managed to extract the table but with numerous handwriting transcription mistakes, so the result was only partially useful.
Google Cloud Vision AI
Tested at: https://cloud.google.com/vision/docs/drag-and-drop
Not to be confused with Google Document AI, though the transcription was in fact better. This service does not offer table data extraction though.
ChatGPT
Tested at: https://chatgpt.com and via API
I tried OpenAI's GPT 4 with Vision through both the API and ChatGPT. I found it can deliver very impressive handwriting to text conversion, but it also suffered from hallucination, and it could not reliably extract structured data. I also had problems with latency and timeouts when calling it through the API.
Strengths
Weaknesses
Quite expensive and slow.
Tends to invent (hallucinate) text.
Would not reliably extract data in structured form.
Claude AI
Tested at https://claude.ai
Similar to GPT-4, I tried both Claude Sonnet and Opus. The results were ok but suffered from the same problems as GPT-4 - hallucination, and the unreliability of data extraction. Opus is really expensive, too.
Google Gemini Pro
Tested at: https://gemini.google.com/
Much worse than GPT-4, not worthy of further consideration at this point.