Access the Windows clipboard (copy/paste)
75
stars
24
commits
Rust
primary language
Feb 24, 2026
updated
Access the Windows clipboard (copy/paste)
With full UTF-8 support.
Download the binaries and put them somewhere in your %path%.
$ clipboard --copy < echo unicorn
$ clipboard --paste
unicorn
[!IMPORTANT] When piping into
clipboard --copy, stdin must be UTF-8. In CMD, runchcp 65001first. In Windows PowerShell, set$OutputEncoding = [System.Text.Encoding]::UTF8. If your shell emits non-UTF-8, useclip.exe(CMD) orSet-Clipboard(PowerShell) instead.
Install Rust and run:
cargo build --release
Rust
52.3%
Batchfile
47.7%
Access the Windows clipboard (copy/paste)
75
stars
24
commits
Rust
primary language
Feb 24, 2026
updated
Access the Windows clipboard (copy/paste)
With full UTF-8 support.
Download the binaries and put them somewhere in your %path%.
$ clipboard --copy < echo unicorn
$ clipboard --paste
unicorn
[!IMPORTANT] When piping into
clipboard --copy, stdin must be UTF-8. In CMD, runchcp 65001first. In Windows PowerShell, set$OutputEncoding = [System.Text.Encoding]::UTF8. If your shell emits non-UTF-8, useclip.exe(CMD) orSet-Clipboard(PowerShell) instead.
Install Rust and run:
cargo build --release
Rust
52.3%
Batchfile
47.7%