Free Online Tool
ASCII Converter
Convert text to ASCII codes and vice versa.
How to Use ASCII Converter
- Type or paste your text into the input box.
- Each character is converted to its ASCII/Unicode code point. Decimal is the default; hexadecimal (0x), octal (0o), and binary (0b) are also available.
- Codes appear space-separated in the output — decode mode turns codes back into text.
- Use Copy to grab the result. Everything runs in your browser.
ASCII covers the first 128 code points (0–127); characters beyond that use their Unicode code point. Letters, digits, punctuation, and spaces each map to a distinct number.
Examples
Text to decimal — input:
Hi
Output:
72 105
Two letters — input:
AB
Output:
65 66
Hexadecimal format — input:
Hi
Output:
0x48 0x69
In hex mode each byte is shown with a 0x prefix, padded to two digits.
Features
Privacy Focused
All processing happens in your browser. No data is sent to servers.
Free Forever
No registration, no limits, completely free to use.