Skip to main content
6NN6C SEO & GEO research
Web tool Free No sign-in requiredMobile friendly

Text Cleaner

Tidy keyword and URL lists

A small tool for tidying keyword lists, URL lists and log exports: remove duplic…

Needs
The text to clean
You get
Text with duplicates, blank lines and extra spaces removed

Start here

When to use it

Day-to-day SEO work involves a lot of "half-dirty" text: keyword lists exported from GSC or Ahrefs with duplicate lines, URLs grepped out of logs mixed with blank lines, content pasted from spreadsheets full of extra spaces. This tool does all three jobs in one pass.

How to use it

  1. Paste the text into the input box on the left
  2. Tick what you need: clear empty lines / remove duplicate lines / collapse extra spaces (all on by default)
  3. Click "Clean up"; the result appears on the right and can be copied in one click

Processing rules

  • Collapse spaces: consecutive spaces and tabs within a line become one space, and leading and trailing whitespace is removed (runs before the other rules)
  • Clear empty lines: removes every empty line
  • Remove duplicate lines: keeps the first occurrence of each line and deletes later identical lines (case-sensitive)

Limits

  • Duplicates are judged by "the whole line is identical", so https://a.com/ and https://a.com (one slash apart) count as two lines — normalizing URLs before deduplication is a different problem
  • Processing happens in browser memory: tens of thousands of lines are fine; for logs of hundreds of MB, use command-line tools

Frequently asked questions

How is this different from removing duplicates in Excel?

No spreadsheet needed: paste and it's done. It suits plain text copied from logs, export files or keyword tools that you want to clean quickly before using.

Do two lines that differ only in letter case count as duplicates?

No. Deduplication compares whole lines exactly; to ignore case, convert everything to the same case first.

Is there a line limit?

It runs locally in the browser, so tens of thousands of lines are usually fine; if it slows down, process in batches.