Cleaning up tokens in URL in Safari

If I want to share a link from Safari, is there an easy way to strip out all the tokens(?) in the URL? I am manually deleting all the goop but there must be an easier way.

Even better if there is a way to do it on MacOS (Big Sur) and iOS and iPadOS.

1 Like

I thought StopTheMadness had some of this functionality. Could be wrong, but worth a look.

1 Like

I have Keyboard Maestro macro that removes tracking tokens from the URL on the clipboard. There’s also a Shortcuts version that works on macOS, iOS and iPadOS.