JWT 생성기
브라우저에서 바로 WebCrypto API를 사용하여 HS256으로 서명된 JSON Web Token (JWT) 생성
Header
Payload
Quick-add standard claims:
Signature
Use a strong, random secret of at least 32 characters for HS256.
base64UrlEncode(header) + "." +
base64UrlEncode(payload),
your-secret-key
)
Generated Token
About JWT
- •JWTs consist of three Base64URL-encoded parts separated by dots.
- •HS256 uses a shared secret — keep it safe on your server.
- •The payload is readable by anyone — do not store passwords or PII.
- •Always set an
expclaim to limit token lifetime.
JWT Generator — Create Signed JSON Web Tokens
Generate signed JSON Web Tokens (JWT) with HS256 using the Web Crypto API, right in your browser. Choose your payload claims, set expiry, and get a signed token — no server needed.
JWT structure explained
Header
Algorithm and token type. Example: { "alg": "HS256", "typ": "JWT" }
Payload
Claims about the user or session. Standard claims: sub, iat, exp, iss. You can add custom fields.
Signature
HMAC-SHA256 of base64(header).base64(payload) signed with your secret key. Prevents tampering.
Full token
Three Base64URL-encoded parts joined by dots: header.payload.signature.
FAQ
What is a JWT?
A JSON Web Token is a compact, URL-safe token for securely transmitting claims between parties. It's widely used for authentication — the server issues a JWT on login, and the client includes it in subsequent requests.
Is JWT the same as an API key?
No. API keys are opaque random strings. JWTs are self-contained and carry verifiable claims (user ID, roles, expiry) without a database lookup on each request.
Is it safe to test JWTs in a browser tool?
Yes for testing. Never use your real production secret key in any online tool. Use a separate test key when experimenting.
계속 탐색
추천 개발자 도구 도구…
JSON 포맷터
구문 강조 및 오류 감지로 JSON 형식화, 유효성 검사 및 압축
Base64 인코더/디코더
텍스트 또는 파일을 Base64로 인코딩하고 Base64 문자열을 읽기 가능한 텍스트로 디코딩
URL 인코더/디코더
URL 구성 요소 및 쿼리 문자열 매개변수 인코딩 및 디코딩
UUID 생성기
무작위 UUID(v1, v4) 생성 또는 여러 UUID 일괄 생성
해시 생성기
텍스트 또는 파일에서 MD5, SHA-1, SHA-256, SHA-512 해시 생성
정규식 테스터
실시간 일치 강조 표시로 정규식 테스트
JWT 디코더
JSON Web Token 디코딩 및 검사 — 헤더, 페이로드 및 서명 확인
HTML 포맷터
적절한 들여쓰기와 구문 강조로 HTML 코드 형식화 및 정리