This tool removes domain names and full URLs from your text. It gives you complete control with multiple modes: remove all domains, remove only specific ones, keep only the ones you allow, remove by extension, or replace them with a placeholder. It also supports filtering based on domain extensions.
Examples:
Remove All Domain Names
This mode removes all domain names and URLs, regardless of the format or extension. Whether a domain appears as a standalone string like "google.com", a subdomain like "chat.openai.com", or a full URL like "https://subdomain.example.co.uk/path", it will be completely stripped from the text. This is ideal when you want to sanitize a large block of user-submitted content and prevent any external linking or referencing. The example below includes multiple formats to show how all are eliminated, leaving only the surrounding context.
For your research, visit https://www.google.com and explore https://chat.openai.com/chat for AI assistance. You can also read more at docs.python.org or subscribe to newsletters at news.bbc.co.uk and https://www.cnn.com/latest.
For your research, visit and explore for AI assistance. You can also read more at or subscribe to newsletters at and .
Remove Only Specified Domains
This mode removes only the domain names that you manually specify, while leaving all other domains and URLs untouched. This is useful when you want to filter out known spam domains, remove certain competitors' URLs, or eliminate tracking domains while keeping useful ones. In this example, we chose to remove google.com
and cnn.com
. You'll see that other domains, such as openai.com
and bbc.co.uk
, are left intact, even if they're part of full URLs or subdomains.
You can search using google.com, but for AI research visit https://www.openai.com. Meanwhile, https://www.cnn.com and https://bbc.co.uk/news are great for current events.
You can search using , but for AI research visit https://www.openai.com. Meanwhile, and https://bbc.co.uk/news are great for current events.
Remove All Except Allowed Domains
This mode removes every domain except the ones you explicitly allow. It’s great when you only trust a small list of sources or want to whitelist specific domains in the text. Any domain not matching your allowed list will be completely removed, whether it appears in a raw form or inside a full URL. In this example, we only allow openai.com
and bbc.co.uk
. All other domains like google.com
, cnn.com
, and python.org
are stripped away.
For general searches try google.com. For AI research go to https://openai.com. News is available at https://bbc.co.uk and also at https://cnn.com. Python documentation can be found at docs.python.org.
For general searches try . For AI research go to https://openai.com. News is available at https://bbc.co.uk and also at . Python documentation can be found at .
Replace Domain Names with a Placeholder
This mode replaces all matched domain names with a custom placeholder like [DOMAIN]
. It's ideal when you want to anonymize URLs or preserve structure while hiding actual links. This includes plain domains, subdomains, and full URLs. You can customize the placeholder to anything — [REDACTED]
, [LINK]
, etc. The example below uses [DOMAIN]
to clearly show where each domain was located originally.
Check out the latest updates on www.google.com and explore deep learning models at https://openai.com/blog. For documentation, visit https://docs.python.org and check the archives at news.bbc.co.uk.
Check out the latest updates on [DOMAIN] and explore deep learning models at [DOMAIN]. For documentation, visit [DOMAIN] and check the archives at [DOMAIN].
Remove Domain Names by Extension
This mode lets you remove only domains that match specific extensions like .com
, .org
, .net
, etc. This is especially useful if you're cleaning up commercial links while leaving educational or government domains intact. In this example, we remove domains ending in .com
and .org
, while keeping others like .gov.uk
or .edu
untouched.
Popular sites include amazon.com, wikipedia.org, and https://www.google.com/maps. For academic resources, visit harvard.edu or https://nasa.gov. Government news is also available at https://gov.uk/news.
Popular sites include , , and . For academic resources, visit harvard.edu or https://nasa.gov. Government news is also available at https://gov.uk/news.
Remove Domains That Don’t Match Extension
This mode removes all domain names that do not match the extensions you specify. It’s like a whitelist by extension. If you only want to keep .gov
, .edu
, or .org
domains and eliminate all .com
, .net
, etc., this mode is for you. In the example, we keep only domains ending in .gov
and .edu
, removing everything else.
Our main sources include nasa.gov, mit.edu, and cnn.com. We also used google.com and example.net for additional info. Public archives were accessed via archive.org and university.edu/records.
Our main sources include nasa.gov, mit.edu, and . We also used and for additional info. Public archives were accessed via and university.edu/records.