How to Clean Copied Text Formatting on Mac

How to Clean Copied Text Formatting on Mac

You copy a paragraph from a webpage and paste it into an email — and it arrives with the wrong font, a colored background, and broken line breaks. macOS carries rich formatting on the clipboard by default, so unless you strip it, you get whatever styling the source had.

Here's how to clean copied text on a Mac, from the built-in plain-text shortcut to an AI clean action that fixes the messier cases.

Why copied text brings formatting with it

When you copy from a webpage, Word document, or PDF, macOS often puts rich text on the clipboard — font, size, color, links, and structure — not just the characters. When you paste into an app that respects rich text (Mail, Notes, Pages), all of that comes along. The result is text that doesn't match its new home.

There are two levels of cleanup: stripping styling (plain text) and fixing structural mess (stray line breaks, double spaces, leftover bullets). The built-in tools handle the first; AI handles the second.

The built-in plain-text paste shortcut

macOS and most apps support Paste and Match Style:

Note that the exact shortcut varies by app — some use Cmd+Option+Shift+V. This strips fonts and colors so the text adopts your destination's style.

The limitation: match-style paste removes styling, but it does not fix structural problems. If a PDF gave you a line break after every line, plain-text paste keeps those breaks. You get unstyled but still messy text.

Cleaning structural mess with an AI action

ClipHistory includes a Clean AI transform that goes beyond stripping styles. It normalizes the actual text: removes stray line breaks, collapses double spaces, drops leftover bullet characters, and tidies up text that copied badly from a PDF or webpage.

How to clean a clip

  1. Copy the messy text with Cmd+C.
  2. Open ClipHistory with Cmd+Shift+V.
  3. Select the clip and run the Clean action.
  4. Paste the cleaned text with Cmd+V.

The clean action runs through the AI provider you configured with your own API key, so it can make judgment calls that a simple strip-formatting command can't — like joining lines that were split mid-sentence while preserving real paragraph breaks.

When to use which

Situation Tool
Wrong font or colors, text is otherwise fine Paste and Match Style
Line breaks after every line (PDF copy) AI Clean
Double spaces, leftover bullets, weird characters AI Clean
Just want plain characters, fast Paste and Match Style

For quick styling removal, the keyboard shortcut is instant and free. For genuinely broken text — the kind PDFs and some web pages produce — the AI clean action does the structural repair the shortcut can't.

Cleaning runs on your own key, locally

ClipHistory has no cloud and no account. The Clean action sends only the single clip you're cleaning to your chosen AI provider (Anthropic, OpenAI, DeepSeek, Google, or a custom endpoint) using your own API key. Your broader clipboard history — the last 150 unpinned clips plus pinned ones — never leaves your Mac.

A tip: keep the original

After you clean a clip, the original messy version is still in your ClipHistory history. If the clean action changed something you wanted to keep, the source is one Cmd+Shift+V away. Pin the original first if you want to be safe.

Avoiding the problem in the first place

If you constantly paste from the same messy source, build the habit of running text through the clean action before it lands in your document. Because ClipHistory sits on the clipboard, the cleaned version is what you paste — so the destination never sees the mess.

Get ClipHistory for macOS

Plain-text paste handles fonts and colors. For the structural mess that PDFs and web pages leave behind, an AI clean action does the repair — on your own API key, with nothing stored in the cloud.

Get ClipHistory for macOS — $19.99, one-time (12-month license, no auto-renewal). Signed and notarized by Apple, universal binary for Apple Silicon and Intel, macOS 12+.