Non-ASCII line filter
Keep or remove every line that contains a character outside the standard ASCII range.
Non-ASCII line filter
Paste any text and this tool checks it line by line: each line either contains only standard ASCII characters (codes 0-127 — plain Latin letters, digits and punctuation) or it doesn't. In "Remove non-ASCII lines" mode, any line with even one character outside that range — an accented letter, emoji, curly quote, CJK character, or stray control byte — is dropped; everything else passes through untouched. Switch to "Keep only non-ASCII lines" to isolate exactly the unusual lines, which is often the faster way to find problems.
This cleanup tool solves recurring problems with logs and raw data exports: server logs where most lines are clean but a few got corrupted with mojibake, CSV exports where broken encoding left garbled bytes in some rows, or datasets that mix clean English records with script fragments you don't want to process. Rather than hunting manually or writing a script, paste the text and get a clean result immediately — or flip the mode to extract just the problem lines for inspection.
The tool checks every character in a line, not just the first, so a mostly-ASCII line with one embedded accent or symbol still counts as non-ASCII. Windows (CRLF) and Unix (LF) line endings are handled the same way. Files with hundreds of thousands of lines process in milliseconds — the tally shows exactly how many lines arrived, how many remain, and how many were filtered.
Everything runs locally in your browser. Your text never goes to a server, which matters for logs and data dumps containing hostnames, user data, or other details you'd rather not send anywhere. Copy the result, download it as .txt, or send it to another tool to continue cleaning.