CTF

JWT Forger (alg none / HS256)

Edit a JWT payload and re-sign it with alg=none or HS256/384/512 for CTFs and authorized testing.

Runs locallyYour input never leaves this device
WORKBENCH

2 MB input limit · no history kept

For CTFs and authorized testing onlyUse it to check whether a server wrongly accepts alg=none or a weak HMAC key. Never use it against systems you're not authorized to test.
HOW TO USE

How to use the JWT Forger (alg none / HS256)

Common web CTF bugs include servers that accept alg=none or use crackable HMAC keys. Load an existing token, change the payload (for example role → admin) and re-sign it with none or a chosen secret. Use only in CTFs and authorized tests.

  1. Paste the JWT and click Load header & payload.
  2. Edit the payload, choose none or HS256, and enter a secret if needed.
  3. Generate the new token and send it to the challenge or test environment.
USE CASES

JWT Forger (alg none / HS256) use cases

  • Test whether a server wrongly accepts unsigned alg=none tokens.
  • Re-sign escalated tokens with a cracked weak key.
  • Reproduce JWT verification flaws in pentest reports.

Related topics: jwt, alg none, jwt attack, hs256, web ctf, token forgery

FAQ

JWT Forger (alg none / HS256) FAQ

Does the JWT Forger (alg none / HS256) upload my data?

No. Tool input and results stay in the current tab. Navigation may load static site assets, but does not upload the data you enter.

Is the JWT Forger (alg none / HS256) free? Do I need an account?

It's free with no account and no usage limits, like every other tool on SecTools.

Can I use the JWT Forger (alg none / HS256) on mobile or offline?

Yes. It works in mobile and desktop browsers and keeps working offline once the page has loaded. You can also self-host the open-source code on an internal network.

Can I treat the JWT Forger (alg none / HS256)'s results as a final verdict?

Use them for triage and cross-checking. For important incidents, keep the original evidence and confirm with your formal verification or forensic process.

SECURITY NOTE

Use it safely

This tool supports analysis and interpretation; it doesn't replace a formal security review. Avoid pasting live credentials, private keys or production passwords on a shared computer. Close the tab when you're done and your input is gone.