Linux command
jwt-ui 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Decode a JWT interactively
jwt-ui [token]
Decode from stdin
echo "[token]" | jwt-ui
Decode with a secret
jwt-ui -S [secret] [token]
Decode with a secret from file
jwt-ui -S @[path/to/key.pem] [token]
说明
jwt-ui is a terminal UI for decoding and encoding JSON Web Tokens, inspired by jwt.io and jwt-cli. It provides an interactive interface showing the header, payload, and signature verification status of a JWT. Supported algorithms include HMAC (HS256/384/512), RSA (RS256/384/512, PS256/384/512), ECDSA (ES256/384), and EdDSA. Secrets can be provided as plain text, file paths (prefixed with @), or base64-encoded strings (prefixed with b64:).
FAQ
What is the jwt-ui command used for?
jwt-ui is a terminal UI for decoding and encoding JSON Web Tokens, inspired by jwt.io and jwt-cli. It provides an interactive interface showing the header, payload, and signature verification status of a JWT. Supported algorithms include HMAC (HS256/384/512), RSA (RS256/384/512, PS256/384/512), ECDSA (ES256/384), and EdDSA. Secrets can be provided as plain text, file paths (prefixed with @), or base64-encoded strings (prefixed with b64:).
How do I run a basic jwt-ui example?
Run `jwt-ui [token]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more jwt-ui examples?
This page includes 4 examples for jwt-ui, plus related commands for nearby Linux tasks.