Skip to content

Instantly share code, notes, and snippets.

@jeremyyeo
Last active May 16, 2025 21:22
Show Gist options
  • Save jeremyyeo/f88cb3ac1d6bb5c1793f5b0911dc601c to your computer and use it in GitHub Desktop.
Save jeremyyeo/f88cb3ac1d6bb5c1793f5b0911dc601c to your computer and use it in GitHub Desktop.
Decode JWT
# https://winsmarts.com/decode-jwt-token-on-terminal-d005ba6c5aa1
# Requires jq: https://jqlang.org/
jq -R 'split(".") | .[1] | @base64d | fromjson' <<< "REPLACE WITH JWT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment