Tidy URL
A simple bookmarklet to tidy up URLs for easy sharing
Tidy URL removes unnecessary cruft in URLs such as UTM parameters and copies the link to your clipboard. This removes tracking info and makes links nicer to share.
To install Tidy URL, simply drag the TidyURL
link below into your bookmarks. Then click the bookmark to get a tidy URL and copy it to your clipboard.
Related
- Tidy Reader my bookmarklet for making web pages more readable.
- Obsidian Web Clipper for saving web pages to Obsidian.
Code
javascript:(function(){
const url = window.location.href;
const tidyUrl = url.split('?')[0];
navigator.clipboard.writeText(tidyUrl).then(function() {
window.location.href = tidyUrl;
}).catch(function() {
window.location.href = tidyUrl;
});
})();