sindresorhus/windows-clipboard

Access the Windows clipboard (copy/paste)

75

stars

24

commits

Rust

primary language

Feb 24, 2026

updated

Browse cluster: Clipboard access and management tools

README

windows-clipboard

Access the Windows clipboard (copy/paste)

With full UTF-8 support.

Install

Download the binaries and put them somewhere in your %path%.

Usage

$ clipboard --copy < echo unicorn
$ clipboard --paste
unicorn

[!IMPORTANT] When piping into clipboard --copy, stdin must be UTF-8. In CMD, run chcp 65001 first. In Windows PowerShell, set $OutputEncoding = [System.Text.Encoding]::UTF8. If your shell emits non-UTF-8, use clip.exe (CMD) or Set-Clipboard (PowerShell) instead.

Build

Install Rust and run:

cargo build --release
  • clipboardy - Access the system clipboard from Node.js, cross-platform
  • clipboard-cli - Access the system clipboard from the command-line, cross-platform

Contributors

sindresorhus

12 commits

floatdrop

11 commits

Richienb

1 commits

sindresorhus/windows-clipboard

Access the Windows clipboard (copy/paste)

75

stars

24

commits

Rust

primary language

Feb 24, 2026

updated

Browse cluster: Clipboard access and management tools

README

windows-clipboard

Access the Windows clipboard (copy/paste)

With full UTF-8 support.

Install

Download the binaries and put them somewhere in your %path%.

Usage

$ clipboard --copy < echo unicorn
$ clipboard --paste
unicorn

[!IMPORTANT] When piping into clipboard --copy, stdin must be UTF-8. In CMD, run chcp 65001 first. In Windows PowerShell, set $OutputEncoding = [System.Text.Encoding]::UTF8. If your shell emits non-UTF-8, use clip.exe (CMD) or Set-Clipboard (PowerShell) instead.

Build

Install Rust and run:

cargo build --release
  • clipboardy - Access the system clipboard from Node.js, cross-platform
  • clipboard-cli - Access the system clipboard from the command-line, cross-platform

Contributors

sindresorhus

12 commits

floatdrop

11 commits

Richienb

1 commits

Languages

Rust

52.3%

Batchfile

47.7%