ASCII Codes Encode & Decode
Convert text to ASCII/decimal byte codes and back. This tool does both encode and decode on one page — just pick a mode, paste your text, and click. Everything runs on your device, nothing is sent to a server.
Everything runs in your browser. Your data is never sent to our servers.
Example
Example Input
Hello
Example Output
72 101 108 108 111
How to Use
- 1Choose Encode or Decode mode at the top.
- 2Type or paste your text into the Input field.
- 3Click the button (or press Ctrl+Enter) to process. The result appears in the Output field.
- 4Click Copy to copy the result, or "Swap input/output" to quickly reverse the operation.
About ASCII Codes
The ASCII tool shows the numeric code of each character in your text. For pure ASCII text the values are 0–127; for other characters it shows their UTF-8 byte values.
How it works: text is encoded to UTF-8 bytes and each byte is shown as a decimal number. Decode turns the codes back into characters.
ASCII (American Standard Code for Information Interchange) is the basis of nearly all text encodings. This tool helps you view and convert character codes quickly.
FAQ
Can this ASCII Codes tool both encode and decode?
Yes. This is a single page with a toggle — use Encode mode to transform text, and Decode mode to reverse it. No need for two separate pages.
Is my data sent to a server?
No. ASCII Codes is processed entirely in your browser. The text you enter never leaves your device.