Why Tangle: the clipboard should give you back what you actually wanted
You copy a paragraph out of a PDF and paste it somewhere, and it arrives broken — hyphenated line endings, a repeated page header halfway through a sentence, spacing that makes no sense outside the original layout. You copy part of a web article and get back a pile of inline styles instead of clean text. You copy a URL to share it and five tracking parameters come along for the ride. You copy a screenshot of a spreadsheet because that’s the only way you had to grab the data, and now you’re retyping numbers into a table by hand.
None of that content is wrong. It’s just not in the shape you actually wanted. Tangle is the tool I built to close that specific gap.
One job: clean up what’s already on your clipboard
Tangle sits in the menu bar. You copy something — text, a screenshot, a PDF selection, an image, cells from Excel — press a shortcut, and get clean Markdown or plain text back on the clipboard. No cloud step, no account, no uploading anything anywhere: image OCR runs locally through Apple Vision, PDF and RTF extraction happens on-device, and that’s the whole pipeline.
It started as nine separate menu items, one per transformation — clean text, clean URL, Markdown from HTML, OCR this, OCR that. Technically complete, but it meant knowing which of nine things you needed before you could use any of them. It collapsed down to two: Paste Markdown detects what’s actually on the clipboard — an image, a URL, HTML, a table, plain text — and produces the best Markdown for it. Paste Clean Text does the same detection but always gives you plain text back. A Quick Transform Picker still exists underneath for the rare case you want to pick a specific transform by hand, with a live before/after preview.
What it’s actually for, in practice
A few of the cases that show up constantly:
- A PDF paragraph with broken lines and a stray page number becomes one clean sentence.
- A screenshot of a spreadsheet becomes an actual Markdown table — not OCR text you then have to manually re-space into columns.
- A tracking-parameter URL (
?utm_source=...&gclid=...) becomes just the link. - A screenshot of a slide becomes Markdown with headings and bullets inferred from the relative font sizes in the image, not guessed from scratch.
There’s also a smaller, more current reason this matters: pasting cleaner text into an LLM wastes fewer tokens than pasting the original formatting noise along with it.
Local by default, on purpose
Clipboard content is some of the most sensitive data that moves through a Mac — it’s where passwords, addresses, and half-finished messages live, often for only a few seconds. Tangle’s optional clipboard history (off by default) is session-only, never written to disk, skips images, and explicitly respects macOS’s concealed/transient clipboard markers plus known password managers — so even a feature meant for convenience doesn’t become a liability.
Tangle is open source: github.com/danielecostarella/tangle. The next post digs into how it actually reconstructs a table from a plain screenshot — the part I found most interesting to build.