Text to ASCII Codes

Show the decimal, hexadecimal or binary value of every byte in your text.

Show the code of every byte

No text converted yet.
Codes come from the UTF-8 bytes, so characters above 127 use more than one code.

How to use the Text to ASCII Codes

  1. Type or paste the text you want to inspect.
  2. Choose the number base, separator and optional prefix.
  3. Copy the character codes with the Copy button.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online text to ascii codes.

Type or paste your text and each byte is listed as a number. The default decimal mode matches the classic ASCII code table.
The codes come from the UTF-8 bytes. Letters in plain ASCII use one byte, accented letters use two and emoji use four of them.
Yes. Switch the number base and every value is rewritten, with an optional 0x or 0b prefix in front of each one.
A code point is the Unicode number of a character, while a byte is one unit of its UTF-8 encoding. This tool lists bytes.
Yes. Paste the numbers into the ASCII Codes to Text tool and it rebuilds the original text from the byte values.
No. Everything is calculated locally in your browser, so the text you paste never leaves your device.
You can separate values with a space, a comma, a new line, or join them with nothing at all for the most compact output.
Yes. It is completely free, needs no account and has no limit on how much text you convert.

Last updated: October 10, 2026