Language Detector - ISO Codes & Confidence, Offline, Bulk avatar

Language Detector - ISO Codes & Confidence, Offline, Bulk

Pricing

from $0.80 / 1,000 text language detected

Go to Apify Store
Language Detector - ISO Codes & Confidence, Offline, Bulk

Language Detector - ISO Codes & Confidence, Offline, Bulk

Detects the language of each text, offline, with an ISO code and a confidence score. No API key. $0.0008 per text. Blank lines and repeats are free. Works from Apify MCP and the API.

Pricing

from $0.80 / 1,000 text language detected

Rating

0.0

(0)

Developer

Tidy Byte Tools

Tidy Byte Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a minute ago

Last modified

Features

Limited permissions

Share

Detect the language of each text, offline, with an ISO code and a confidence score. No API key. $0.0008 per text. Blank lines and repeats are free. Works from Apify MCP and the API.

Also searched as: ES: detectar idioma / PT: detectar idioma / DE: Sprache erkennen / FR: détecter la langue / JA: 言語検出

Example

Output from an actual run (offline, no API key):

textlanguageISO 639-1confidencereliable
The town library will open on Sunday from eleven in the morning to three in the afternoon.Englishen0.8969true
Bonjour, comment allez-vous aujourd'hui ? La bibliothèque ouvre dimanche.Frenchfr0.9866true
Hola, ¿cómo estás hoy? La biblioteca abre el domingo de once a tres.Spanishes0.7636true

Short text can be less certain. These three were all marked reliable.

Output

Each result is one row in the dataset (download it as JSON, CSV or Excel). These are the fields from a real run on the example input:

  • language (text). Example: English.
  • iso6391 (text). Example: en.
  • iso6393 (text). Example: eng.
  • confidence (number). Example: 0.352.
  • reliable (true/false). Example: false.
  • alternatives (list).
  • source (text). Example: list.
  • preview (text). Example: Hello, how are you today? I hope you are well..
  • chars (number). Example: 46.

Use it from an AI agent (Apify MCP)

An AI agent in Claude, Cursor or any client with the Apify MCP server can find this Actor by searching for "Language Detector" and call it as tidybytetools/language-detector. Input and output are plain JSON. Example input:

{
"texts": [
"Hello, how are you today? I hope you are well.",
"Bonjour, comment allez-vous aujourd'hui ?",
"Hola, ¿cómo estás hoy? Espero que estés bien."
]
}

The run returns the dataset rows described above.

Integrations: API, webhooks, n8n, Make and Zapier

Run it and get the results in one call. Save your input as input.json:

{
"texts": [
"Hello, how are you today? I hope you are well.",
"Bonjour, comment allez-vous aujourd'hui ?",
"Hola, ¿cómo estás hoy? Espero que estés bien."
]
}
curl -X POST "https://api.apify.com/v2/acts/tidybytetools~language-detector/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d @input.json

Python:

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("tidybytetools/language-detector").call(run_input={...}) # same fields as input.json
items = client.dataset(run["defaultDatasetId"]).list_items().items

Webhook when a run finishes. Open the Actor's Integrations tab, or create one with the API (POST https://api.apify.com/v2/webhooks):

{"eventTypes": ["ACTOR.RUN.SUCCEEDED", "ACTOR.RUN.FAILED"],
"condition": {"actorId": "gvKuVh4hRSbcADU7v"},
"requestUrl": "https://your-server.example/apify-hook"}

Your server gets the run ID and dataset ID, then reads GET https://api.apify.com/v2/datasets/{datasetId}/items.

No-code: use the official Apify app in n8n ("Run an Actor and get dataset"), Make or Zapier, pick tidybytetools/language-detector, and paste the same input.

AI agents (MCP): add https://mcp.apify.com/?tools=tidybytetools/language-detector to Claude, Cursor or any MCP client.

Safe to retry: it only reads what you send it and changes nothing on other sites, and bad or missing fields come back as clear warnings instead of a crash.

FAQ

How much does it cost? See the price on this page. It is pay per event. No API key. $0.0008 per text. Blank lines and repeats are free.

What if I send nothing? It runs a small example so you can see the output.

Can an AI agent use it? Yes. It works from the Apify MCP server and the Apify API.

Website and local versions

  • Website — Tidy Byte Tools product page

What it does

  • Detects the language of each text you paste, list, or load from a file.
  • Returns the language name, ISO 639-1 and ISO 639-3 codes, and a confidence score.
  • Lists a few close alternatives when the result is not a clear winner.
  • Marks short or mixed texts as less reliable.
  • Works offline. No API key is needed.

Price

You pay $0.0008 per unique text detected. Blank lines and repeats are free. There is no start fee from us. Apify adds its normal small platform cost. Set a max cost for the run and we stop there. We never charge for work we did not save.

How to use

  1. Paste text, add a list, or add file links.
  2. Click Start, or call this Actor from Apify MCP or the API.
  3. Get results in the Output tab.

Input

  • Texts: One text per line.
  • Or paste text: Paste one text, or many if you split by line.
  • File links: Links to text files. Each file is one text, unless you split by line.
  • How to split paste and files: Keep as one text, split on every line, or split on blank lines.

Example (before and after)

Before: pasted texts or file links. After: one row per unique text with an ISO 639-1 and 639-3 code, a confidence score, and alternative guesses. Short or mixed-language text gets an honest reliability flag. Blank lines and repeats are free.

Good to know

  • Very short texts (a few words) are harder to detect and may be marked not reliable.
  • Mixed-language texts may show more than one possible language.
  • This is a statistical guess from the text, not a human review.
  • Files up to 50 MB each.
  • Your data is only used for your run.
  • Made by Tidy Byte Tools. Questions? Open an issue on this Actor's page.

More tools from Tidy Byte Tools

These Actors work well together:

Free local tools (no Apify account needed): pdf-table-pull-lite, doc2md-lite, link-check-lite, md-chunk-lite, json-shaper-lite.

Website: https://tidybytetools.com. All Actors: apify.com/tidybytetools.