How to use this tool
What it does
Converts text to EBCDIC hex and hex back to text, in the code page you choose, with a full code chart.
How to use it
- Choose the code page.
- Type text to see its EBCDIC hex, or paste hex to see the text.
- Check each character against its byte, or use the code chart.
What it cannot do
- You choose the code page; it cannot detect it.
- Only the code pages it lists are offered, and no double-byte ones.
This tool opens with an example already filled in.
- Next tool: Record decoder ▸ Decode a whole file with its copybook.
- Guide: Packed fields after FTP
A code page is the table that says which byte stands for which character. The same bytes read differently under different code pages, and this tool cannot detect which one a file used: pick the one the file was written in (037 is common in the US, 1047 on z/OS Unix and Open Systems, 1140 is 037 with the euro sign).
Character ▸ byte
Row = first hex digit, column = second. Dim cells are control characters. Hover a cell for its Unicode value.
ACCURACY · CHECKED AGAINST IBM RULES
Uses the standard IBM code page tables for 037, 500, 273, 285, 1140, 1148 and 1047. A code page is the byte-to-character table a file was written with; the tool cannot detect it, so choose the right one. Bytes with no printable character show as a dot and cannot be turned back into the same bytes from the text.
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.