Language Detector
Pricing
from $0.05 / 1,000 results
Language Detector
Detect the language of one or multiple text inputs. The actor provides the detected language in standard codes along with confidence scores for each candidate language. It is optimized for both short and long texts, supports batch processing, and delivers results quickly and reliably.
Pricing
from $0.05 / 1,000 results
Rating
0.0
(0)
Developer

Andrey Kurilov
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Share
Language Detector 🌍
Detect the language of any text with high precision. This tool is perfect for organizing datasets, cleaning scraped data, and routing content based on language.
What does Language Detector do?
The Language Detector is a simple yet powerful tool that identifies the language of any text you provide. Whether it's a single word, a sentence, or a long paragraph, this Actor returns the language name, its unique ISO code, and a confidence score.
It is designed to be a "plug-and-play" solution: you just provide the text, and it handles the rest. You can use it as a standalone tool or integrate it into your automated workflows on the Apify platform to process thousands of records in minutes.
Why use Language Detector?
In a world of global data, knowing the language of your content is the first step to processing it.
- Filter Scraped Data: Automatically separate English reviews from German ones or remove content in languages you don't support.
- Improve Accuracy: By using a specialized detection engine, you get far better results than simple dictionary lookups or basic scripts.
- Scale Your Operations: Process huge datasets without manual intervention.
- Integrate Everywhere: Use the Apify API to call this detector from your own applications or other Actors.
What data can Language Detector extract?
This Actor provides a structured dataset for every piece of text it analyzes:
| Field | Description | Example |
|---|---|---|
| Text | The original text provided for analysis | "Bonjour tout le monde" |
| Language | The full name of the detected language | French |
| ISO Code | The standard two-letter language code | FR |
| Confidence | A score from 0 to 1 indicating detection certainty | 0.98 |
How do I use Language Detector?
Using this tool is straightforward even if you have no coding experience:
- Find the Language Detector in the Apify Store.
- In the Input tab, paste the text you want to analyze into the "Text to detect" field.
- (Optional) If you expect only certain languages, add them to the "Target languages" list to help the tool be even more precise.
- Click the Run button.
- Once finished, go to the Storage tab to see your results as a table or download them as JSON, CSV, or Excel.
Pricing
The Language Detector is highly efficient and optimized for the Apify platform. It consumes Compute Units (CU) based on the volume of text processed.
Because it doesn't require complex browser automation or proxies, it is one of the most cost-effective ways to process language data. You can expect to process thousands of sentences for a very small amount of CUs. On a standard Apify Free plan, you can easily analyze large batches of data every month.
Input Examples
You can provide a single line of text or a longer paragraph.
{"text": "The quick brown fox jumps over the lazy dog.","languages": ["en", "de", "fr"]}
Output Example
The results are pushed to your dataset in a clean, structured format:
{"text": "The quick brown fox jumps over the lazy dog.","language": "ENGLISH","iso_code": "EN","confidence": 1.0}
FAQ & Support
Is it legal to use this tool?
Our detectors are ethical and do not extract any private user data. They only process the text that you provided to them. We believe that this tool, when used for ethical purposes by Apify users, is completely safe. However, you should not process personal data unless you have a legitimate reason to do so. If you're unsure, consult your legal team.
Can I use this through an API?
Yes! Every Apify Actor comes with its own API endpoint. You can send text to this Actor and receive the results directly in your own app or service.
What if the language is not detected?
If the text is too short or uses a language not supported by the system, the result will be marked as UNKNOWN. Providing more text usually improves accuracy.
For any bugs or feature requests, please use the Issues tab on the Actor's page.