G
GoTool

Text Processor

Deduplicate, sort, filter & transform text lines

Lines: 0Chars: 0Words: 0Unique: 0

About Text Processor

A versatile text line processor for developers. Quickly deduplicate, sort, filter, trim, add line numbers, join/split lines, and more. Perfect for cleaning log files, processing CSV data, preparing lists, and everyday text manipulation. All processing runs locally in your browser.

Frequently Asked Questions

What does 'Natural Sort' do?

Natural sort orders text the way humans expect: file2 comes before file10, unlike alphabetical sort where file10 would come first. It treats embedded numbers as numeric values.

Can I use regular expressions to filter lines?

Yes, check the 'Regex' checkbox and enter a regular expression pattern. 'Keep Matches' retains only matching lines, while 'Remove Matches' deletes them.

How does Join/Split work?

Join combines all lines into a single line using the specified delimiter (e.g., comma). Split does the opposite — it breaks a single line into multiple lines by splitting on the delimiter.