AhmetCanArslan

TextGrab

TextGrab turns anything on an Android screen into selectable, copyable text using on-device OCR, with optional in-place translation.

v3.2
Published at
2d ago
173
Stars
6.5k
Download

Latest release

v3.2Dec 3, 2026, 03:20 PM
Downloads slow? Switch the source anytime above

README

Project Overview

TextGrab turns any text on screen into something you can select and copy, and it does so by running OCR on the device: a capture is recognised by ML Kit, with no Google Play services involved. It is effectively iOS Live Text brought to Android, plus in-place translation.

Item Value
Platform Android 8.0 or newer
Recognition On-device ML Kit, Tesseract for Arabic
Translation About 60 on-device languages plus 5 engine types
Package name com.arslan.textgrab
License MIT, with proprietary Google ML Kit SDKs

Whatever you can see you can select, without the screen leaving the device to be recognised.

Key Features

  • Three entry points: the OCR screenshot quick-settings tile, sharing an image to TextGrab, or the Camera button on the home screen
  • Select and act: tap a word or drag a selection to copy, share or search, and the translate button replaces every line in place, tap again for the original
  • QR codes: codes in the image are outlined beside the text, and tapping one reads, copies, shares or opens its content
  • Assistant gesture: set TextGrab as the digital assistant to capture with a long-press on home, after turning off Circle to Search
  • Translation engines: on-device ML Kit, DeepL, Google Cloud, any OpenAI-compatible endpoint, and Claude

How It Works

  1. Enable TextGrab screen capture under accessibility settings; the service only takes screenshots
  2. Drag the OCR screenshot tile into quick settings
  3. Tap the tile or long-press home to capture, then tap a word or drag a selection to copy, or press translate
  4. Long-press the translate button to pick another target language

Target Audience

  • Users who need text out of videos, games and images
  • Readers who want instant translation over foreign interfaces
  • Privacy-conscious users who avoid cloud OCR

Install and Permissions

  • Below Android 11: the first capture asks for the system capture permission and keeps a notification while it is on
  • Camera: the only runtime permission, requested when Camera is first opened, and photos are not kept
  • Cloud engines: DeepL, Google Cloud, Claude and LLM endpoints all require your own API key
  • adb access: adb shell am broadcast --receiver-foreground -a com.arslan.textgrab.action.CAPTURE -p com.arslan.textgrab triggers a capture, and adb shell am start -n com.arslan.textgrab/.CameraActivity opens the camera

System Requirements

Item Requirement
OS Android 8.0 or newer
Recognised scripts Latin, Chinese, Japanese, Korean, Arabic
On-device translation About 60 languages, roughly 30 MB per language pack
Network Only for language packs or cloud engines

Notes

  • Cyrillic and Devanagari unsupported: Russian and Hindi are not recognised yet
  • Arabic is slower: it runs through Tesseract on every capture, and is enabled by default when the phone's languages include Arabic, Persian or Urdu
  • Captures are never saved: both screen grabs and camera photos live in memory only
  • Coexists with the original: the separate package name allows installing beside upstream notune/TextGrab

Release history

Sort