A text comparing method is adapted for comparing a query file with an existed file. The text comparing method includes: obtaining a first intermediate file by irreversibly converting the existed file, the first intermediate file including a plurality of characters, and the number of the different characters is a predetermined value; receiving a second intermediate file which is the file irreversibly converted from the query file; and, according to a predetermined length, comparing the second intermediate file with the first intermediate file, by a high repeating-characters comparison method, to output a comparison result. |