Clear Paste

Clear Paste Inspector Guide

When a paste looks different from what you expected, use Inspector to see which formats the source app put on the clipboard.

See what one copy contains

  1. Open Clear Paste Inspector from Applications. Select a formatted paragraph in Word and press ⌘C. If Clear Paste is running, use its Option gesture so Inspector can see the original formats.
  2. Return to Inspector and select the copy on the left. Each row is an event, a record of what the clipboard held at that point. If you copied before opening Inspector, choose Clipboard → Capture Now to see what’s there now.
  3. Read the Type and Size columns. A single Word paragraph can include 60 bytes of plain text and about 39 KB each of RTF and HTML. A target app that uses one of the formatted versions can paste the same words with their original styling.

The Clear Paste row above the table predicts what automatic cleaning would do based on the copy. For this example, it says Would replace it with plain text. Under Source, a question mark after an app name means that app was in front when Inspector detected the copy.

A Word copy selected in Inspector. The table lists plain text, RTF and HTML with their sizes, and some Word formats are marked not loaded.
Open the screenshot to see the format names and sizes at full size.

Read one format

Select a format in the table to see its preview below. Select public.rtf and click Formatted to see the styled text. Text shows the readable contents, such as the HTML source for an HTML copy. Hex shows the bytes.

For a row marked not loaded, select the row and click Load below the table while that copy is still on the clipboard. Use Load All to read all the remaining available formats for that event. If a newer copy has replaced it, copy the original selection again and choose the new event. Withheld identifies content that Inspector has left unread because it’s protected.

Use the toolbar’s Read Content menu to choose what Inspector reads for future events. Types Only lists the available formats. Text Types, the default, also reads common text formats. All Types reads every available format and may ask the source app to create data it normally provides only when you paste.

Compare two copies

  1. With Text Types selected, copy a line before and after an edit. For example, copy Meeting starts at 9:00, change it to Meeting starts at 9:30 and copy it again.
  2. In the event list, select one copy. Hold ⌘ Command and click the other. The right side shows the two events in time order and the formats that changed.
  3. Look below the table for the text difference. In this example, the 9:00 line is removed and the 9:30 line is added. Click one event again to return to its individual preview.

Save or reopen a clipboard sample

A fixture is a file containing one clipboard event you can reopen later. Select an event, click Export Fixture…, choose where to save it and click Save. By default, the file keeps information about the event and its formats without the copied content. Tick Include clipboard content only when you need the sample to include the material Inspector has read and kept.

To reopen the sample, choose File → Open Fixture… and select the saved JSON file. The event appears in the list marked imported. If an event has saved content and you want to paste it into another app, select it and click Copy to Clipboard. This replaces the current clipboard with the formats stored in that event.

Pause monitoring or clear the list

Choose Clipboard → Pause Monitoring to stop recording changes while you work. Choose Resume Monitoring in the same menu when you’re ready. You can still choose Capture Now to inspect the current clipboard while monitoring is paused.

Inspector keeps recent events in memory until you quit. Choose Clipboard → Clear History to remove them from the list while the app is open.