EBCDIC converter
Convert text to and from EBCDIC mainframe code pages like CP037, CP500 and CP1140.
EBCDIC converter
EBCDIC is the single-byte character encoding IBM mainframes have used since the 1960s, and it still shows up whenever a modern system exchanges files with a mainframe, a print spool, a COBOL batch job or an old tape image. This tool converts plain text to EBCDIC and back, so you can read a mainframe dump or build one without installing anything.
Pick a direction, a code page and how each side is written. "Text to EBCDIC" turns typed characters into EBCDIC bytes, shown as hex digits, a decimal byte list or raw characters — hex is the usual choice for pasting elsewhere. "EBCDIC to text" reverses that: paste a hex dump, a byte list or raw EBCDIC characters, matching the input format, to get readable text back. Three code pages are available: CP037 (US/Canada), CP500 (International, which swaps a few punctuation positions with CP037) and CP1140 (CP037 plus the euro sign). Wrap output every N characters to match a fixed-width record, and choose whether an odd hex digit is padded with a leading zero or dropped.
EBCDIC's repertoire is limited: CP037 and CP500 cover ASCII plus the accented Western-European letters in Latin-1 (á, é, ü, ñ, ß and similar), but nothing beyond that — a Slovak č, a Polish ą or an emoji has no byte in any of these pages, and the tool reports exactly which character and position caused the problem rather than dropping it silently. Line endings, tabs and other control characters convert like any other byte.
Everything runs locally in your browser — nothing you paste is uploaded anywhere. Copy the result, download it as a .txt file, use "Send output to input" to decode what you just encoded, or clear the panel to start over.