consolelog.tools
consolelog CLI

The same tools, in your terminal.

Format JSON, hash strings, encode Base64, decode JWTs, convert YAML — all from a single pipe-friendly CLI. No signup, no telemetry, just stdout.

Run any command instantly — no install required.

npx consolelog-tools <command>
  • Zero install via npx
  • Full stdin/stdout
  • Single bundled binary
  • No telemetry
~ consolelog · zsh
01 · Install

Pick the install path that fits your stack

Need it once? Use npx. Use it daily? Install globally so the binary lives at consolelog.

Once

Run any command instantly via npx — no node_modules, no global state.

npx consolelog-tools <cmd>

Globally

Install via your package manager and call consolelog directly.

pnpm add -g consolelog-tools

In CI

Pin a version in package.json dev-deps, run via pnpm exec.

pnpm add -D consolelog-tools

Requires Node.js ≥ 18. The package bundles every dependency, so installs are fast and the dependency tree stays out of your node_modules.

02 · Pipelines

Every command composes

Each command reads from a file, an inline string, or stdin — and writes to stdout. So they all chain together with each other and anything else in your shell.

  • Hash a generated UUID

    Generate a UUID, then SHA-256 hash it in one shell pipeline.

    consolelog uuid | consolelog hash --algo sha256
  • Pretty-print a curl response

    No more grepping minified JSON — pipe straight from curl.

    curl -s https://api.example.com/users | consolelog json-format
  • YAML → minified JSON

    Convert + minify in a single line, write to disk.

    consolelog yaml-to-json config.yaml | consolelog json-minify > config.min.json
03 · Commands

196 commands across 20 categories

Open a category to browse, or search by name or task. Each command shows a copy-paste example; add --help for its full options. Every command has a web version too.

196 commands · 20 categories

04 · I/O contract

One predictable input rule, applied everywhere

Every command resolves its input in the same order. No surprises, no per-command flags to remember.

  1. 1

    File path

    If the first positional arg points at an existing file.

  2. 2

    Inline string

    If the first arg isn't a file, it's used as raw input.

  3. 3

    stdin

    Whatever was piped in, if no positional arg was passed.

Errors go to stderr with a non-zero exit code, so shell pipelines surface failures correctly.

05 · FAQ

Common questions

Install paths, runtime requirements, privacy, and how to get help for any command.

How do I install the consolelog CLI?
Either run any command on the fly with `npx consolelog-tools <cmd>`, or install it globally with `pnpm add -g consolelog-tools` (or the npm/yarn equivalent). The package bundles all of its own dependencies, so global installs are fast and stay out of your project node_modules.
Which Node.js version do I need?
Node.js 18 or newer. The CLI uses native fetch and crypto.randomUUID(), both of which are stable on Node 18 LTS and above. CI runners on Node 20 and 22 are tested.
Does the CLI send any data anywhere?
No. There is no telemetry, no analytics, and no network calls except where a specific command needs them (for example, fetching a remote file you explicitly pointed it at). All transformations — hashing, encoding, JSON formatting, JWT decoding — run locally in your terminal.
Can I pipe other commands into it?
Yes — every command reads from stdin if no positional argument is provided, and writes to stdout. So you can chain consolelog commands with each other and with anything else in your shell: `curl -s api/users | consolelog json-format`, or `consolelog uuid | consolelog hash --algo sha256`.
Is there a tool in the CLI for everything on the website?
Not yet. The CLI ships a curated subset (currently 16 commands) covering the most pipe-friendly utilities — JSON, encoding, hashing, conversion and text. The full 300+ catalog lives on the website. Each web tool that has a CLI equivalent links to it from its page.
How do I see help for a specific command?
Append `--help` to any command, e.g. `consolelog json-format --help`. You'll get a description, the available flags, and example invocations.

Want a tool that's not in the CLI?

The CLI ships a curated subset; the full catalog of 300+ tools lives on the web — searchable with K.

Maintained by Matter Development.