Skip to content

Online Text Line Editor

Clean up keyword lists, URLs, tags or any line based text with one of sixteen operations, then copy or download the result.

Loading the tool

The sixteen operations you can apply

Each run applies one operation to every line, so you always know exactly what changed.

Remove duplicate lines
Keeps the first copy of each line and drops exact repeats, preserving the original order.
Sort A to Z or Z to A
Alphabetical order using natural English sorting rather than raw character codes.
Sort shortest or longest first
Orders lines by length, with ties settled alphabetically, ideal for spotting long tail keywords.
Reverse the order
Flips the list so the last line comes first.
Trim each line and remove blank lines
Strips spaces from both ends of every line, or drops empty and space only lines entirely.
lowercase, UPPERCASE, Title Case and Sentence case
Four case styles for headings, tags and product names.
Find and replace
Swaps every occurrence of exact text on every line. Leave the replacement empty to delete the text.
Add a prefix or suffix
Puts the same text at the start or end of every non empty line.
Number each line
Adds 1., 2., 3. and so on to the front of each line.

How to edit a list of lines

  1. Paste your text

    One entry per line: keywords, URLs, email addresses, product names or anything else.

  2. Pick an operation

    Choose from the list. Find and replace asks for the text to find, and prefix or suffix asks for the text to add.

  3. Run it and review the counts

    Lines In, Lines Out and Lines Changed tell you at a glance what the operation did.

  4. Copy, download or chain

    Copy the result or save it as a text file. To combine steps, paste the output back in and run the next operation.

One run handles up to 200,000 characters and 5,000 lines.

Reading the result

Lines In
How many lines your pasted text had, blank lines included.
Lines Out
How many lines remain. A lower number after removing duplicates or blanks shows how much was cleaned out.
Lines Changed
Lines rewritten, removed or moved to a new position. Zero means the text was already in the shape you asked for.
Edited text
The full output, ready to copy or download as a plain text file.
Cut short notice
Appears when the input went past the line limit, so only the first part was processed.

Everyday list problems and the operation that fixes them

  • Keyword export full of repeats

    Fix: Run Remove duplicate lines. If repeats differ only by case, run lowercase first, then remove duplicates.

  • Duplicates that look identical but are not removed

    Fix: Hidden spaces at the ends of lines make them different. Run Trim each line first, then remove duplicates.

  • Gaps left by blank lines after copying from a spreadsheet

    Fix: Run Remove blank lines to close the gaps in one step.

  • Need the same tracking parameter on every URL

    Fix: Use Add a suffix with the parameter text, such as ?ref=newsletter, to append it to every line.

  • Inconsistent capitals across product titles

    Fix: Apply Title Case for headings or Sentence case for descriptions to make the list uniform.

Who reaches for this editor

  • SEO specialists cleaning keyword exports before research.
  • Store owners formatting product names and tags in bulk.
  • Developers tidying config lists, log lines or test data.
  • Marketers preparing contact or hashtag lists.

Order matters when you chain operations

Trim before you remove duplicates, and change case before you sort, or invisible differences will leave repeats in place and split similar lines apart in the sorted list.

Universal Text Editor FAQ

Short answers about the Universal Text Editor.

Yes. Apple and apple are kept as two lines. Run lowercase first if you want them treated as the same.