Remove URLs
Detect and remove http(s)://... or www.... URLs from text. Useful for cleaning comments and messages before analysis.
—
Clean links before analyzing comments
You exported comments, reviews or a WhatsApp thread to count words, build a term cloud or run sentiment scoring, and a good share of the volume is links. Long addresses inflate the counts and say nothing about what the person actually wrote. Paste the text here and you get the version without links, with leftover spaces collapsed and the ends trimmed.
There are two patterns, and it helps to know where they stop: http or https followed by everything up to the first space, and www dot followed by everything up to the first space. Because the cut only ends at a space, punctuation touching the link goes with it. A sentence ending in an address loses its final period. A link in parentheses leaves the opening bracket alone, and a markdown link leaves the square bracket and the parenthesis behind.
What it misses: a bare domain with no scheme, like exemplo.com.br, stays in the text, and so do ftp addresses. The match is case sensitive, so a link typed in all caps slips through. Email addresses are preserved, which helps when you want to keep contacts and hurts if the goal was anonymizing. There is no option to replace a link with a placeholder, it is simply deleted. The text stays in your browser.
Frequently asked questions
Does it remove links without http, like exemplo.com.br?
Why did the final period disappear?
Can I replace each link with something like [link] instead of deleting it?
Related Tools
Remove Punctuation
Remove punctuation, special symbols or digits from text. Configure what to remove and see the result instantly.
Remove Extra Spaces
Remove double spaces, tabs and leading/trailing spaces from each line. Clean text copied from PDFs or web pages.
Remove Empty Lines
Remove all blank lines from a text. Option to also remove lines with only spaces. Instant result.