---
name: "pencode"
section: "1"
platform: "linux"
package: "golang-github-ffuf-pencode-dev"
version: "0.4-1+b8"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pencode"
---

# pencode(1)

complex payload encoder

## NAME

pencode - complex payload encoder

## USAGE:

**pencode** FUNC1 FUNC2 FUNC3...

pencode reads input from stdin by default, which is typically piped from another process.

## OPTIONS:

**-input** reads input from a file, line by line.

## ENCODERS

- **b64encode**

  \- Base64 encoder

- **hexencode**

  \- Hex string encoder

- **htmlescape**

  \- HTML escape

- **jsonescape**

  \- JSON escape

- **unicodeencodeall**

  \- Unicode escape string encode (all characters)

- **urlencode**

  \- URL encode reserved characters

- **urlencodeall**

  \- URL encode all characters

- **utf16**

  \- UTF-16 encoder (Little Endian)

- **utf16be**

  \- UTF-16 encoder (Big Endian)

- **xmlescape**

  \- XML escape

## DECODERS

- **b64decode**

  \- Base64 decoder

- **hexdecode**

  \- Hex string decoder

- **htmlunescape**

  \- HTML unescape

- **jsonunescape**

  \- JSON unescape

- **unicodedecode**

  \- Unicode escape string decode

- **urldecode**

  \- URL decode

- **xmlunescape**

  \- XML unescape

## HASHES

- **md5**

  \- MD5 sum

- **sha1**

  \- SHA1 checksum

- **sha224**

  \- SHA224 checksum

- **sha256**

  \- SHA256 checksum

- **sha384**

  \- SHA384 checksum

- **sha512**

  \- SHA512 checksum

## OTHER

- **filename.tmpl**

  \- Replaces string #PAYLOAD# in content of a file that has .tmpl extension.

- **lower**

  \- Convert string to lowercase

- **upper**

  \- Convert string to uppercase
