本文へスキップ
ecdsa.com

JWT ES256 デバッガー

トークンを貼り付けると、その場でデコードされます。ヘッダー、ペイロード、署名は、元のテキストとデコード結果で同じ色で示されます。続いて、発行者の公開鍵で ES256/ES384/ES512 の署名を検証できます。問題がある場合は、その内容をわかりやすく説明します。

100% ローカル:すべてブラウザー内で処理され、どのサーバーにも何も送信されません

ヘッダーペイロード署名

デコード結果

ヘッダー

最初のセグメント(最初のドットより前の部分)をデコードすると JOSE ヘッダーになります。アルゴリズム、トークンの種類、鍵 ID が含まれます。

ペイロード

2 番目のセグメントをデコードするとクレームになります。誰がトークンを発行したか、誰に向けたものか、いつまで有効かを示します。

署名

3 番目のセグメント(2 番目のドットより後の部分)は、header.payload に対する生の署名です。下で検証してください。

署名を検証

署名は未検証です

デコードに鍵は不要で、入力と同時に行われます。上でトークンがデコードされたら、ここに発行者の公開鍵を貼り付けて署名を確認してください。

How it works

Everything on this page runs locally in your browser — the token and key are never sent anywhere. The token is split on dots, and the header and payload are base64url-decoded and parsed as JSON as you type; the colors in the editor are purely presentational and mirror the decoded blocks on the right. For ES256/ES384/ES512 the tool rebuilds the exact signing input — the ASCII string header.payload — hashes it with SHA-256/SHA-384/SHA-512, and checks the raw r‖s signature against your public key on P-256/P-384/P-521 using the audited @noble/curves library. Time claims are compared against your machine's clock, so a token that looks expired here may still be accepted by a server with clock skew tolerance. Remember that a valid signature only authenticates the issuer — checking exp, iss and aud is still your job.