curl.zip / help

Examples: curl.zip/qr?t=hello+curl.zip · curl.zip/uuid?n=3 · curl.zip/headers · curl.zip/json?t=[3,1,2]

curl.zip - full usage

anything - echo any method/path/body
class:   cheap

usage:
  curl -X PUT curl.zip/anything/foo -d hi

base64 - base64 encode; /base64/decode to decode
aliases: b64
class:   cheap

args:
  t        text (else request body)
  url      URL-safe alphabet (default false)

usage:
  echo -n hi | curl --data-binary @- curl.zip/base64
  curl curl.zip/base64/decode -d aGk=
  curl 'curl.zip/base64?url' -d ...   # URL-safe alphabet

bytes - N bytes of data (max 64 KiB): /bytes/{n}
class:   cheap

usage:
  curl curl.zip/bytes/1024 -o chunk.bin

delay - sleep N seconds (max 5): /delay/{n}
class:   heavy

usage:
  curl curl.zip/delay/3

epoch - convert unix time <-> RFC3339 (no arg = now)
class:   cheap

args:
  t        unix seconds/millis or RFC3339 (else now)

usage:
  curl curl.zip/epoch
  curl 'curl.zip/epoch?t=1700000000'
  curl 'curl.zip/epoch?t=2026-06-13T12:00:00Z'

get - echo this GET request
class:   cheap

usage:
  curl 'curl.zip/get?a=1'

hash - hash the body: /hash/{md5|sha1|sha256|sha512}
class:   crypto

usage:
  echo -n hi | curl --data-binary @- curl.zip/hash/sha256
  curl curl.zip/hash/md5 -d hello

headers - your request headers
class:   cheap

usage:
  curl curl.zip/headers

hex - hex encode; /hex/decode to decode
class:   cheap

args:
  t        text (else request body)

usage:
  echo -n hi | curl --data-binary @- curl.zip/hex
  curl curl.zip/hex/decode -d 6869

ip - your public IP, bare
class:   cheap

usage:
  curl curl.zip/ip
  IP=$(curl -s curl.zip/ip)

json - validate + pretty-print JSON (?sort to sort keys)
class:   cheap

args:
  sort     sort object keys (default false)

usage:
  echo '{"b":1,"a":2}' | curl --data-binary @- curl.zip/json
  curl 'curl.zip/json?sort' -d '{"b":1,"a":2}'

jwt - decode a JWT (no verify, no network)
class:   cheap

args:
  t        the token (else request body)

usage:
  curl curl.zip/jwt -d eyJhbGciOi...

post - echo this POST request
class:   cheap

usage:
  curl curl.zip/post -d hi

pw - generate a password (?len=N) or passphrase (?words=N)
class:   crypto

args:
  len      password length (8-256) (default 24)
  words    passphrase word count (2-16)

usage:
  curl curl.zip/pw
  curl 'curl.zip/pw?len=32'
  curl 'curl.zip/pw?words=5'

qr - QR code as ASCII (or PNG via Accept: image/png / ?format=png)
class:   cheap

args:
  t        text to encode (else body)
  ec       error correction L|M|Q|H (default M)

usage:
  curl 'curl.zip/qr?t=hello'
  curl -H 'Accept: image/png' 'curl.zip/qr?t=hi' -o qr.png

status - return the given status code: /status/{code}
class:   cheap

usage:
  curl -o /dev/null -w '%{http_code}\n' curl.zip/status/503

url - percent-encode; /url/decode to decode
class:   cheap

args:
  t        text (else request body)

usage:
  curl curl.zip/url -d 'a b&c'
  curl curl.zip/url/decode -d a%20b

user-agent - your User-Agent, bare
class:   cheap

usage:
  curl curl.zip/user-agent

uuid - random UUIDv4 (one per line; ?n=N for many)
class:   crypto

args:
  n        how many (1-100) (default 1)

usage:
  curl curl.zip/uuid
  curl 'curl.zip/uuid?n=5'