> For the complete documentation index, see [llms.txt](https://docs.realmacsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmacsoftware.com/squash/quick-guide/nodes/redact.md).

# Highlighter

Highlight or hide text, codes and other details before you share images

Choose a **Mode** in the Highlighter section, then choose what to find under **Detect**. Squash finds those things in every image and marks them when it exports, and you can draw marks of your own. Until you tick something under **Detect** or draw a mark, the Highlighter leaves images alone. To turn it off without losing your choices, use the switch in its header.

The Highlighter runs after [Crop](/squash/quick-guide/nodes/crop.md), Resize, Adjustments and Effects, and before Borders and Watermark, so a watermark is never covered by a mark.

### Mode

| Mode      | What a mark does                                                                                          |
| --------- | --------------------------------------------------------------------------------------------------------- |
| Redact    | Covers what's under it with a solid colour, in Squash orange by default                                   |
| Highlight | Lays a see-through colour over it, like a highlighter pen, in yellow by default. Dark text stays readable |

Each mode keeps its own **Color**, so switching between them doesn't lose your choice.

Marks are bands with slightly rounded corners.

### Detect

| Option        | Finds                                                                                                                                                                     |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| QR & barcodes | QR codes and barcodes                                                                                                                                                     |
| Names         | People's names in text                                                                                                                                                    |
| Email         | Email addresses                                                                                                                                                           |
| Codes         | Written codes: serial numbers, product and licence keys, one-time and verification codes, passwords, order, booking, tracking and account numbers, card numbers and IBANs |
| All text      | Every line of text                                                                                                                                                        |

Small barcodes in large photos, such as the serial and IMEI codes on a phone box, can be too fine to find at first. Turn on **Search full-size photos for small barcodes** in Settings › General to look for them at full size. It takes longer.

Each mark reaches a little past what was found, so edges aren't left showing. Marks for codes and text follow their angle, so a label photographed at a slant is marked along the slant.

**Names** looks for people's names in text: names Apple's language tools recognise, a name in front of an email address, the value of fields like **Name**, **From** or **Cardholder**, and words that spell an email address shown in the same image.

Detection uses Apple's Vision and Natural Language frameworks on your Mac. Nothing is uploaded. Images are checked when you add them, and any image not yet checked is checked before it's exported, so detection is never skipped.

### Drawing and changing marks

Select an image to show it in the [preview](/squash/quick-guide/editor.md), then click the highlighter icon floating at the bottom of the preview. You'll see the whole image with every mark as it will be exported, and the crop outlined if Crop is on.

* Drag across the image to draw a line. Hold Shift to keep it level, upright or at 45°.
* To mark small details, zoom in with ⌘+, a pinch or ⌥-scroll, then scroll or hold Space and drag to move around. ⌘9 fits the image again. The zoom is shared with the preview.
* **Width** in the Highlighter section sets how thick drawn lines are. Moving it also changes the selected mark.
* Click a mark to select it: it gets an outline and a round handle at each end. Click empty space or press Esc to deselect.
* Drag a handle to move that end of the line (hold Shift to snap its angle), or drag the mark itself to move all of it.
* Press Delete to remove the selected mark. Right-click a found one and choose **Don't Redact** (or **Don't Highlight**) to leave that area alone in this image.
* Click the circular arrow (**Reset to Detected**) to go back to what Auto-detect found. Undo and Redo work as usual.
* Click the checkmark (**Done**), or press Return, to go back to the before and after view.

Changes made here belong to that image only, and last until you quit Squash.

{% hint style="info" %}
Auto-detect can miss things. Check each image before sharing. In the list, each image with marks shows how many it has.
{% endhint %}

### Metadata

In Redact mode, the image's file also drops its embedded thumbnail, XMP and maker notes, even when [Metadata](/squash/quick-guide/nodes/metadata.md) keeps other metadata. These could otherwise contain a copy of the original picture or the positions of faces. Highlight mode hides nothing, so it leaves metadata as the Metadata section sets it. Redacted images are never given an Apple Intelligence description.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmacsoftware.com/squash/quick-guide/nodes/redact.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
