Verify JWS

This tool will help you to Verify the JWS Object


This is your MAC Key use this field if the JWS is signed with MAC key
Use this field if the JWS Signed with EC or RSA Publick key

Related Tool



Your Support Matters!

Instead of directly asking for donations, I'm thrilled to offer you all nine of my books for just $9 on leanpub By grabbing this bundle you not only help cover my coffee, beer, and Amazon bills but also play a crucial role in advancing and refining this project. Your contribution is indispensable, and I'm genuinely grateful for your involvement in this journey!

Any private key value that you enter or we generate is not stored on this site, this tool is provided via an HTTPS URL to ensure that private keys cannot be stolen, for extra security run this software on your network, no cloud dependency



JWS JSON Serialization Overview

A JWS is represented as the concatenation of

BASE64URL(UTF8(JWS Protected Header)) || '.' ||
BASE64URL(JWS Payload) || '.' ||
BASE64URL(JWS Signature)

In the JWS JSON Serialization, a JWS is represented as a JSON object containing some or all of these four members:

  • protected, with the value BASE64URL(UTF8(JWS Protected Header))
  • header, with the value JWS Unprotected Header for example
    {"alg":"HS256"}
    Encoding this JWS Protected Header as BASE64URL(UTF8(JWS Protected Header)) gives this value:
    eyJhbGciOiJIUzI1NiJ9
  • payload, with the value BASE64URL(JWS Payload) for example the payload
{
  "sub": "1234567890",
  "name": "Anish Nath",
  "iat": 1516239022
}

Encoding this JWS Payload as BASE64URL(JWS Payload) gives this value

ew0KICAic3ViIjogIjEyMzQ1Njc4OTAiLA0KICAibmFtZSI6ICJBbmlzaCBOYXRoIiwNCiAgImlhdCI6IDE1MTYyMzkwMjINCn0

  • signature, with the value BASE64URL(JWS Signature) Computing the HMAC with the HMAC
    SHA-256
9tFLrurxXWKBDh317ly24fP03We-uzSZtPf7Yqy_oSw