Home › Text Tools › Remove URLs from Text

Remove URLs from Text

Paste any text and every web link is removed: http and https URLs, www addresses and bare domains like example.com. Optionally remove email addresses, @mentions and hashtags too, keep the text of Markdown links, and let the tool tidy the spacing.

Last updated:

Enter your values to see the result.
Advertisement
Advertisement

How to use the Remove URLs from Text

  1. Paste your text into the box.
  2. Choose what to remove: web links, bare domains, emails, @mentions or hashtags.
  3. Pick a replacement: nothing, [link] or custom text.
  4. Check the removed items table to confirm what was taken out.
  5. Copy or download the clean text.

Examples

InputResult
See https://example.com/guide.See.
Photos: www.example.org/gallery, more soonPhotos, more soon (or “Photos: [link], more soon” with the [link] replacement)
Read the [checklist](https://example.com/list)Read the checklist
Visit maps.example.net for mapsVisit for maps
(details at https://example.com/a_(b))(details at)
Open report.pdf and app.jsUnchanged: file names are not domains

Tips

  • Use the [link] replacement when the sentence needs to stay grammatical, for example “More at [link]”.
  • Turn on emails and @mentions to anonymize chat logs and comments before sharing them.
  • To keep the links and remove only tracking parameters, use the URL Tracking Remover instead. To collect the links into a list, use the URL Extractor.
  • Check the removed items table: if something that is not a link was matched, untick bare domains.

Frequently asked questions

What kinds of links are removed?

Full URLs that start with http://, https:// or ftp://, addresses that start with www., Markdown links [text](url), HTML <a> links, and, with the bare domains option, addresses without a prefix such as example.com or shop.example.co.uk/sale.

Will it remove the period at the end of a sentence?

No. Punctuation at the end of a link, such as a final period, comma, question mark or a closing bracket without a matching opening bracket, is treated as part of the sentence and kept.

How does it avoid removing normal words as domains?

Bare domains are only matched when they end in a known domain ending such as .com, .org, .net, .io or a common country code, and when the dot is not followed by more letters. Common file names like report.pdf or script.js are therefore left alone.

Can I keep the link text of Markdown or HTML links?

Yes, that is the default: [full checklist](https://…) becomes “full checklist” and <a href="…">our shop</a> becomes “our shop”. Untick the option to remove them completely.

Can it remove email addresses, @mentions and hashtags?

Yes. Each has its own checkbox. Emails are recognized before domains, so turning emails off leaves addresses like [email protected] intact.

Why would I remove URLs from text?

Common reasons are cleaning social posts or chat logs for analysis or AI training data, preparing quotes or transcripts for print, removing tracking links from copied newsletters, and anonymizing text before sharing.

Is my text uploaded?

No. Everything runs in your browser and your text never leaves your device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

URL ExtractorExtract every link from text or HTML, remove duplicates, filter by domain or protocol.URL Tracking RemoverStrip utm, fbclid, gclid and other tracking parameters from one link or hundreds at once.Strip HTML TagsRemove HTML tags and get clean plain text with line breaks and decoded entities.Remove Emojis from TextStrip every emoji, flag, skin tone and ZWJ sequence from text, with a count of what was removed.Online Word ProcessorFree browser word processor with headings, lists, tables and images. Autosaves; export DOCX or PDF.Remove Line BreaksStrip line breaks and extra spaces, keep paragraphs if you want.Sort Lines AlphabeticallySort a list A-Z, Z-A, numerically, naturally or by length, or shuffle it.Case ConverterConvert text to UPPERCASE, lowercase, Title Case, camelCase and more.MLA Format GeneratorBuild an MLA 9 heading, title page layout and Works Cited entries.Lorem Ipsum GeneratorGenerate placeholder text as paragraphs, words or lists, with HTML.Text RepeaterRepeat any text or emoji up to 100,000 times with custom separators.Find and Replace TextFind and replace words or regex patterns in any text, with match highlighting and undo.Add Line NumbersNumber every line of your text with custom start, step, padding and separator, or remove numbers.Add Prefix and Suffix to LinesAdd text to the start and end of every line: quotes, commas, bullets or SQL lists.Comma SeparatorTurn a column of lines into a comma separated list and back, with any delimiter.Text to Handwriting ConverterTurn typed text into realistic handwriting on notebook paper and save it as PNG or PDF.Japanese Kana ConverterConvert romaji to hiragana or katakana, kana to romaji, and hiragana to katakana instantly.Pinyin Tone ConverterTurn pinyin tone numbers (ni3 hao3) into tone marks (nǐ hǎo), or tone marks back into numbers.Remove Duplicate LinesDelete duplicate lines from any list, ignoring case or spaces, keep first or last, and sort.Remove Extra SpacesClean up double spaces, tabs, blank lines, non-breaking and invisible spaces in one click.Random Word GeneratorGenerate random English words by type, length, first letter and syllables, then copy them.List RandomizerShuffle a list into random order, pick random items or split it into fair teams.Email ExtractorPull every unique email address out of text or files, sort, filter by domain and export CSV.Online NotepadPrivate notepad that autosaves notes in your browser, with find, word count and .txt download.Remove PunctuationStrip all or only selected punctuation from text, with smart options for apostrophes and numbers.Text SplitterSplit long text into chunks by characters, words, lines or a delimiter, with numbering and copy.Remove AccentsStrip accents and diacritics from text (é→e, ñ→n, ß→ss, ø→o) instantly, live as you type.Sort NumbersPull numbers out of any text and sort them ascending or descending, with sum, average and median.Thread SplitterSplit long text into numbered X, Threads, Bluesky or Mastodon posts at sentence boundaries.Duplicate Word FinderFind repeated words in your text: doubled words like "the the" and overused words, highlighted.Alternating Caps GeneratorTurn text into aLtErNaTiNg caps, random caps or alternating words, then copy it.Random Paragraph GeneratorGenerate readable random English paragraphs by topic and length for writing and design.Random Sentence GeneratorGenerate random grammatical sentences: simple, compound, complex and questions.Markdown to Plain TextStrip Markdown syntax and keep clean plain text with lists, line breaks and link URLs.SRT to TextTurn SRT or VTT subtitles into a clean transcript with paragraphs, with or without timestamps.Transcript CleanerRemove timestamps, speaker labels and filler words like um and uh, and fix broken line breaks.Extract Numbers from TextPull every number out of text: decimals, negatives and percentages, with sum, average and CSV.Extract Phone NumbersFind phone numbers in any text, normalize them to E.164, remove duplicates and export CSV.Remove Numbers from TextStrip all numbers and digits from text, keep MP3-style words or ordinals, and tidy the spaces.Return Policy GeneratorCreate a return and refund policy for your store as text or HTML, with a refund example.Screenplay FormatterType a script in plain text (Fountain) and get a properly formatted screenplay, page count and PDF.Word ChangerSwap words for synonyms in your text, then click any word to cycle through alternatives.Words That End WithFind English words ending in any letters or suffix, filtered by length and sorted by score.Annotated Bibliography GeneratorBuild an APA or MLA annotated bibliography with hanging indents and download it as DOCX.EPUB to Text ConverterExtract plain text from EPUB e-books, pick chapters, count words and download a TXT file.Extract Dates from TextFind every date in text, in any common format, and convert them all to one format you choose.Extract Text Between DelimitersPull out every piece of text between brackets, quotes, HTML tags or your own start and end markers.Recipe Shopping List GeneratorPaste several recipes and get one combined grocery list with merged amounts, by store section.One Word Per LineSplit any text into a list with one word per line; strip punctuation, dedupe, lowercase and sort.Recipe FormatterPaste a messy recipe and get clean ingredients, numbered steps, scaling and a printable card.Remove Words from TextDelete a list of words or phrases from any text and see how many times each one was removed.Reverse Line OrderFlip the order of lines, list items or paragraphs so the last becomes first.Pairwise Sequence Alignment ToolAlign two DNA or protein sequences, global (Needleman-Wunsch) or local (Smith-Waterman), with identity %.Sort Lines by LengthSort lines from shortest to longest or the reverse, with ties sorted A-Z and lengths shown.Sort Words AlphabeticallyPut the words in any text in A-Z or Z-A order, remove duplicates and pick a separator.Sentence SplitterSplit text into one sentence per line, smart about abbreviations, decimals and quotes.Text to Table ConverterTurn tab, comma, pipe or space separated text into a table to copy as rich text, Markdown or plain text.Text TruncatorShorten text to a character, word or sentence limit without cutting words, with an ellipsis.Bulk Find and ReplaceApply a whole list of find → replace pairs to your text at once, with a per-pair change log.Contraction ConverterExpand contractions (don't → do not) for formal writing or contract phrases for a casual tone.Count Duplicate LinesCount how many times each line appears, sorted by frequency, with duplicates-only and CSV export.Double Space TextAdd blank lines between lines or paragraphs (1.5, double, triple spacing) or remove them again.Em Dash ReplacerReplace em and en dashes with commas, hyphens or periods and normalize ellipses and fancy punctuation.Extract Domains from URLsPull hostnames or root domains out of URL lists, strip www, dedupe and count links per domain.List to Sentence ConverterTurn a list into a natural sentence with commas and “and” or “or”, with an Oxford comma toggle.Merge Lines Side by SideCombine two to four lists line by line with any separator, padding or filling uneven lengths.Remove Line NumbersStrip leading numbers like 1., 1), [1] or code line numbers from every line and keep the text.Remove Stop WordsStrip common stop words (the, and, of…) from text in 7 languages to reveal the keywords.
See all 96 Text Cleaning & Formatting →