Mega Dev Tools

JWT Generator

Build and sign JWTs (HS256/384/512) with a simple form.

JWT Generator

Quickly sign HS256/384/512 tokens for local testing.

HS256exp: 60m

Payload (JSON)

Edit claims and regenerate to see the updated token.

Add any custom claims your API expects (for example sub, role, email).

Generated JWT

HS256/384/512 signed token. Copy and paste into your API client or app config.

Fill in the options on the right and click Generate to create a JWT.

JWT options

Algorithm, secret key, and payload claims.

Algorithm

Secret key

Use a long, random string. Avoid production secrets.

Standard claims

Expires inminutes

Set to 0 or leave empty for no exp claim.

Security reminder

This tool is best for testing and local development. Avoid pasting production secrets or live tokens.