Get Started

Decode anything with GCHQ's CyberChef

Britain's intelligence agency gave away its "cyber Swiss army knife". It runs in your browser, needs no install, and turns scrambled text, scam links and mystery files into something you can read.

20 minBeginnerTools: FreeFree mission
Tested 7 Oct 2026 · CyberChef (gchq.github.io build of 3 Oct 2026), Microsoft Edge, Windows 11
CyberChef open and the layout making sense
Hidden text decoded automatically with one button
Tracking links unwrapped, and a scam link's hidden destination unmasked
  • Suspicious links made safe to share, and downloads checked against their official fingerprint
  • One-click recipe links for every example, plus a three-layer decode challenge to finish
Before you start
  • A browser. That's it.
01/07Open CyberChef and learn the four boxes0 done
STEP 01 of 07~3 min

Open CyberChef and learn the four boxes

Everything in CyberChef works the same way, so learn it once.

Open gchq.github.io/CyberChef ↗. It's the official site from GCHQ's GitHub account, and the code is open source (Apache-2.0). Your data is processed in your own browser, not sent to a server.

  • Operations (left): over 500 tools. Search for one at the top.
  • Recipe (middle): drag operations here. They run top to bottom, like a recipe.
  • Input (top right): paste text or open a file.
  • Output (bottom right): the result, updated instantly.
TipEvery example below has a one-click link that opens CyberChef with the recipe and input already loaded. Try each one by hand first, then use the link to check your work.
TipWant it fully offline? Click Download CyberChef at the top left. It's a single folder you open in your browser, no internet needed.
✓
CheckpointYou can see the four areas: Operations, Recipe, Input and Output.
Stuck? Ask the community
STEP 02 of 07~3 min

Let Magic decode it for you

Don't know what something is? CyberChef can usually work it out.

  1. Paste this into Input, then drag Magic (in Favourites) into the Recipe:

    Input
    SGVsbG8gZnJvbSBDcmFja2VkIEFJLiBZb3UganVzdCBkZWNvZGVkIGJhc2U2NCE=
    CyberChef Magic operation detecting Base64 and decoding it to Hello from Cracked AI
    Magic spots that it's Base64 and decodes it straight away.
  2. That's Base64, a way of writing any data as letters and numbers. You'll find it in emails, web addresses and config files. Click a suggested recipe in the output to load it. Open this example in CyberChef ↗.

    TipWhen Magic finds nothing, open its options and tick Intensive mode. It then tries harder, running more decodings and combinations, which often cracks something wrapped in two or three layers. It's slower, so leave it off for everyday one-layer jobs.
✓
CheckpointThe output reads "Hello from Cracked AI. You just decoded base64!"
Stuck? Ask the community
STEP 03 of 07~3 min

Unwrap a tracking link

See where a link really goes, and what it's telling the site about you.

  1. Links in emails and search results are often wrapped in a redirect, with the real address scrambled inside. Paste this example into Input and use the Parse URI operation:

    Input
    https://www.google.com/url?q=https%3A%2F%2Fshop.example.com%2Fsale%3Futm_source%3Dnewsletter%26utm_campaign%3Dautumn&sa=D&ust=1759800000
    CyberChef Parse URI showing the q argument decoded to the real shop address with utm tracking tags
    The real destination is the q value. The utm_ parts tell the shop which newsletter and campaign you came from.
  2. Open this example in CyberChef ↗.

    TipDelete everything after a ? that starts with utm_ before you share a link. The page still works, and you stop passing on tracking tags.
✓
CheckpointYou can read https://shop.example.com/sale as the real destination in the output.
Stuck? Ask the community
STEP 05 of 07~2 min

Make a suspicious link safe to share

Warn a friend or report a scam without anyone clicking the link by accident.

  1. Paste a dodgy message into Input and use Defang URL on its own. It rewrites links so they can't be clicked:

    CyberChef Defang URL turning a parcel scam link into hxxps with bracketed dots
    Output
    Input:  Your parcel is held: https://parcel-redelivery-fee.example/pay?id=8831
    Output: Your parcel is held: hxxps[://]parcel-redelivery-fee[.]example/pay?id=8831
  2. Security teams share scam links this way. Send the defanged version in group chats or when reporting it. Open this example in CyberChef ↗.

    CarefulNever paste passwords, bank details or anything private into any website, CyberChef included, unless you're using the offline version. Don't open a suspicious link to "check" it. In the UK, forward scam texts to 7726 and scam emails to report@phishing.gov.uk.
✓
CheckpointThe link in your output shows hxxps[://] and can't be clicked.
Stuck? Ask the community
STEP 06 of 07~3 min

Check a download is the real thing

Many projects publish a "SHA-256" fingerprint. If yours matches, the file wasn't tampered with.

  1. Open CyberChef with SHA-256 ready ↗, then click the open file icon on the Input panel and choose the file you downloaded. CyberChef reads it in your browser.

    CyberChef SHA2 256 producing a 64 character fingerprint for a PDF file
  2. Compare the 64-character result with the one on the project's official download or Releases page. Windows has the same check built in, and both tools give the identical fingerprint for the same file:

    Windows (PowerShell)
    Get-FileHash .\yourfile.zip -Algorithm SHA256
    Mac
    shasum -a 256 yourfile.zip
    TipYou can drag a file straight from your file manager onto the Input panel instead of using the open-file icon. It still reads the file inside your browser, nothing is uploaded.
    TipA different fingerprint means a different file. Don't run it: download it again from the official page.
✓
CheckpointYou've produced a 64-character SHA-256 fingerprint for a file.
Stuck? Ask the community
STEP 07 of 07~3 min

Final challenge: crack a three-layer message

Put it all together. Magic gets you most of the way; the last layer is up to you.

  1. This message has been wrapped three times. Paste it into Input and decode it:

    Challenge
    54474a6f4948426c626e4234636e4567646d637549455679626e6b67626d46756557786d5a32596763485675646d45675a584a77646d4e795a694279613235775a336c7349486c32654849675a3356325a69343d
    • Start with Magic. It peels off two layers and gives you a recipe to click.
    • The result is real words, but jumbled. Look at the letters: the same short words keep repeating in a shifted form.
    • Find the operation that shifts every letter back, add it under the recipe Magic gave you, and read the message.
✓
CheckpointThe output is a plain English sentence that starts "You cracked it."
If it breaksI've got "Lbh penpxrq vg..." and can't go further.
I've got "Lbh penpxrq vg..." and can't go further.
That's ROT13, which shifts every letter 13 places. Add the ROT13 operation. Still stuck? Here's the full answer recipe ↗: From Hex, From Base64, ROT13.
Still stuck? Ask the community

Your first wins

It works. Now do something with it.

Ask AI what a recipe does

CyberChef recipes can be saved and shared as text. Paste one into Claude or ChatGPT to understand it:

Prompt
Explain this CyberChef recipe step by step in plain English, and what kind of input it's designed for:

[paste the recipe from the save icon]

Share your own recipe link

Built a recipe you like? Click the save icon above the Recipe and copy the link. Anyone who opens it gets your exact recipe, just like the links in this mission.

Pair it with Level 0

Spotting fake repos is easier when you can check fingerprints. Every time a GitHub release lists a SHA-256, now you can verify it.

Next: strip the location out of your photos

Photos can carry the GPS spot they were taken. Remove it before you share them.

Undo it cleanly

How to remove everything this mission installed.

Nothing to uninstall. If you downloaded the offline version, delete its folder.

Next mission · Reverse engineer anythingGet the prompt behind any GitHub project in 4 seconds
→