Text tool

Extract Lines Containing

Paste text, enter a literal search value, and extract the matching lines locally.

In-browser processingNo account requiredPrivacy details ↗

Maximum 100,000 characters. Line text is preserved exactly; processing stays in this browser.

Search uses literal text; regular expressions are not used.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste or type text.
  2. Enter the literal text to find and choose case sensitivity.
  3. Click Extract matching lines, then review or copy the result.

Literal matching

The search value is matched as plain text. Regular-expression syntax has no special meaning, and matching can be case-sensitive or case-insensitive.

Lines and empty queries

Line text is preserved exactly, including spaces and blank lines. An empty search value returns the original text unchanged. LF, CRLF, and CR line endings are accepted; output uses the first newline style found.

Local processing

Text processing and copying happen in this browser tab. No text is uploaded.

GOOD TO KNOW

Common questions

Is the search a regular expression?

No. The search value is always treated as literal text.

What happens when the search value is empty?

The original text is returned unchanged, including its lines and newline style.

Are spaces and blank lines preserved?

Yes. Matching lines are returned without trimming, and blank lines are kept only when they match an empty query.

Are line endings supported?

Yes. LF, CRLF, and CR are accepted; output uses the first newline style found.