RelicRELIC
Guide

The best clipboard manager for developers

Developers copy differently: SQL fragments, API keys, JSON blobs, terminal output, and code that needs to land exactly right. Here is an honest ranking of which clipboard managers hold up under that kind of use.

Quick answer
Developers need CLI access, plain-text discipline, fast search, and a tool that does not choke on large payloads. CopyQ wins on raw scriptability and runs on Windows, Mac, and Linux today, making it the top pick for terminal power users. Relic’s angle is a relic command-line tool that reads your local encrypted vault, plus full-history search, OCR, and encrypted sync across devices (Windows live now, Mac and Linux rolling out). Ditto is the best free pick if you live on Windows and do not need scripting.

What developers actually need

A generic clipboard manager records what you copy and lets you paste it back. Developer workflows put extra pressure on a few specific things that most managers handle poorly.

  • CLI or scriptable access. Being able to query your clipboard history from a terminal or hook it into a script separates a productivity tool from a GUI novelty.
  • Plain-text discipline. Copying from a rich editor or a web page should give you clean text, not a mess of hidden formatting that breaks a YAML file or a SQL query.
  • Large payload support. SQL dumps, minified JS, JSON responses, and log output can be long. A manager that silently truncates or drops items under load is not usable for this.
  • Fast, reliable search. You copied something an hour ago. The whole point of a history is being able to find it in under a second.
  • Privacy under pressure. Developers routinely copy API keys, tokens, passwords, and database credentials. A manager that sends your history to a server in plaintext is a liability.
  • Cross-device reach. Working across a desktop and a laptop, or pulling a connection string from your home machine to your work one, is a real workflow. Most clipboard managers stop at one device.

Comparison at a glance

RelicCopyQDittoMaccyWin+V
CLI / scriptableCLI reads local vaultYesNoNoNo
Runs on Win/Mac/Linuxpartial (Windows live)YesWindowsMacWindows
Search historyYesYesYesYesNo
Handles large payloadsYesYesPartialPartialNo
Encrypted sync across devicesYesNoPartialNoPartial
Open sourcePartialYesYesYesNo

A few clarifications on that table. Relic’s relicCLI reads and searches the local vault the desktop app writes; it is a query layer, not a full scripting environment like CopyQ’s. Ditto’s sync is local-network between Windows machines, not encrypted cloud sync. Win+V cloud sync is through Microsoft’s servers in a form they can read. Relic’s Mac and Linux desktop apps are in progress; the Windows client is live and actively maintained.

The best clipboard managers for developers, ranked

1. CopyQ, for maximum scriptability and cross-desktop control

CopyQ is the honest first choice for developers who want terminal-level control. It runs today on Windows, Mac, and Linux. You can query and manipulate your history from the command line with commands like copyq read 0 (get the most recent item) or copyq eval to run arbitrary JavaScript against your history. It supports tabs for organizing different content types, custom commands you can bind to hotkeys, and an optional GnuPG encryption plugin for sensitive tabs.

The tradeoffs: CopyQ has a steeper learning curve than any other tool here. Its sync story is DIY, which means either a shared network folder or something you script yourself. The GnuPG encryption is per-tab and optional rather than automatic across everything. But if you want a clipboard manager you can genuinely script, nothing else here competes. See our full Relic vs CopyQ comparison.

2. Relic, for an encrypted searchable history with a CLI query layer

Relic keeps everything you copy, encrypts it on device, and syncs it across your machines. The relicCLI reads your local vault directly so you can search history, retrieve items by content or date, and pipe results into other tools from the terminal. It is not a scripting engine like CopyQ’s CLI, but for pulling a connection string or an API key you copied last Tuesday without opening a GUI, it does the job.

Relic stores the plain-text layer of every copy separately, so content you copied from a rich editor arrives in your terminal clean. It handles large payloads without truncating, runs OCR on screenshots so you can search text inside images, and the history is end-to-end encrypted with XChaCha20-Poly1305 and Argon2id before anything reaches the server. The server only ever holds ciphertext.

The honest caveat: the active desktop client today is Windows. Mac and Linux are rolling out. The relic CLI reads the local vault, it does not write to your system clipboard on its own. On phones, Relic is a browse-and-search lens rather than a background recorder, because mobile operating systems block background clipboard capture.

3. Ditto, for a free proven Windows tool

Ditto is a solid, free, open-source Windows clipboard manager that just works. It has no CLI and no built-in encrypted sync, but it is fast, searchable, and handles developer workflows reliably on a single Windows machine or across a local network of Windows machines. If you work entirely on Windows, never need scripting, and want zero cost, Ditto is an excellent baseline.

4. Maccy and Clipy, for a minimal local history on Mac

Maccy is the lightest-weight free Mac option for developers who want nothing but a fast history. It is keyboard-driven, open source, and stays out of your way. No sync, no CLI, no encryption, but for a single-machine workflow on macOS it is quick and dependable. Clipy adds a snippet menu if you want reusable text blocks. Neither is a scripting tool, but both cost nothing and have no moving parts to break.

How to choose

  • You want to script your clipboard from the terminal: CopyQ.
  • You want encrypted history that syncs across machines, plus a CLI query layer: Relic.
  • You are on Windows, want free and simple, and do not need sync: Ditto.
  • You are on Mac and want minimal with no frills: Maccy.
  • You need Linux today: CopyQ (Relic Linux is in progress).
The short version: CopyQ genuinely wins on scriptability and cross-desktop reach. Relic is the pick when you want your history encrypted by default, synced across devices, and searchable from the terminal without assembling your own sync stack. They serve different developer profiles and it is worth being honest about that.

Frequently asked questions

Is there a clipboard manager with a command-line interface?

CopyQ has the most mature CLI: you can query history, paste items, and run custom scripts from the terminal. Relic ships a separate `relic` CLI tool that reads and searches your local encrypted vault directly, so you can pull clipboard history into scripts or pipelines without opening the GUI. Neither gives you arbitrary write access from the shell by design.

Which clipboard manager handles large payloads like SQL dumps or JSON blobs?

Relic and CopyQ both store large text payloads without truncating. Windows Clipboard History (Win+V) caps item size and drops large copies silently. Ditto handles moderately large items but has known limits with very large text. For developer payloads, Relic or CopyQ are the safe bets.

Does Relic work in the terminal?

The `relic` CLI reads your local vault (the same database the desktop app writes to) so you can search history, retrieve items by content or date, and pipe results into other tools. It does not hook the system clipboard itself. Think of it as a query layer over your history, not a replacement for pbpaste or xclip.

What is the best clipboard manager for Linux developers?

CopyQ is the standout choice for Linux: it runs on all major desktop environments, has a scriptable CLI, and is actively maintained. Relic’s Linux desktop is still rolling out, so for Linux today CopyQ is the honest recommendation.

Does Relic keep plain text when I copy from the terminal?

Yes. Relic stores the raw plain text from every copy, regardless of source. It also stores rich formats when they are present, but the text is always available separately so you can paste into a terminal or script without stray formatting.

Keep reading
Relic vs CopyQ
the scriptable power-user pick
What is a clipboard manager?
the full guide
Best clipboard managers
all platforms
Clipboard manager for Linux
what runs on Linux
Regex cheat sheet
for terminal pattern matching
JSON formatter
tidy up copied JSON