Skip to the tool
Binary Translator Free tools

ASCII converter

Type text to get its ASCII codes, or paste codes to get the text back. Pick decimal, hex or binary codes; with hex it works as an ASCII hex converter.

Updated · Written and checked by Murugan Vellaichamy

Waiting for input
Text
Binary
Try:

Byte by byte

Every byte of your input, with the place values that add up to it. Hover a row to find that byte in the output.

CharacterBinaryPlace valuesDecimalHex

The same codes, four ways

CharacterDecimalHexBinaryOctal
H724801001000110
i1056901101001151
!332100100001041
(space)322000100000040
7553700110111067

An ASCII code is just a number from 0 to 127. Decimal, hex, binary and octal are four ways of writing the same number. Use the menu above the box to switch between them; the codes you paste back can be in whichever form you picked.

Sources and method

Codes are byte values from 0 to 255, written in the form you pick. With ASCII selected, only 0 to 127 are accepted.

The ASCII option here is strict 7-bit ASCII (codes 0 to 127, per RFC 20) and rejects anything else. Browsers treat the label “ascii” as Windows-1252, which is why the two are listed separately.

Questions

What is an ASCII code?

The number ASCII gives a character. “A” is 65, “a” is 97, a space is 32 and the digit “0” is 48. The full list is in the ASCII table.

Can I convert accented letters?

Not in ASCII, which has no accented letters. Switch the encoding to UTF-8 to see the bytes UTF-8 uses for them.

What separators can I use between codes?

Spaces, commas, semicolons or new lines all work.

More converters

Copied