jwt-cli

Fast CLI tool to decode and encode JWTs written in Rust

brewmacoslinux
Try with needOr install directly
Source

About

Super fast CLI tool to decode and encode JWTs built in Rust

Commands

jwt-cli

Examples

Decode a JWT token and display its claims$ jwt-cli decode eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Encode a JWT with custom claims and secret$ jwt-cli encode -s 'your-secret' -a HS256 '{"sub":"1234567890","name":"John Doe"}'
Verify and decode a JWT with a specific secret$ jwt-cli decode -s 'your-secret' eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...