Text tools
Everyday fixes for messy text and lists: clean it, sort it, compare it, pull things out of it, or change its case.
63 tools
Clean text
Remove duplicates, blank lines, extra spaces and stray characters.
Remove Duplicate Lines
Delete repeated lines and keep one copy of each.
Remove Empty Lines
Remove lines that contain nothing at all.
Remove Blank Lines
Remove empty lines and lines that only contain spaces or tabs.
Trim Whitespace
Strip leading and trailing spaces from every line.
Remove Extra Spaces
Collapse repeated spaces into a single space.
Remove Special Characters
Keep letters, numbers and spaces; remove symbols and emoji.
Remove Numbers
Delete digits and numbers from text.
Remove Punctuation
Strip punctuation marks such as . , ! ? and quotes.
Text Cleaner
Fix spacing, empty lines, invisible characters and smart quotes in one pass.
Text Formatter
Fix line breaks, paragraph spacing, wrapping and punctuation spacing.
Remove Line Breaks
Join lines into one paragraph, or keep paragraphs and fix broken lines.
Chain Tools
Run several cleaning tools one after another in a single step.
Lists
Compare, merge and tidy lists with one item per line.
List Cleaner
Trim, dedupe, sort and normalize a list in one step.
Compare Two Lists
Compare two lists and find what’s shared and what’s different.
Find Common Items
Find the items that appear in both lists.
Only in List A
Items in List A that are missing from List B.
Only in List B
Items in List B that are missing from List A.
Unique Items
Show only the items that appear exactly once in a list.
Find Duplicates
List the lines that appear more than once, with counts.
Find Differences
List the items that appear in only one of two lists.
Merge Lists
Combine two lists into one, with duplicates removed if you like.
Pick Random Lines
Choose one or more random items from a list — for giveaways, raffles or sampling.
Sort lines
Order lines alphabetically, by number, by length or at random.
Sort Lines
Sort lines alphabetically, by length or by number.
Sort A → Z
Sort lines alphabetically from A to Z.
Sort Z → A
Sort lines in reverse alphabetical order.
Sort by Length
Order lines by how many characters they contain.
Shortest → Longest
Put the shortest lines first.
Longest → Shortest
Put the longest lines first.
Sort Numerically
Sort lines by the first number they contain.
Reverse Lines
Flip the order of lines, last line first.
Shuffle Lines
Put lines in a random order.
Extract
Pull emails, links, phone numbers and more out of any text.
Extract Emails
Find every email address in your text.
Extract URLs
Find every http and https link in your text.
Extract Phone Numbers
Find phone numbers in common international and local formats.
Extract Hashtags
Collect every #hashtag from posts and captions.
Extract Mentions
Collect @mentions and handles, ignoring email addresses.
Extract Numbers
Pull integers and decimal numbers out of text.
Extract Domains
Get the domain names from a list of URLs.
Extract Words
List the words in your text, one per line.
Change case
UPPERCASE, lowercase, Title Case, camelCase and more.
Convert Case
Switch between UPPERCASE, lowercase, Title Case and more.
UPPERCASE
Convert every letter to capitals.
lowercase
Convert every letter to small letters.
Title Case
Capitalize headlines, keeping minor words like "and" lowercase.
Sentence case
Lowercase text and capitalize the start of each sentence.
Capitalize Words
Capitalize the first letter of every word.
Invert Case
Swap uppercase and lowercase letters.
aLtErNaTiNg CaSe
Alternate between lowercase and uppercase letters.
camelCase
Turn phrases into camelCase identifiers, one per line.
PascalCase
Turn phrases into PascalCase names, one per line.
snake_case
Turn phrases into snake_case, one per line.
kebab-case
Turn phrases into kebab-case, one per line — ideal for URLs and CSS classes.
CONSTANT_CASE
Turn phrases into CONSTANT_CASE (screaming snake case).
Edit & replace
Find and replace, add prefixes, numbering, quotes and commas.
Find & Replace
Replace words or patterns, with match case, whole word and regex options.
Add Prefix
Add text to the start of every line (and optionally the end).
Add Suffix
Add text to the end of every line (and optionally the start).
Add Line Numbers
Number every line with your own start, step and separator.
Remove Line Numbers
Detect and strip numbering like "1.", "1)", "[1]" or "01 -".
Add Quotes
Wrap each line in double quotes, single quotes, backticks or your own.
Remove Quotes
Strip quotes surrounding each line, or every quote mark.
Add Commas
Add a comma to each line, or join lines into a comma-separated list.
Remove Commas
Delete commas, trailing commas, or split comma-separated values into lines.
Count & analyze
Count words and characters, and find the most common words.
Word & Character Counter
Count characters, words, sentences and reading time.
Word Frequency
See which words appear most often.
Pick the job, not the tool
Text tools are grouped by what you want to do. Cleaning removes things you don’t want (repeated lines, blank lines, stray spaces). List tools compare and merge lists. Extractors find emails, links and numbers. Case tools change capitalisation. Each tool does one job and shows exactly what changed.
Your text stays in your browser
Text tools run on your device. What you paste is kept in the page’s memory only and disappears when you close the tab — it is never uploaded or saved by TextVix.
Helpful guides
How-to
How to Remove Duplicate Lines
Remove duplicate lines from a list or text file in seconds — online with TextVix, in Excel, in Google Sheets, or on the command line.
How-to
How to Clean Text
Fix messy text: extra spaces, broken line breaks, blank lines, invisible characters and smart quotes. A practical step-by-step cleanup guide.
How-to
How to Compare Two Lists
Compare two lists to find items in both, items missing from one, and everything that differs. Online, in Excel and Google Sheets, and on the command line.
Related categories
Questions about text tools
How much text can I paste?
Up to tens of millions of characters. Very large inputs are processed in a background worker so the page stays responsive.
Can I run several cleanups at once?
Yes. Chain Tools runs several cleaning, sorting and conversion steps one after another in a single click.

