What is handwriting recognition? How it works, OneNote, Goodnotes, Notability, and HMMs

What handwriting recognition is and how it works, whether it is AI, the best software, OneNote, Goodnotes and Notability features, HMMs, and building your own.

Presenting to a room
Presenting to a room

Key takeaways

  • Handwriting recognition converts handwritten text, from images or digital ink, into machine-readable text.
  • Modern systems are AI: neural networks such as CNN-RNN models with CTC or transformers read whole lines.
  • Online recognition uses pen strokes as you write; offline recognition reads scanned images, which is harder.
  • OneNote, Goodnotes and Notability recognise handwriting for search and conversion to typed text.
  • Build your own by fine-tuning a pretrained model such as TrOCR on labelled samples of your handwriting style.

Handwriting recognition is the technology that converts handwritten text into machine-readable text, either from pen strokes as you write on a tablet, called online recognition, or from photos and scans of handwritten pages, called offline recognition. Note apps use it to make handwriting searchable and convertible, and businesses use it to digitise forms. I work with OCR and document AI in the OCR and Speech Workspace and DocuLens AI, so this page covers how it works, AI, software, OneNote, Goodnotes, Notability, HMMs, and building your own.

What is handwriting recognition?

Handwriting recognition, also called handwritten text recognition, is the automatic conversion of handwriting into digital text. It powers searchable notes, form digitisation, postal address reading, cheque processing, and historical archive transcription.

Two settings differ greatly. Online recognition uses the sequence, timing and pressure of pen strokes on a tablet or phone, which gives rich information and high accuracy. Offline recognition only sees a static image of finished writing, as in a scanned exam paper, which is harder because stroke order is lost and image quality varies. Printed-text OCR is easier still, because characters are uniform. In India, handwriting recognition also has to cope with many scripts, such as Devanagari, and with notes that mix Hindi and English on the same line.

Is handwriting recognition AI?

Yes. Modern handwriting recognition uses machine learning, mostly deep neural networks trained on large collections of handwriting samples. Older systems used hand-designed features and statistical models such as hidden Markov models, which are also forms of AI.

Today's best systems use CNN and recurrent networks with connectionist temporal classification, or transformer models that read whole lines, and vision language models can read handwriting in context. These learn to handle the huge variety of handwriting styles. Accuracy still varies with writing neatness, language, script and image quality, so critical documents benefit from human review.

How does handwriting recognition work?

The system first finds where the writing is, splits pages into lines or words, normalises them for slant and size, then a neural network converts each line image or stroke sequence into a probability over characters, decoded into text, often with a language model to pick likely words.

For online ink, the input is a sequence of pen coordinates over time, which recurrent or transformer models process directly. For offline images, convolutional layers extract visual features first. CTC training lets models learn without marking where each character starts. Language models correct ambiguous characters, for example choosing "clear" over "cIear". Post-processing restores layout and punctuation.

What makes automatic handwriting recognition work, and what makes it hard?

It works because neural networks learn patterns from many writers' samples, generalising to new handwriting, and because context from language models resolves ambiguous letters. It is hard because handwriting varies enormously between people, letters connect in cursive, and scans add noise.

Specific challenges: segmentation of connected letters, inconsistent spacing, slanted and overlapping lines, crossings-out, mixed scripts such as Hindi and English together, rare words and names, and poor image quality. Systems improve with more varied training data, line-level rather than character-level recognition, and domain-specific vocabularies, such as medical terms. Doctors' handwriting remains a famously hard case.

What is the best handwriting recognition software?

For notes, Microsoft OneNote, Goodnotes, Notability, Apple Notes with Apple Pencil, Samsung Notes and Nebo have strong built-in recognition. For documents and images, Google Lens, Microsoft's and Google's cloud vision services, and vision language models handle handwriting well.

Choose by task: for converting your own tablet notes, the note app's built-in recognition is easiest; for digitising scanned forms at scale, cloud document AI services with handwriting support; for developers, Apple's Vision framework, Google ML Kit's digital ink recognition, or open models such as TrOCR. Test with samples of the actual handwriting you need to read. Measure accuracy on twenty or thirty real pages before choosing, since vendor demos usually show neat writing.

Does OneNote have handwriting recognition?

Yes. OneNote recognises handwriting so it can be searched, and its Ink to Text feature converts handwritten notes into typed text. Ink to Math converts handwritten equations into typed mathematical notation and can help solve them.

