Runs in your browser. Nothing you enter is uploaded or logged.
One useful email every Monday
New free tools, AI and network threats that matter, and one quick challenge. No spam, unsubscribe in one click.
How to use it
- 1
Press play, or step with the arrow keys.
- 2
Read what happens at each step on the right.
- 3
Try the real tool linked at the end.
Questions people ask
What is indirect prompt injection?
Instructions hidden in content an AI reads, such as a web page, email or document, that make it do something the user didn’t ask for.
How do you prevent prompt injection?
There is no complete fix. Layer controls: least-privilege tools, scanning untrusted content, separating instructions from data, filtering outputs and requiring human approval for risky actions.
Related tools
- How an LLM writes a sentenceTokens, embeddings, attention and sampling, one animated step at a time.
- Neural network playgroundTrain a network live and watch it learn.
- Gradient descent visualizerSee learning rate and momentum in action.
- Tokenizer explorerReal GPT tokenizers, in many languages.
- Next-token sampling simulatorTemperature, top-k and top-p, visualised.
Link to this tool
Found it useful? Paste this into your blog, wiki or runbook.
<a href="https://toolbini.com/learn/prompt-injection-explained/">How prompt injection works</a>Reviewed by the editorial team · Last reviewed 2026-11 · Report an error