UtilitiesTools

ASCII Converter

Turn text into ASCII character codes and back again, both ways on one screen. Show codes as decimal, hexadecimal, binary, or octal — so it also works as a text to binary converter. Everything runs in your browser, so your text never leaves the page. No sign-up, nothing to install.

🔒 Converted in your browser. Nothing is uploaded or stored.

What is the ASCII Converter?

The ASCII Converter is a free two-way tool that translates plain text into ASCII character codes and turns those codes back into readable text. It works in both directions on a single page: type a sentence to see its codes, or paste a list of codes to rebuild the original message. You can show each code as decimal, hexadecimal, binary, or octal, which means it also doubles as a text to binary converter and a binary to text decoder.

How to use it

  1. Pick a direction: Text to ASCII to turn words into codes, or ASCII to Text to turn codes back into words.
  2. For Text to ASCII, type or paste your text and choose a number base — decimal, hex, binary, or octal.
  3. Optionally set a separator and toggle zero-padding so every code lines up at a fixed width.
  4. For ASCII to Text, paste your codes; the decoder accepts spaces, commas, or new lines and can auto-detect binary, hex, and decimal.
  5. Tap Copy to grab the result. One glance, done — no sign-up, nothing to install.

The method behind it

Every character on a keyboard maps to a number defined by the ASCII standard and its superset, Unicode. The capital letter A is code 65, lowercase a is 97, and a space is 32. To encode, the tool reads each character, looks up its code point, and writes that number in the base you chose. To decode, it reverses the process — each code is parsed back into a number and rendered as its character. Because it walks the text by Unicode code point, characters beyond plain ASCII (including emoji) round-trip correctly.

Examples

ASCII reference table

CharDecimalHexBinary
(space)322000100000
0483000110000
A654101000001
Z905A01011010
a976101100001
z1227A01111010

Common use cases

Why use this one

Most pages only go one direction, or only handle binary, forcing you to bounce between separate tools. This converter does both directions and four number bases on one screen, supports a text to binary mode plus binary to text decoding, lets you choose separators and padding, and runs entirely in your browser so your text never leaves the page. When you need a related conversion, try our Number Base Converter, Base64 Encode & Decode, or URL Encode & Decode tools.

Frequently asked questions

Can this convert text to binary and back?

Yes. Choose the binary base in Text to ASCII to encode any text as binary, and the ASCII to Text decoder reads binary codes back into words, so it works as a full two-way text to binary converter.

What separates the codes when decoding?

The decoder splits on spaces, commas, semicolons, or new lines, so you can paste codes in almost any format. In auto mode it recognises binary, hexadecimal, and decimal tokens automatically.

Does it support characters beyond standard ASCII?

Yes. It encodes and decodes by Unicode code point, so accented letters, symbols, and even emoji convert correctly, not just the 128 classic ASCII characters.

Is my text sent to a server?

No. Every conversion runs in your browser with JavaScript. Nothing you type is uploaded, logged, or stored, so it is safe for private text and works offline once the page has loaded.