To convert, use the Draw tab's Ink to Text option after selecting your handwriting, or use the lasso selection tool and choose the conversion. Accuracy depends on neatness and language settings, so set the proofing language correctly for your notes. Search for words in handwritten notes works in many versions, making OneNote useful for students who write by hand on tablets.

What is handwriting recognition in Goodnotes?

In Goodnotes, handwriting recognition makes your handwritten notes searchable and lets you convert selected handwriting into typed text using the lasso tool. Recognition happens in the background for supported languages.

Set your handwriting recognition language in Goodnotes settings for best results. To convert, select handwriting with the lasso tool, tap the selection, and choose the convert option, then copy or insert the text. Search finds words in your handwriting across notebooks. Recognition quality improves with clear, consistent writing and correct language settings.

What is handwriting recognition in Notability?

Notability recognises handwriting so you can search your notes and convert handwriting to typed text. Handwritten words are indexed for search, and you can select writing and convert it to text to copy into other apps or documents.

Like other note apps, Notability works best with clear writing and the correct language set. Students often combine handwritten lecture notes with typed text, audio recordings and search. If conversion struggles with technical terms or mixed languages, correct the text manually after converting, or keep the handwriting and rely on search instead.

How can HMMs be used for handwriting recognition?

Hidden Markov models were the leading approach before deep learning. Each character is modelled as a sequence of hidden states emitting observed features from small slices of the image or pen trajectory, and words are recognised by finding the most likely sequence of character models with the Viterbi algorithm.

HMMs handle variable-length writing naturally and allow segmentation-free recognition of cursive text. Combined with language models, they powered many systems in the 1990s and 2000s. Their limitation is reliance on hand-crafted features and simplifying assumptions. Modern recognisers replaced them with neural networks trained with CTC, which learn features directly and achieve far lower error rates.

How do I make handwriting recognition software?

Start from a pretrained model and fine-tune it on your handwriting style rather than training from scratch. Collect line images with accurate transcriptions, fine-tune a model such as TrOCR or a CRNN, and evaluate with character error rate on held-out samples.

Also asked as: how to make handwriting recognition software

Steps:

  • Gather samples, including public datasets like IAM for English.
  • Segment pages into lines and label them carefully.
  • Fine-tune a pretrained recogniser with augmentation for slant and noise.
  • Add a language model or vocabulary constraints for your domain.
  • Evaluate character and word error rates.
  • Deploy with on-device options such as Apple's Vision framework or Google ML Kit for ink.

Always plan human review for important documents.

Sources

  1. Li et al., TrOCR: Transformer-based Optical Character Recognition (2021)arxiv.org
  2. Graves et al., Connectionist Temporal Classification (2006)cs.toronto.edu
  3. Google ML Kit, Digital ink recognitiondevelopers.google.com
  4. Apple Developer, Recognizing text in imagesdeveloper.apple.com
Pranjul Rathour
Pranjul Rathour
GenAI Engineer · India

GenAI engineer and AI product builder with 2+ years shipping production-grade AI systems: RAG pipelines, fine-tuned LLMs, hybrid retrieval and multi-modal apps across vision, speech and OCR, architected end to end from ingestion to deployment. Leads engineering for SCULT INDIA's 14-member team, founded the 500+ member TechVerse Enclave community and has mentored 200+ students. Three hackathon first prizes: Changethon 2025 (IIT Roorkee), Product Genesis at Vividhotsava 2025 (CSJMU) and BYTEBATTLE (MeetKats).

Open to GenAI roles, hackathon judging, mentorship sessions and guest talks at colleges. For campus sessions the inviting institution covers the visit end to end: travel (a First AC train ticket for journeys up to five hours, a flight for anything longer), accommodation, meals, and pickup and drop; the honorarium and workshop fees are negotiable on WhatsApp or on the call, and requests are welcome from institutions that can cover the visit this way. Email pranjulrathour41@gmail.com.

Keep reading

More on Vision, speech & OCR

All Vision, speech & OCR guides →
Campus talks · hackathon judging · mentoring

Want this as a live session at your college?

Open to GenAI roles, hackathon judging, mentorship sessions and guest talks at colleges. For campus sessions the inviting institution covers the visit end to end: travel (a First AC train ticket for journeys up to five hours, a flight for anything longer), accommodation, meals, and pickup and drop; the honorarium and workshop fees are negotiable on WhatsApp or on the call, and requests are welcome from institutions that can cover the visit this way.

Pranjul Rathour, GenAI engineer in India