JSON Web Signature Decode
Developer-first json web signature decode inspector. Parse compact & flattened JWS/JWT tokens, execute base 64 converter and base 64 to text, perform converting between base 64 and base 64 url, use our hexadecimal reader online, and convert image to base 64.
JSON Web Signature (JWS) Compact Decoder
Paste any 3-part Compact Serialization JWS string BASE64URL(Header).BASE64URL(Payload).BASE64URL(Signature).
{
"alg": "RS256",
"typ": "JWT"
}
{
"sub": "1234567890",
"name": "NRStudio",
"admin": true
}
JSON Web Signature (JWS) & Base64 Decoding Guide
What is a JSON Web Signature (JWS) decode?
A json web signature decode inspects RFC 7515 digital signatures protecting JSON payloads. Unlike encryption (JWE), JWS verifies data integrity using algorithms like RS256 or HS256. The structure separates header, payload, and signature with periods (.).
What is an example of base64 and base64 chars?
An example of base64 is "SGVsbG8=" representing "Hello". The 64 standard base64 chars are uppercase A-Z (26), lowercase a-z (26), digits 0-9 (10), plus (+) and slash (/), with equal sign (=) for padding. In base decoding, 4 chars map to 3 binary bytes.
How does converting between base 64 and base 64 url work?
When converting between base 64 and base 64 url, replace '+' with '-', '/' with '_', and strip trailing '=' padding characters. This ensures the token traverses HTTP query parameters without requiring URL escaping (urldecode in javascript).
How to decipher binary and convert base64 to string online?
To learn how to decipher binary, group bits into 8-bit octets and map ASCII decimal values to UTF-8 characters. To convert base64 to string online, decode the base64 character index into 6-bit chunks and reassemble into standard 8-bit characters.