Blog
Text tools

Extract lines that contain Latin letters

Paste a mixed-language text and this tool keeps only the lines that contain at least one Latin letter — handy for pulling English lines, product codes or URLs out of a document written mostly in another script. Turn on invert to keep the lines with no Latin letters instead.

Your data never leaves this device

Result

Lines matched

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Match rule A line matches if it contains at least one letter a–z or A–Z
Default direction Lines with at least one Latin letter are kept
Invert mode Lines with no Latin letters at all are kept instead
Character set Only the 26 basic Latin letters count; accented Latin letters are not included
Order Matching lines keep their original relative order
Processing Runs locally in the browser; nothing is uploaded

When it misleads you

How it is calculated

The text is split into lines on every line break. Each line is tested against a simple rule: does it contain at least one character from a-z or A-Z?

By default, lines that pass the test are kept, and the rest are dropped. With invert switched on, the logic flips: lines with no Latin letters are kept, and lines with any Latin letter are dropped.

The surviving lines are re-joined with a single line break each, preserving their original order from the input.

The counter reports how many lines matched the active rule, whichever direction is selected.

Questions and answers

Does it detect accented Latin letters like é or ñ?

No, the check only looks for the 26 basic unaccented letters a-z and A-Z. A line containing only accented letters and no plain Latin letters won't match.

What happens to lines with a mix of scripts?

Any line with at least one plain Latin letter matches, even if the rest of the line is in Cyrillic or another script — the check only needs one qualifying character.

How do I get the lines that have NO Latin letters instead?

Turn on the invert option. The tool then keeps every line with zero Latin letters and drops the ones that have at least one.

Will digits or numbers make a line match?

No, digits are not letters. A line made only of numbers and punctuation, with no actual letters, never matches this filter.

Is my text uploaded anywhere?

No. Everything runs in your browser and the text never leaves your device.

Related tools

All tools