Hacker News
Show HN: I built a clipboard tool to strip/keep specific formatting like Italics
I’m Joseph, a solo developer. I built CustomPaste because I was frustrated by the binary choice standard clipboard tools give us: either keep all the messy formatting (background colors, huge fonts) or strip everything down to plain text.
We all know Ctrl+Shift+V (paste as plain text), but that is often too destructive, it kills hyperlinks, bolding, and lists when I usually just want to normalize the font family (e.g., force Arial 11pt) or remove background colors.
I wanted a tool that let me "strip exactly what I want, and keep exactly what I want."
The Solution: Instead of a single "paste" behavior, the app lets you create reusable "Recipes" to define exactly how your text should land in your editor. It intercepts the clipboard, processes the structure locally, and transforms it based on your rules.
It offers granular control over:
Smart Preservation: You can strip or set specific font families and sizes but specifically preserve bold, italics, and hyperlinks.
Structure: You can preserve tables while stripping the images inside them.Data Cleanup: It can instantly purge duplicate lines, sort lists alphabetically, or flatten extra blank lines.
Text Fixes: It cleans up AI-generated artifacts (like "smart quotes" or em-dashes) and enforces casing (Title Case, Sentence Case).
Privacy & Pricing: The app runs 100% locally on your machine, no cloud processing and no data harvesting. It is a one-time purchase (lifetime license), not a subscription. There is a free trial (first 100 pastes) so you can test if it fits your workflow.
I’d love to hear your feedback on the "Recipe" approach or any other edge cases you struggle with when pasting text!
barishnamazov
|next
[-]
EvaWorld9
|root
|parent
[-]
But the main goal here is to offer that power to people who don't have the time or desire to learn scripting syntax, set up environments or debug code. They just want a tool that works out of the box. And even for technical folks, maintaining a script that parses complex HTML/RTF without breaking on nested tags (which often happens with Regex) is a headache I wanted to solve permanently.
Regarding privacy, that was actually my top priority when designing the architecture. I'm fully aware of how sensitive clipboard data is, which is why I built it to run 100% locally. You can literally block the app in your firewall or physically disconnect your internet and it works perfectly, I even built an offline license activation method specifically for high-security environments.
altairprime
|root
|parent
|next
[-]
EvaWorld9
|root
|parent
[-]
That exact feature, keeping the structure (bold/italic...) but stripping the junk was actually the hardest part to build. It requires parsing the full object tree recursively to make it compatible with any app, instead of just doing simple text replacements.
I saw so many people looking for that "middle ground" that I basically built the whole app around it. Glad it resonates!
frizlab
|next
|previous
[-]
I write from the keyboard using “smart quotes…” It’s so much more beautiful.
kmoser
|next
|previous
[-]
benheildev
|next
|previous
[-]
EvaWorld9
|root
|parent
|next
[-]
However, a macOS version is the #1 request I get. It is definitely on the roadmap! If you want, you can drop your email in the form at the very bottom of the site (under "Don't Miss What's Next") and I'll notify you specifically when the MacOS version is ready.
paulirish
|root
|parent
|previous
[-]
There's now a CLI that'll read and update your (Mac) clipboard with the result. For this italic use case you'll have to edit the source but it won't be that bad.