Monu Tools

JWT 생성기

브라우저에서 페이로드와 비밀키로 HS256 JSON Web Token을 생성하고 서명합니다.

JWT 생성기 사용 방법

  1. 01

    페이로드를 JSON 객체로 편집하세요.

  2. 02

    HS256 비밀키를 입력하세요.

  3. 03

    생성을 클릭하고 서명된 토큰을 복사하세요.

Sign tokens in the browser

A JWT generator that builds and signs JSON Web Tokens from your payload and secret, entirely in your browser using the Web Crypto API. It pairs with the JWT decoder, which inspects an existing token.

How a JWT is put together

A JWT has three parts separated by dots: a header, a payload of claims, and a signature, each Base64url encoded. The signature is what makes the token trustworthy: it proves the payload has not been altered and was issued by someone who holds the secret.

HS256 and your secret

This tool signs with HS256, that is HMAC using SHA-256, the most common symmetric JWT algorithm. The same secret both signs and verifies the token, so it must be kept private on the server.

For HS256, use a long, random secret. A short or guessable secret undermines the whole token, since anyone who guesses it can mint valid tokens of their own.

Encoded, not encrypted

An important point about JWTs: the payload is only encoded, not encrypted. Anyone with the token can read its claims by Base64-decoding them, so never put passwords or sensitive data in a JWT. The signature stops tampering, it does not provide secrecy.

Security note

Because signing happens locally, your secret and payload never leave your device. Even so, avoid pasting real production secrets on a shared or public computer.

자주 묻는 질문

어떤 알고리즘을 사용하나요?

HS256(HMAC with SHA-256)으로, 가장 일반적인 대칭 JWT 알고리즘입니다. Web Crypto API를 사용하여 브라우저에서 서명됩니다.

비밀키가 어딘가로 전송되나요?

아니요. 서명은 브라우저에서 완전히 실행되므로 비밀키와 페이로드가 기기 밖으로 나가지 않습니다. 그래도 공용 컴퓨터에서 실제 비밀키는 사용하지 마세요.

토큰을 디코딩할 수도 있나요?

네. JWT 디코더 도구를 사용하여 기존 토큰의 헤더와 페이로드를 검사할 수 있습니다.

출처

이 도구 임베드하기

이 도구를 직접 운영하는 웹사이트에 추가하세요. 아래 코드를 복사하면 자동으로 최신 상태로 유지됩니다.

<iframe src="https://monu.tools/embed/ko/jwt-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

관련 도구