Control Clipboard - Access Clipboard Contents | Online Free DevTools by Hexmos

Control clipboard contents on macOS with pbpaste. Access data, copy to file, or pipe into commands easily. Free online tool, no registration required.

pbpaste

Send the contents of the clipboard to stdout. Comparable to pressing <Cmd v> on the keyboard. More information: https://keith.github.io/xcode-man-pages/pbcopy.1.

  • Write the contents of the clipboard to a file:

pbpaste > {{path/to/file}}

  • Use the contents of the clipboard as input to a command:

pbpaste | grep foo