How to use this tool
What it does
Reads a mainframe data file with its copybook and shows every record as a table you can copy as CSV or JSON.
How to use it
- Paste the copybook, then choose the data file (or paste it as hex).
- Pick the record and the code page if the defaults are wrong.
- Read the records as a table, and copy them as CSV or JSON.
What it cannot do
- You choose the code page; it cannot detect it.
- It cannot tell whether the copybook is the right one: a wrong copybook still gives readable-looking values.
- Only the first records of a very large file are read, and the page says so.
- Next tool: What is this file? ▸ Check the bytes of a file that decodes oddly.
- Guide: Packed fields after FTP
- Code page: S0C7 data exception
1 · Copybook
2 · Data
ACCURACY · CHECKED AGAINST IBM RULES
Decoding follows the copybook and the code page you choose; packed, binary and zoned rules are covered by known-answer tests. The tool cannot detect the code page, and a wrong choice is not flagged: text just decodes to the wrong characters. For OCCURS DEPENDING ON with SYNC, offsets are estimates; confirm with the compiler listing.
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.