An online language identifier is a tool for identifying the language of a text. Such a tool works with samples written in Roman script as well as those written in foreign scripts and characters.
Language identifiers detect unknown language by comparing it to previously identified samples in a database. These tools vary in the number and types of languages they are able to successfully identify. The process works best when working with longer text, so some of the free online tools require samples of least five sentences.
Both Microsoft BIng Translator and the Google Translate app use a language identifier tool for automatic language detection. Use other online language identifiers for free at Xerox.com, Lextex.com and WhatLanguageIsThis.com, and compare the output to get the best results.