Convert Scan Codes to ASCII
Turn IBM PC XT set-1 keyboard scan codes back into ASCII characters. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
0 chars · 0 lines
Output
Turn IBM PC XT set-1 keyboard scan codes back into ASCII characters.
Type or paste above to see the result here.
What you paste never leaves this tab
Convert Scan Codes to ASCII is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, the text you paste is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.
- No upload
- No length limit
- Works offline once loaded
- Nothing stored or logged
How to use Convert Scan Codes to ASCII
- 1. Paste your scan codes. Paste hexadecimal PC XT set-1 keyboard scan codes, such as 23 17, into the input pane in the order the keys were pressed. Spaced pairs, a continuous run and 0x prefixes all work.
- 2. See each code remapped. Each scan code is looked up in the set-1 table, which numbers keys by physical position rather than character, and mapped to its letter or symbol. Shift presses (2A, 36) and releases are tracked so capitals and shifted symbols come back, other key releases (80 and up) are ignored, and an unknown code shows as ? with a warning.
- 3. Copy the decoded text. Copy the resulting text once every scan code has been remapped. Paste a new sequence of codes to decode another captured keypress.
When to use Convert Scan Codes to ASCII
Convert Scan Codes to ASCII decodes IBM PC XT set-1 keyboard scan codes, the raw byte a keyboard controller sends for each key press before any character mapping happens, into ASCII letters. Scan codes number keys by physical position, not by character, so this tool applies the standard set-1 layout for you.
- Debugging a keyboard driver or BIOS routine. You're writing low level firmware or a BIOS keyboard handler and are logging raw set-1 scan codes from the controller. Decoding a captured sequence confirms which keys the user actually pressed.
- Reverse engineering an old DOS program's input handling. A DOS era program reads keyboard input directly through scan codes instead of character codes. Converting a logged sequence reveals which keys triggered a specific behavior.
- Studying how keyboards report keypresses. You're learning the difference between a physical scan code and the character it eventually produces. Trying known values like 1E for the A key makes the distinction concrete.
- Diagnosing a stuck or misbehaving key. A hardware keyboard sends an unexpected scan code and you're trying to identify which physical key is malfunctioning. Decoding the reported code narrows down the culprit key.
Examples
Letter
Input
1E
Output
a
Word
Input
23 17
Output
hi
With Shift
Input
2A 23 AA 17
Output
Hi
About the Convert Scan Codes to ASCII tool
Convert Scan Codes to ASCII does its work locally, right in the browser. Turn IBM PC XT set-1 keyboard scan codes back into ASCII characters. There is no upload step, no queue and no account, and your data never travels over the network.
It belongs to the ASCII Tools collection on EditSafely, a set of 81 small, focused ASCII utilities that share the same instant, private workspace.
There is nothing to configure. Provide the input and the result appears on its own. 3 worked examples further down the page show exactly what the tool produces for real inputs.
Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.
Frequently asked questions
Is Convert Scan Codes to ASCII free to use?
Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
How much text can I process at once?
There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.