Need to translate text from images, screenshots, or any on-screen content? Screenshot2Translate lets you capture any screen region, extract the text using OCR, and translate it to over 100 languages — all with a few clicks.
Screenshot2Translate combines Optical Character Recognition (OCR) with translation, allowing you to extract and translate text from images, software interfaces, PDFs, or any non-selectable text on your screen.
What You’ll Learn
- How to install Screenshot2Translate on Windows
- Configure Tesseract OCR with language support
- Capture and translate screen regions
- Choose source and target languages
Key Features
- Region Capture: Select any part of your screen to capture
- 100+ Languages: Translate between virtually any language pair
- Tesseract OCR: Industry-standard text extraction engine
- Clipboard Copy: One-click copy translated text
- Retry Function: Quickly recapture and retranslate
Installation (Windows)
Option 1: Portable Executable (Recommended for Quick Start)
📖 Download and Install
-
Download Required Files:
- Download from Google Drive: Screenshot2Translate Files
- You’ll need both:
tesseract-ocr-w64.exe(OCR engine)screenshot2translate.exe(the application)
-
Install Tesseract OCR:
- Run the
tesseract-ocr-w64installer - During setup, select the languages you need (e.g., English, Bengali, Arabic, etc.)
-
💡 TipInstall all languages if you’re not sure — it ensures maximum compatibility.
- Run the
-
Launch the App:
- Double-click
screenshot2translate.exe - The application will use Tesseract to extract text from your screenshots
- Double-click
Option 2: Run from Source (For Developers)
If you prefer running from Python source:
# Clone the repository
git clone https://gitlab.com/krafi/screenshot2translate.git
cd screenshot2translate
# Install Python dependencies
pip install pillow pytesseract translate pyautogui
# Install Tesseract OCR
# Download from: https://github.com/UB-Mannheim/tesseract/wiki
# Run the application
python main.py
Make sure to add Tesseract to your system PATH, or update the path in the code.
How to Use
Step 1: Select Languages
Choose your source (input) language and target (output) language from the dropdown menus.
Step 2: Capture Screenshot
Click the “Retry” button to enter screenshot capture mode. Your screen will dim — click and drag to select the region containing the text you want to translate.
Step 3: View Translation
The OCR engine will:
- Extract all text from the selected region
- Translate it to your target language
- Display the results in the application
Step 4: Copy or Retry
- Click “Copy” to copy translated text to clipboard
- Click “Retry” to capture a new region
For best OCR results, ensure the text in your screenshot is clear and high-resolution. Blurry or low-contrast images may produce inaccurate text extraction.
Why Choose Screenshot2Translate?
📖 Key Advantages
- Accurate OCR: Powered by Tesseract, the most widely-used open-source OCR engine
- Wide Language Support: From English to Bengali, Arabic to Japanese — over 100 languages supported
- User-Friendly: Simple interface, no technical knowledge required
- Fast Workflow: Capture → Extract → Translate → Copy in seconds
- Portable Option: No installation needed — just run the .exe
Use Cases
- Language Learning: Translate text from foreign websites, apps, or documents
- Software Localization: Extract and translate UI strings from applications
- Research: Translate text from images, screenshots, or PDFs
- Business: Quick translation of foreign documents or communications
Troubleshooting
📖 OCR text not being recognized?
- Ensure Tesseract is properly installed with language data
- Make sure the screenshot is clear and text is readable
- Try increasing contrast in your screenshot
- Check that you’ve selected the correct source language
📖 Application won't start?
- Verify Tesseract OCR is installed
- Check that Python dependencies are installed (if running from source)
- Try running as administrator
- Ensure you have the latest version of the .exe
📖 Translation is inaccurate?
- The OCR may have misread the original text — try capturing again with clearer text
- Ensure you’ve selected the correct source and target languages
- Some language pairs may have better accuracy than others
- Consider using higher resolution screenshots
Source Code
View the full project: Screenshot2Translate on GitLab
Screenshot2Translate is perfect for anyone who needs to quickly translate text from images or non-selectable content. Whether you’re learning a new language, doing research, or working with foreign documents, it makes translation fast and effortless.
Start translating today!
Discussion
0 commentsJoin the Discussion
Sign in to post comments and join the conversation.
No comments yet. Be the first to share your thoughts!