On this page
A link can reveal more than the page you want someone to see. Its address may include an email address, a search query, an account identifier, or other details you did not mean to share. Use this checklist to inspect a link, remove unnecessary information, and check whether the cleaned version still works.
Key Takeaways
- Check the whole URL—not just the part after the domain—for personal details.
- Query parameters, path segments, and fragments can all contain sensitive information.
- Remove only values the page does not need; deleting parameters may break the link.
- When possible, test the cleaned link in a private or signed-out session.
- Cleaning a link does not undo earlier collection or make you anonymous.
Inspect the entire address
A URL can contain several parts: the domain, a path, query parameters after ?, and a fragment after #. Look at each part before you share the link.
For example, this search link includes the search terms in a query parameter:
https://example.com/search?q=medical+test+results
The page might work without those terms, but removing them could also change what the recipient sees. Another link might put an email address in the path:
https://example.com/invite/alex@example.com
Check for details such as:
- Search terms:
q=,query=, or similar parameters may contain names, health questions, or other sensitive text. - Email addresses and names: These may appear in a query value, a path segment, or occasionally the part before
@in a URL authority. - Account or record identifiers: A URL may contain a username, customer number, document ID, or other identifier in its path or parameters.
- Fragments: Text after
#may hold application state or sensitive values. A fragment is not normally sent to the website as part of the HTTP request, but it remains in the link you share and page scripts can read it. - Tracking values: Parameters such as campaign or click identifiers may identify a visit or referral. They are not necessarily personal information on their own, but consider whether they are needed.
Do not assume a parameter is safe just because its name looks generic. Inspect its value, too. URL-encoded text can look like %40 instead of @, or %20 instead of a space.
Advertisement
Remove only what is unnecessary
First, identify the page or item the recipient needs to reach. Then remove values that are not needed for that purpose. For example, a search page may need its search query to show the same results; an account invitation may need an identifier to open the correct invitation. If you remove a required value, the link may stop working, show a different page, or ask the recipient to sign in.
You can edit a copied link in the browser’s address bar or a text editor. For a link like:
https://example.com/search?q=private+question&utm_source=mail
removing the search parameter leaves:
https://example.com/search?utm_source=mail
But this still includes a tracking parameter. If the page works without the query string, a simpler version may be:
https://example.com/search
That version may show a blank search page rather than the results. Check the page’s behavior rather than assuming that shortening the URL preserves its purpose. A [URL Cleaner](URL Cleaner) can help remove URL components, but review the result yourself; an automated cleanup cannot know which values are necessary for a particular page.
Test the cleaned link
When the link is meant to work for someone else, test it before sending:
- Copy the cleaned URL into a private or incognito window, or use a signed-out browser session.
- Check that it opens the intended page and does not depend on your logged-in account.
- Confirm that it does not display your personal details or a page containing information you did not mean to share.
- If it fails, restore only the parameter or path value needed for the intended page, then consider whether sharing that value is acceptable.
Private browsing helps reveal some sign-in and session dependencies, but it does not simulate every recipient’s account, device, or permissions. A document or account link may still be accessible only to people who have been granted access.
Advertisement
What link cleanup does—and does not—do
A shared URL can expose information to people who receive it, and URL values may also be recorded by websites or services that handle the link. The exact collection and disclosure depend on the site, its tools, and how the link is used. Removing a value from the copy you plan to share does not erase copies already sent, browser history, or records that may already have been collected.
Cleaning one URL also does not make you anonymous. The destination may still identify you through a signed-in account, cookies, or other information. If a link grants access to a private resource, changing its visible text or removing a tracking parameter does not revoke that access. Use the site’s sharing and access settings when you need to control who can view something.
Common Mistakes
- Checking only the domain: Personal details can appear in the path, query, or fragment.
- Deleting the entire query string without testing: The page may need a parameter to show the right result or resource.
- Assuming an encoded value is harmless: Encoded text can still represent an email address, search term, or identifier.
- Treating every identifier as secret—or every one as harmless: Consider what it identifies and what someone could do with the link.
- Assuming a cleaned link erases the original: Cleanup changes the link you share, not records or copies that may already exist.
Best Practices
- Inspect the full URL before sharing, especially links copied from search, account, invitation, or document pages.
- Remove unnecessary personal values and tracking parameters, but preserve components the recipient needs.
- Test the result in a private or signed-out session when appropriate.
- For private content, check sharing permissions separately; a tidy URL is not an access-control measure.
- If the link contains a sensitive detail that is not needed, share the public page or a fresh, appropriately permissioned link instead.
Conclusion
Before sharing a link, scan its path, query, and fragment for details you would not want included in a message. Remove only what is unnecessary, test the result, and remember that URL cleanup cannot undo prior collection or replace privacy and access controls.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.