---
name: "privatebin-create"
section: "1"
platform: "linux"
package: "privatebin-cli"
version: "2.0.2-1+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/privatebin-create"
---

# privatebin-create(1)

create a paste

## NAME

**privatebin-create** – create a paste

## SYNOPSIS

**privatebin create** \[-h \| -help\] \[--burn-after-reading\] \[--expire=\<time\>\]

                  \[--formatter=\<format\>\] \[--open-discussion\]

                  \[--password=\<password\>\] \[--gzip\] \[--attachment\]

                  \[--filename=\<filename\>\] *STDIN*

## DESCRIPTION

Create paste.

## OPTIONS

- **-h, --help**

  Show help message.

- **--burn-after-reading**

  Delete the paste after reading.

- **--expire** \<time\>

  The time to live of the paste.

- **--formatter** \<format\>

  The text formatter to use, can be plaintext, markdown or syntaxhighlighting.

- **--open-discussion**

  Enable discussion on the paste.

- **--password**

  Add password on the paste.

- **--attachment**

  Create the paste as an attachment.

- **--filename**

  Open and read filename instead of `stdin`.

- **--gzip**

  GZip the paste data.

## EXAMPLES

Create a paste on the default privatebin instance:

-

  ```
  $ cat example.txt | privatebin create
  ```

## SEE ALSO

[**privatebin.conf**(5)](/privatebin.conf/5.md)

## AUTHORS

Bryan Frimin.
