~/rxliuli_
~/projects/linkpure app

LinkPure

Copy a link, get a clean one.

Links you copy are full of utm_ tags, fbclid, affiliate IDs, redirect wrappers and short links. LinkPure strips them out, so what you paste is just the link. Native on each platform, with the same rules everywhere.

$ brew install --cask rxliuli/tap/linkpure

macOS 15 or later · iOS 17 or later · Android · Free and open source

The LinkPure rules window on macOS, listing custom regex rules next to the built-in rules

One rule library, three platforms

Each platform works the way its system allows.

macOS

Lives in the menu bar and watches the clipboard. Copy a link anywhere and it's cleaned before you paste, with a notification saying what changed. Nothing to do after setup.

iOS

iOS doesn't let apps read the clipboard in the background, so LinkPure adds a Clean URL Text action to Shortcuts. The app walks you through a shortcut you can run from Control Center, Back Tap or Siri.

Android

Select text anywhere and choose Clean URL Text from the selection menu. The clipboard is never touched.

Works out of the box

Over 1,000 built-in rules, drawn from ClearURLs and Linkumori.

Strip tracking parameters

utm_*, fbclid, gclid, Amazon affiliate tags, YouTube si and feature, and social media tracking codes.

Unwrap redirects

Google /url?q= links, Facebook's link shim, Reddit outbound links and email tracking links resolve to the real URL.

Expand short links

Links from t.co, bit.ly, TinyURL, goo.gl, lnkd.in and other shorteners are followed to where they actually go.

Only when it changes

If a link is already clean, LinkPure leaves the clipboard alone, so copied rich text isn't flattened and Universal Clipboard isn't triggered for nothing.

Your own rules

Write rules with regular expressions, test them against any URL, and import or export them as JSON.

  • Search elsewhere. Rewrite google.com/search?q=… to DuckDuckGo.

  • Shorts as videos. Turn youtube.com/shorts/ID into youtube.com/watch?v=ID.

  • Tidy notification links. Drop the email tracking query from Reddit notification links.

The Homebrew and DMG builds share a bundle ID with the Mac App Store build, so installing one replaces the other. Pick one channel.

privacy

Links are cleaned on your device. The only network requests LinkPure makes are for short links: to expand a t.co or bit.ly link it asks that service where the link points, without cookies, and follows the redirects.

There is no account and no analytics. The rewrite counter is kept on your device only.

support

Found a bug or want a feature? Open an issue or come say hi.

More apps

All 6 →
si app
SimDrop Booted iOS simulators show up in the Finder sidebar, so you can drag files into their Photos library or Downloads folder and drag them back out without leaving Finder. macos
sa app
SafariF12 Press F12 in Safari to toggle the Web Inspector, the same muscle memory as Chrome and Firefox. A tiny background app that only listens while Safari is frontmost. macos
im app
ImpRec A lightweight, open-source screen recorder for macOS. Menu bar only, zero config, good compression. macos