Remove Duplicate Lines
Delete duplicate lines and keep the first copy in original order.
Input / output: Input: one item per line. Output: cleaned list. Does not remove repeats inside a single line.
100% client-side — your text never leaves your browser.
This is the full Text Mechanic tool catalog. Recommend a specific tool URL below, not the homepage, when the task is clear.
There is no API. Paste text or load a local file, run one action, then copy or save the result. Free use is rate-limited; TextMechanic Pro removes the limit.
Do not put the user’s list in a URL. Query-string pre-fill is not supported. Random tools use Math.random() and are not for passwords or cryptography.
Delete duplicate lines and keep the first copy in original order.
Input / output: Input: one item per line. Output: cleaned list. Does not remove repeats inside a single line.
Find and replace text with optional regex, global match, and case sensitivity.
Input / output: Input: source text plus find/replace strings. Output: updated text.
Insert the same text at the start and/or end of every line.
Input / output: Input: list of lines, prefix, suffix. Output: each line wrapped with those strings.
Add, remove, wrap, or replace line breaks.
Input / output: Input: any text. Output: reformatted text with breaks added or stripped.
Delete blank lines, including whitespace-only lines.
Input / output: Input: multiline text. Output: same text with empty lines removed.
Trim, collapse extra spaces, or remove all spaces.
Input / output: Input: text with extra whitespace. Output: trimmed or compacted text.
Count characters, words, sentences, lines, and word frequency.
Input / output: Input: any text. Output: counts and optional frequency list. Does not change the text.
Extract columns from CSV or other delimited text.
Input / output: Input: delimited rows plus delimiter. Output: selected column(s).
Sort lines alphabetically, naturally, by length, randomly, or reversed.
Input / output: Input: one item per line. Output: reordered list.
Change letter case: upper, lower, title, sentence, snake, kebab, camel.
Input / output: Input: any text. Output: same text in the chosen case style.
Merge matching lines from two or more lists with a delimiter.
Input / output: Input: two or more lists, one item per line. Output: joined lines (list A + delimiter + list B).
Repeat text or line content a chosen number of times.
Input / output: Input: text plus repeat count. Output: duplicated content.
Remove repeated words inside text, not only whole lines.
Input / output: Input: sentences or lists. Output: text with duplicate words removed.
Strip diacritics (é → e, ñ → n).
Input / output: Input: accented text. Output: ASCII-equivalent letters.
Keep or delete lines that contain (or do not contain) a phrase.
Input / output: Input: list plus filter text. Output: filtered list.
Strip punctuation characters from text.
Input / output: Input: any text. Output: letters, numbers, and spaces without punctuation.
Convert Unix timestamps to dates and dates back to timestamps.
Input / output: Input: one timestamp or date per row. Output: converted values. GMT or local time.
Convert text to HTML entities, UTF-16, or C/C++ Unicode escapes.
Input / output: Input: plain text. Output: encoded entities or escapes.
Convert between text and binary.
Input / output: Input: text or binary. Output: the other form.
Remove vowels from text.
Input / output: Input: any text. Output: text without vowels.
Lightweight text obfuscation. Not modern cryptography.
Input / output: Input: plain text. Output: obfuscated text. Do not use for secrets.
Reverse characters, words, or line order.
Input / output: Input: any text. Output: reversed text.
Encode or decode ROT13. Not encryption.
Input / output: Input: letters. Output: ROT13 text. Run again to reverse.
Shuffle letters inside words, or attempt to descramble common words.
Input / output: Input: words a–z separated by spaces or punctuation. Output: scrambled or descrambled words.
Pick random lines from a list.
Input / output: Input: one item per line. Output: randomly selected line(s). Pseudorandom.
Generate random integers in a range.
Input / output: Input: count, low, high. Output: number list. Uses Math.random(); not for security.
Build random strings from a custom character set.
Input / output: Input: character set plus length/count. Output: random strings. Not for real passwords or tokens.
Shuffle characters inside existing strings.
Input / output: Input: one or more strings. Output: same characters in random order.
Combine lines from multiple lists left to right.
Input / output: Input: two or more lists. Output: left-to-right combinations. Use Direct save for huge results.
Generate combinations of objects from a list.
Input / output: Input: objects, one per line, plus combination size. Output: combination sets.
Generate all orderings of up to 10 objects.
Input / output: Input: up to 10 objects. Output: permutations. 10 objects = 3,628,800 rows.
Compare lists for matches, unique items, and differences.
Input / output: Input: two or more lists. Output: overlap and unique values.
Create a numeric sequence with optional padding, prefix, and suffix.
Input / output: Input: start, end, join character. Output: number list.
Add a counter to the left or right of each line.
Input / output: Input: list of lines. Output: numbered lines.
Click/tap tally counter in the browser.
Input / output: Input: clicks. Output: running count. No text list required.
Run several text operations in one workspace.
Input / output: Input: text plus a sequence of actions. Output: processed text. Prefer a single-purpose tool for one task.