Guess a text’s language locally with franc, showing ranked ISO 639-3 candidates and relative scores.
Your input
Outputs are cleared when the input changes.
Result
Enter your data or use the example, then run the tool.
Worked example
The English sample produces an English candidate (eng). A three-character “the” input with the default minimum length returns und; emoji-only input also returns und.
Method
The pinned franc source compares script and trigram statistics and returns ranked ISO 639-3 candidates. The minimum length and optional language restriction are passed to francAll; the displayed length counts Unicode code points.
Limits
Input up to 200000 characters, 20 displayed candidates and 30 language filters. Scores are not probabilities; long mixed text can still be misclassified. This is neither translation nor reliable Traditional/Simplified Chinese detection.
Processing is local in a lazily loaded, fixed-source worker. Cancel or the four-second processing timeout terminates the worker; input is not sent to external services.
Your inputs stay on this device. Only optional, consented page visits are measured. Input values, files, filenames and processing logs are not sent to Analytics.
When switching languages, text, settings and selected files are temporarily kept on this device. Transfers are removed after restoring; interrupted transfers are cleaned up on a later visit. Inputs and files are never uploaded.