Screenshot2Translate: Translate Text from Screenshots with OCR

Learn how to translate text from screenshots using OCR. Screenshot2Translate captures screen regions, extracts text with Tesseract, and translates to 100+ languages. Complete installation and usage guide.

Rafi
Written by Rafi
📅
Published June 1, 2023
⏱️
Read Time 2 min
📊
Difficulty Beginner

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.

ℹ️ Info

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)

📖 Download and Install
  1. Download Required Files:

    • Download from Google Drive: Screenshot2Translate Files
    • You’ll need both:
      • tesseract-ocr-w64.exe (OCR engine)
      • screenshot2translate.exe (the application)
  2. Install Tesseract OCR:

    • Run the tesseract-ocr-w64 installer
    • During setup, select the languages you need (e.g., English, Bengali, Arabic, etc.)
    • 💡 Tip
      Install all languages if you’re not sure — it ensures maximum compatibility.
  3. Launch the App:

    • Double-click screenshot2translate.exe
    • The application will use Tesseract to extract text from your screenshots

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
⚠️ Warning

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:

  1. Extract all text from the selected region
  2. Translate it to your target language
  3. 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
💡 Tip

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?
  1. Ensure Tesseract is properly installed with language data
  2. Make sure the screenshot is clear and text is readable
  3. Try increasing contrast in your screenshot
  4. Check that you’ve selected the correct source language
📖 Application won't start?
  1. Verify Tesseract OCR is installed
  2. Check that Python dependencies are installed (if running from source)
  3. Try running as administrator
  4. Ensure you have the latest version of the .exe
📖 Translation is inaccurate?
  1. The OCR may have misread the original text — try capturing again with clearer text
  2. Ensure you’ve selected the correct source and target languages
  3. Some language pairs may have better accuracy than others
  4. Consider using higher resolution screenshots

Source Code

View the full project: Screenshot2Translate on GitLab

💡 Tip

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!

Knowledge Check

Test your knowledge about Screenshot2Translate and OCR translation

Discussion

0 comments
Reading Progress
4 min left 0%
Welcome back! Sign in to join the discussion.

Please verify your email to sign in.

Enter the 6-digit code from your verification email.

Didn't receive the email?

Remember your password?

Create an account to comment and join the community.
Letters, numbers, and underscores only

Check your email! We've sent a verification code.

Enter the 6-digit code to complete your registration, or click the link in your email.

Didn't receive the email?

Wrong email?

Enter your email address and we'll send you a code to reset your password.

Remember your password?

Enter the 6-digit code from your email and create a new password.

Didn't receive code?

Welcome aboard!

Your account has been created successfully.

Welcome back! Sign in to join the discussion.

Please verify your email to sign in.

Enter the 6-digit code from your verification email.

Didn't receive the email?

Remember your password?

Create an account to comment and join the community.
Letters, numbers, and underscores only

Check your email! We've sent a verification code.

Enter the 6-digit code to complete your registration, or click the link in your email.

Didn't receive the email?

Wrong email?

Enter your email address and we'll send you a code to reset your password.

Remember your password?

Enter the 6-digit code from your email and create a new password.

Didn't receive code?

Welcome aboard!

Your account has been created successfully.