Skip to content
OnlineToolStudio

Text to ASCII Converter

runs in your browserno sign-upfree

Convert text to ASCII codes and ASCII codes back to text — in decimal, hex, binary or octal, with UTF-8 support for accents and emoji.

Converted to decimal codes

13 chars

About this tool

Turn text into ASCII codes — one number per character — or paste codes to get the text back. Choose decimal, hex, binary or octal output and how the values are separated. Characters beyond ASCII, such as é or emoji, are converted as UTF-8 bytes or as Unicode code points, whichever you need.

How to use

  1. Type or paste your text — the ASCII codes appear as you type.
  2. Choose the format (decimal, hex, binary or octal) and the separator.
  3. To go the other way, press ASCII → text and paste the codes.

FAQ

How do I convert ASCII codes to text?

Press ASCII → text, choose the format your codes are in (decimal by default) and paste them, separated by spaces, commas or new lines. For example 72 101 108 108 111 becomes “Hello”.

What about accents, other alphabets and emoji?

They aren’t ASCII, so they are stored in more than one byte. With “UTF-8 bytes” (the default, and what files and web pages use) é becomes two values and an emoji four. Choose “Unicode code points” to get one number per character instead (é = 233, 😀 = 128512).

Which ascii formats can I convert back to text?

Values separated by spaces, commas or new lines, with or without prefixes such as 0x, \x, 0b or U+. Hex and binary also work as one unbroken run (48656C6C6F or 0100100001101001). Values above 255 are read as Unicode code points.

Is my text uploaded?

No. The conversion runs in your browser, so your text never leaves your device.

Related tools

All tools