Language
English

ASCII Converter

Convert text to ASCII codes and back

Decimal
Input
Enter ASCII text, for example: Hello, ASCII!
Output
The conversion result will appear here...

togotools.top technical reference

Technical reference

Convert ASCII text to decimal, hexadecimal, binary, or octal codes in your browser, and decode those values back to text. Standard ASCII 0–127 is enforced by default, with optional support for extended byte values 128–255.

Conversion rules

Standard ASCIIAllows 0–127 for letters, digits, punctuation, and control characters
Extended bytesOptionally allows 128–255; the character mapping depends on the chosen character set
Input formatsCode decoding accepts whitespace and punctuation separators; hex, binary, and octal also accept continuous code strings
Number basesSupports decimal, hexadecimal, binary, and octal

Example: text to ASCII codes

ASCII is a character encoding standard, not encryption. Anyone can convert the numeric values back to the original characters, so it should not protect sensitive information.

text -> ascii
Input: Hello
Decimal: 72 101 108 108 111
Hexadecimal: 48 65 6C 6C 6F

Limits

  • Chinese characters, emoji, and other Unicode characters are outside standard ASCII and are rejected by default.
  • 128–255 is only an extended byte range, not one universal character set. Use an explicit encoding such as UTF-8 or Windows-1252 for interoperable data.
  • Codes are parsed using the selected base; hexadecimal and binary values should not be entered as decimal numbers.

Frequently asked questions

Can ASCII represent Chinese characters?

No. Standard ASCII contains only 0–127. Chinese, emoji, and other Unicode characters require a Unicode encoding such as UTF-8.

Is extended ASCII a single standard?

No. Values 128–255 map to different characters in different character sets. This tool provides an optional byte-value mapping and does not replace a specific character-set encoder.