# ed grab clipboard

> ed grab clipboard in the Edith ed command line reference. ed grab

- Canonical URL: https://getedith.pro/docs/cli/grab/clipboard
- Updated: 2026-12-02

[`ed grab`](https://getedith.pro/docs/cli/grab)

[The `ed` command line](https://getedith.pro/docs/cli)

```bash
ed grab clipboard [--mode plain|breaks|line|table|code|barcode] [--copy] [--json]
```

Recognizes the text in the image on the clipboard, such as a copied screenshot, or in an image file copied in Finder. Prints the text; `--copy` replaces the clipboard with it. The clipboard is read once, only when you run the command. JSON output matches [`ed grab file`](https://getedith.pro/docs/cli/grab/file).

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
