الانتقال إلى المحتوى الرئيسي

فك تشفير الرأس/الحمولة، فحص المطالبات وانتهاء الصلاحية

عرض سريع للإجابة

JWT Decoder: Decode header/payload, inspect claims and expiry. Three Base64URL segments: Header.Payload.Signature.

وقت الإصدار1/18/2018, 09:30:22
وقت الانتهاء الصلاحية9/22/2030, 00:37:02
خوارزميةHS256
نوعJWT

Header

{
  "alg": "HS256",
  "typ": "JWT"
}

Payload

{
  "sub": "1234567890",
  "name": "张上测试下统",
  "iat": 1516239022,
  "exp": 1916239022
}

التوقيع (النص الأصلي)

SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

التحقق يحتاج إلى مفتاح — لا تقم بلصق رمز الوصول والمفتاح الخاص بالبيئة الإنتاجية معاً في أداة عبر الإنترنت.

عملية فك الترميز

  1. 1قسّم بـ "." إلى ثلاثة أجزاء: الرأس / الحمولة / التوقيع
  2. 2قم بفك تشفير كل جزء باستخدام Base64url: استبدل -_ بـ +/، وأكمل حشو =، ثم فك التشفير باستخدام UTF-8
  3. 3رأس JSON.parse والحمولة → عرض حقول الإعلان عن alg / typ /
  4. 4exp = 1916239022 → compare with current time → pending
  5. 5لا يتم التحقق من التوقيع هنا — التحقق من التوقيع يتطلب مفتاحاً، ويجب إكماله على جانب الخادم

حقل الإعلان القياسي (RFC 7519)

حقلالمعنىرمز token هذا
issالجهة المصدرة—
subالكيان (معرف المستخدم)1234567890
audالطرف المستلم—
expوقت الانتهاء الصلاحية (ثواني unix)1916239022
iatوقت الإصدار (ثواني يونكس)1516239022
nbfوقت السريان—
jtiمعرف فريد (منع إعادة التشغيل)—
JWT = base64url(header).base64url(payload).base64url(signature). The payload is only ENCODED, not encrypted — anyone can read it; never put passwords or sensitive data inside. Check `alg` isn't "none" and always verify signature + exp server-side.

هل هذه الأداة مفيدة لك؟

كيفية الاستخدام

  1. Paste or type content: drop code/text into the JWT Decoder or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

النقاط الأساسية

  • JWT Decoder is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Decode header/payload, inspect claims and expiry.
  • Results come with formulas and reference tables so you can verify every number.

المبادئ والمعادلات

JWT structure (JSON Web Token)

Three Base64URL segments: Header.Payload.Signature
Header: alg + typ; Payload: claims (sub/iss/exp/iat/nbf)
Timestamps are Unix seconds; expired when exp < now
Base64URL: +/ → -_, padding = dropped
Decoding ≠ verifying — never put secrets in the payload

Example: {alg: HS256} {sub: 1234} is readable by anyone holding the token.

الأسئلة الشائعة

How do I use the JWT Decoder?
Open the page and fill in the input fields — results update automatically. Decode header/payload, inspect claims and expiry.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

الأدوات ذات الصلة

أدلة ذات صلة

المصدر والتحديثات

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

المصادر الموثوقة:

آخر تحديث:

تم مراجعة المعادلات والمحتويات في هذه الصفحة من قبل فريق YiJianSuan، وهي للمرجع التعليمي فقط. يرجى الاعتماد على المصادر الرسمية في العمليات الفعلية.

يتم صيانة المحتوى ومراجعته بشكل دوري من قبل فريق التحرير في YiJianSuan، ويمكن الاطلاع على عمليات التحديث والمراجعة فيالسياسات التحريرية.

استشهد بهذه الصفحة: YiJianSuan. مفكك JWT[EB/OL]. https://www.yijiansuan.com/ar/c/dev/jwt

النتائج التي يقدمها هذا الأداة للمرجع فقط ولا تشكل أي نصيحة مهنية، يرجى الاعتماد على الحسابات الرسمية.