CLI Equivalents Reference

Run the exact same transformations in your terminal or automation pipelines. Switch between GNU/Linux, BSD/macOS, and portable Python 3 one-liners.

Base64 Encode & Decode

base64

Avoid trailing newlines with printf '%s' so digests and tokens match browser output byte-for-byte.


          

Hex & Binary Dump / Reverse

xxd

Convert raw UTF-8 streams into plain hex strings, 8-bit binary groups, or reverse hex back to raw bytes.


          

JSON Validate, Pretty-Print & Minify

jq

Validate syntax, format with 2/4-space indentation, or compact payloads for HTTP headers and logs.


          

SHA-256 / SHA-384 / SHA-512 Digests

openssl dgst

Generate cryptographic checksums matching browser crypto.subtle.digest output.


          

IEC & SI Byte-Unit Formatting

numfmt

Convert raw byte counts into IEC binary units (GiB) or SI decimal units (GB).


          

Unix Epoch ↔ ISO 8601 UTC

date

Translate Unix epoch seconds to RFC 3339 / ISO 8601 UTC timestamps across GNU and BSD date implementations.