Local StudioAI TOOLS

Prompt Injection Test Bench

Explore two fixed colour examples, then compare a previously recorded response with an exact expected answer.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
Prompt Injection Test Bench showing separate Blue Card instruction and data channels and a labeled simulated pass.
The Blue Card sample shows the two text channels and the fixed Blue response.

How to Review a Simulated or Recorded Response

  1. Open the HTML, review Security Check, then select Continue.
  2. Choose Blue Card or Green Card and select Open Sample. Read the Instruction and Data channels and confirm the result says Simulated.
  3. Edit the channel notes if helpful. A simulation always uses the fixed reply for the opened colour example.
  4. Enter an expected response and paste previously recorded text. Select Compare Recorded Response for a separate Imported result. You can compare pasted text without opening a sample.
  5. Enter at least one character in each response field for an imported comparison. Case, spaces and line breaks count. Text fields normalize CRLF and CR line endings to LF.
  6. Select Download Report to save the current result as JSON. The report includes all visible channel notes and the full expected and observed text.
  7. Each field accepts up to 65,536 UTF-16 code units. The teaching examples and literal comparison work entirely in the browser.

Separate the Instruction, Data and Response

  • Use the two fixed colour prompt injection examples to see a canned response and its expected answer.
  • Compare a recorded response from an LLM prompt security test with your own expected text.
  • Read the result labels and download a JSON report with the exact compared strings.

Formats and Compatibility

InputPlain text entered or pasted into separate fields, and two built-in colour examples.
OutputA labeled simulated or imported result with a literal pass or fail and a downloadable JSON report.
BrowserA modern browser with local file support.
ScopeTwo deterministic colour examples and exact comparison of manually pasted text.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

Use this prompt injection testing tool without uploading. The browser-based workbench compares pasted text on your device with no upload or account.

Select Open Sample to see the workflow with the included example.

Plain-Text Input and JSON Reports

This local prompt injection testing tool preserves case, spaces and line breaks as shown in the text fields. Use up to 65,536 UTF-16 code units per field.

Compare the Exact Response

Simulated runs use a fixed fixture reply. Imported runs compare a response you supply with your expected text. The free prompt injection testing tool labels each run by its source.

Frequently Asked Questions

How do I run the prompt injection testing tool offline?

Use the prompt injection testing tool download, extract the ZIP, and open the standalone HTML in a supported browser.

Can I use the prompt injection testing tool in browser?

Yes. Open one of the colour examples or enter the expected and previously recorded responses yourself. The comparison runs in this page.

What makes a comparison pass?

The compared strings match exactly as entered, including case, spaces and line breaks. Pasted CRLF and CR line endings become LF in the text field.

What does a Simulated result represent?

It shows the fixed reply for one of the two colour examples. Imported results come from text that you paste from a previously recorded response.

What is saved in a report?

The source label, match result, expected and observed response, and both channel notes. The report is saved when you choose Download Report.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.