How to use this tool
What it does
Uses your copybook to replace chosen fields in a mainframe file with fake values, keeping the record layout valid.
How to use it
- Paste the copybook and choose the data file (or paste it as hex).
- Choose what to do with each field, then press Mask the file.
- Read the report, then download the masked file.
What it cannot do
- It is not anonymisation: fields you keep, free text and keys can still identify people.
- Some field types are copied unchanged, and the report lists them.
- Next tool: Test data generator ▸ Make a fresh test file instead of masking one.
- Guide: all the guides
1 · Copybook
2 · Data
3 · Key
Use one key for files that must still match each other after masking. A typed key should be long and kept private, never sent with the masked file: anyone with the key and a guess of a real value can check that guess. Masked values can repeat by chance, and masking replaces values; it does not by itself make a file anonymous.
4 · Fields to mask
Paste a copybook first, or load the example.
Selective masking, not anonymisation. Only the fields you choose are changed. Fields you leave on Keep, values the tool cannot change, and free text can still identify real people. Read the completion report before you share the file.
ACCURACY · CHECKED AGAINST IBM RULES
Masks byte by byte with the copybook layout, so record lengths and unmasked bytes are unchanged and masked numbers stay valid; covered by tests. Scrambling a number keeps it a valid number of the same size but changes its magnitude (a small balance can become a large one); text keeps its length and character types. It replaces values, it does not certify a file as anonymous: free text, keys and unmarked fields can still identify people, so follow your organisation's data rules.
Check it yourself in one minute
- Open your browser's developer tools: in Chrome or Edge press F12 or right-click and choose Inspect; in Firefox press Ctrl+Shift+E for the Network Monitor; in Safari first turn on Show features for web developers under Settings, Advanced. Then open the Network tab.
- Keep the log across page loads (Chrome: Preserve log; Firefox: Persist Logs), then use the tool: paste your text or open a file and press the button.
- Look at the list. You will see only this page and its own files, loaded when the page opened. Nothing new appears when you use the tool.
- Still unsure? Switch Wi-Fi off and try again. The tool still works.
What the badge counts: requests the browser logged after this page finished loading, other than the site's own files. It reads the browser's own record and makes no request of its own. If your browser cannot give that record, the badge says so. The badge is a convenience; the developer tools are the proof.
The rule that enforces it
Every page carries this Content Security Policy. The browser itself refuses any request outside it; connect-src 'none' blocks fetch, XHR and WebSocket.
default-src 'none';
script-src 'self';
style-src 'self';
img-src 'self' data:;
font-src 'self';
connect-src 'none';
object-src 'none';
form-action 'none';
base-uri 'none';
manifest-src 'self';
worker-src 'self'Suggest a tool or report a wrong answer · How it works and why it is safe
No mail app opens? Write to hello@mainframepath.com . Please do not send confidential code or data.