Skip to content
Erik Vanek edited this page Nov 18, 2026 · 3 revisions

Preferences > OCR: turn handwriting into text and math.

Handwriting to text

  1. Under Handwriting recognition language, pick a language and download its model. You can delete it again later.
  2. In a note, select your handwriting with the select tool.
  3. Tap Convert to text in the selection menu.

The handwriting becomes an editable text box.

Handwriting to math

Turn a handwritten formula into editable LaTeX.

  1. Under Handwritten math, pick a model. Each one shows its download size, the RAM it needs and how fast it is. Download it once, then it works offline. The download keeps going if you close the app.
  2. Select the formula and tap Convert to math.
  3. The conversion runs in the background, so you can keep writing. Suggestions show up under the formula, tap one to use it.

To type or fix formulas, see Text and equations.

Teach Sponka your handwriting

Training doesn't change the model. Sponka learns how you write and uses that to correct what the model reads.

  1. Tap Train next to the model.
  2. Write the formula you see on the pad, the way you normally write, and tap Next.
  3. Repeat until you reach the number of formulas shown, then tap Finish. You can keep going, more formulas give better results.

Tip

Train right after you download a model. It makes Convert to math much more accurate for your handwriting.

Every training adds up, and you can train again any time. Past trainings are listed there and can be deleted.

When you fix a converted formula, Sponka learns from that too. When you download another model, Sponka offers to reuse the formulas you already wrote, so you don't have to write them again. Training syncs with Cloud Sync and is part of the settings backup.

Custom LLM API

Instead of an on-device model, you can send the handwriting to an AI model you pick, either a public one with an API key or one you host yourself. It must read images and use the OpenAI chat completions format, which most providers and self-hosted servers support.

  1. Choose Custom LLM API.
  2. Fill in the API URL, for example:
    • OpenAI: https://api.openai.com/v1
    • Gemini: https://generativelanguage.googleapis.com/v1beta/openai
    • Claude: https://api.anthropic.com/v1
    • OpenRouter: https://openrouter.ai/api/v1
    • Ollama: http://<computer>:11434/v1
  3. Add the API key (most self-hosted models don't need one) and the Model name.
  4. Tap Test. It sends a sample formula and shows what came back.

To convert without a network, pick a downloaded model under When offline, use. With no network, Convert to math uses that model instead of the API.

Warning

Your handwriting is sent to that server when you convert. The API key stays on the device. Use https for anything outside your home network.

Clone this wiki locally