Skip to content

Comments

Add JWT Decoder tool#22

Closed
GhDj wants to merge 1 commit intodevelopfrom
feature/jwt-decoder
Closed

Add JWT Decoder tool#22
GhDj wants to merge 1 commit intodevelopfrom
feature/jwt-decoder

Conversation

@GhDj
Copy link
Owner

@GhDj GhDj commented Dec 14, 2025

Summary

  • Add new JWT Decoder tool for inspecting JSON Web Tokens
  • Client-side decoding - no data sent to server
  • Color-coded token structure visualization
  • Expiration status with human-readable time differences

Features

  • Token Decoding: Decode header and payload from any JWT
  • Visual Structure: Color-coded display (header=red, payload=purple, signature=cyan)
  • Expiration Status: Shows if token is valid or expired with time remaining/elapsed
  • Timestamp Formatting: Converts Unix timestamps to human-readable dates
  • Registered Claims: Shows standard JWT claims (iss, sub, aud, exp, iat, nbf, jti)
  • Sample Token: Load a sample JWT for testing
  • Copy Functionality: Copy header or payload JSON

Test plan

  • Verify JWT tool page loads at /tools/jwt
  • Test sample JWT loading
  • Verify header and payload decode correctly
  • Test expiration status display
  • All 273 tests pass

- Decode and display JWT header and payload
- Show token structure with color-coded parts
- Expiration status indicator (valid/expired)
- Human-readable timestamps for exp, iat, nbf claims
- Registered claims reference section
- Sample JWT for testing
- Copy header/payload to clipboard
- Security notice about client-side decoding
@GhDj
Copy link
Owner Author

GhDj commented Dec 15, 2025

Merged via cherry-pick into develop

@GhDj GhDj closed this Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant