Persian text cleaner
Fix Arabic letters, Persian spacing and stray spaces in one pass.
Text tools
Text tools
Remove repeated and empty lines from a list, and sort it alphabetically or by number if you like.
This tool runs entirely inside your browser. No file or text is sent to any server.
Of several identical lines, the first one stays and the later copies are removed. The order of the lines does not change either, unless you choose a sort.
An empty line is never counted as a repeat. Unless “Remove empty lines” is on, every empty line, such as the gap between paragraphs, stays where it is.
Two lines count as the same only when they are the same character for character. The tool does not guess: an Arabic “ي” and a Persian “ی”, or a half-space and a space, are different things. If your list was put together from several places, first tidy it with the Persian text cleaner.
Alphabetical sorting follows the letter order of the page’s language and reads a number inside a line as a number, so “file 2” comes before “file 10”. In a numeric sort the whole line must be one number; lines that are not numbers come after the numbers, in alphabetical order.
Your text is processed only in your own browser and is never sent or saved anywhere.
Fix Arabic letters, Persian spacing and stray spaces in one pass.
Text tools
Count words, characters, lines and estimated reading time.
Text tools