googletrans-py
Free Google Translate API for Python. Translates totally free of charge.
What it is and what it does
googletrans-py is a fork of the original googletrans library, updated to work with newer versions of httpx and httpcore. It provides a Python interface to Google Translate by reverse-engineering the web API, allowing you to translate text without needing an official API key or paying for a service. The package wraps HTTP requests to Google's translation endpoint and parses the responses.
The fork was created because the original project stalled at version 4.0.0rc1 (pre-release), and this version updates dependency compatibility. However, the maintainer explicitly states they have no intention to actively maintain the project and view it as a temporary workaround. Since the last release was over four years ago, there is significant risk that Google's service changes may have broken the underlying API calls.
Use it for:
- Quickly translate text snippets in a Python script without setting up Google Cloud credentials or handling billing.
- Build a simple chatbot or educational tool that needs to display content in multiple languages.
- Prototype a translation feature before committing to an official, paid API integration.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides free Google Translate API access for Python, enabling text translation without authentication or charges.
No. While the package is permissively licensed and has no known vulnerabilities, it is dormant (last release 1584 days ago), explicitly unmaintained, and reverse-engineers an undocumented API that Google may have changed. Use the official Google Cloud Translation API instead, or choose an actively maintained alternative if cost is the concern.
Install
googletrans-py on PyPI
pip
pip install googletrans-pyuv
uv add googletrans-pypoetry
poetry add googletrans-pyInstalling googletrans-py
Before you install
High install friction due to no runtime dependencies listed, but maintenance is dormant—last release was 1584 days ago. The package explicitly states the maintainer has no intention to actively maintain it and views this as a temporary solution.
License in practice
MIT license (permissive) means you can use, modify, and distribute the package freely with minimal restrictions, though you should retain the license notice.
Quickstart
pip install googletrans-py
from googletrans import Translator
translator = Translator()
result = translator.translate('Hello', src_language='en', dest_language='es')
print(result['text'])
Requires Python 3.7 or later. Google's translation service may rate-limit or block requests; this package reverse-engineers an undocumented API and is not officially supported by Google.
Verify before relying
- Whether the package currently works against Google's live translation service or if the API endpoint has changed since the last release.
- How reliably it handles rate limiting and whether it includes retry logic or backoff strategies.
- Whether httpx compatibility improvements mentioned in the description actually resolve all dependency conflicts in modern environments.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 1,584 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,878/month — #14,916 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: googletrans-py-4.0.0.tar.gz
Keywords: google, translate, translator
Tags
More Education packages
Sphinx generates professional documentation…
permissive · top 1,000 on PyPI
netaddrRepresents and manipulates IPv4, IPv6, MAC…
permissive · top 5,000 on PyPI
cuda-pythoncuda-python is a metapackage providing Pythonic…
unclear · top 5,000 on PyPI
cuda-coreProvides Pythonic APIs to access CUDA core…
permissive · top 5,000 on PyPI
googletransGoogletrans translates text and detects…
permissive · top 5,000 on PyPI
open3dOpen3D provides data structures and algorithms…
permissive · top 5,000 on PyPI
deep-translatorTranslates text between languages using…
permissive · top 5,000 on PyPI
translateTranslate text between languages via command…
permissive · top 15,000 on PyPI
google-cloud-translatePython client library for Google Cloud…
permissive · top 1,000 on PyPI
azure-ai-translation-textProvides a Python client for Azure's neural…
unclear · top 15,000 on PyPI
translatorsTranslators provides a unified Python interface…
copyleft · top 15,000 on PyPI
argostranslateArgos Translate is an open-source offline…
permissive · top 15,000 on PyPI
libretranslatepyPython client library for the LibreTranslate…
permissive · top 15,000 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI