본문으로 건너뛰기

JWT 디코더

개발자 도구

헤더/페이로드 디코딩, 클레임 및 만료일 확인

빠른 답변 보기

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. 3JSON.parse 헤더와 페이로드 → alg / typ / 선언 필드 확인
  4. 4exp = 1916239022 → compare with current time → pending
  5. 5여기서는 서명을 검증하지 않습니다 — 서명 검증에는 키가 필요하며 반드시 서버에서 완료해야 합니다

표준 선언 필드 (RFC 7519)

필드의미본 token
iss발급 기관—
sub주체(사용자 식별자)1234567890
aud수신 측—
exp만료 시간 (unix 초)1916239022
iat발급 시간 (unix 초)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/ko/c/dev/jwt

이 도구가 제공하는 결과는 참고용일 뿐 어떠한 전문적 조언도 구성하지 않으며, 공식 계산 결과를 기준으로 하십시오.