ASCII code

Convert text to decimal or hexadecimal ASCII, and back again.

Codes

Turn a message into ASCII codes or decode a sequence of values into readable text, with format and separator controls.

Settings

Conversion direction

Format

Separator

Text

Result

Quick explanation

Choose the conversion direction, decimal or hexadecimal format, then paste your text or codes. The result updates automatically.

Try this too

Need output directly in base 16?

Use the Hexadecimal code tool to convert text into compact hexadecimal values or perform the reverse conversion.

Try this tool

Additional information

What is ASCII code?

ASCII stands for American Standard Code for Information Interchange. It is a historic table that maps numbers to common characters: English letters, digits, punctuation, and some control characters.

Text to ASCII

Each character in the text is replaced by its ASCII value. For example, A is 65 in decimal and 41 in hexadecimal.

Decimal or hexadecimal?

Decimal uses the familiar digits from 0 to 9. Hexadecimal counts in base 16: after 9, it continues with A to F. That is why the same letter can be written as 65 in decimal or 41 in hexadecimal.

ASCII to text

In the other direction, the tool reads a sequence of values and rebuilds the matching characters. Spaces, commas, dashes, or a custom separator only help distinguish the codes.

Choosing the format

If your message looks like 83 69 67, choose decimal. If it contains values such as 53 45 43 or 0x53 0x45, choose hexadecimal.

Non-ASCII characters

Standard ASCII covers values from 0 to 127. Accented characters such as é or à are not part of that table and are replaced with ? during encoding.

Separators

The separator has no secret meaning: it only makes codes readable. Without separation, 6566 is ambiguous, while 65 66 clearly reads as two codes.

CharacterDecimalHexadecimalUse
Space3220Separate words
04830Start of digits
A6541Start of uppercase letters
a9761Start of lowercase letters

Quick example

The word SECRET becomes 83 69 67 82 69 84 in decimal ASCII. In hexadecimal, it becomes 53 45 43 52 45 54. To learn more, see the Wikipedia page about ASCII.

Limits and reuse

AppErgo tools are provided free of charge for practical and informational purposes. Although care is taken in their design, a result may be incomplete, unexpected or incorrect. Before relying on a result for any important use, check it using an appropriate method.

To report a bug in the tool, you can use the dedicated bug report form.

Results produced by AppErgo tools may be copied and reused freely. When publicly reusing a result, a method or an AppErgo page, a link to the relevant page is appreciated.

Unless otherwise stated, AppErgo texts, images, visual elements, scripts, templates and internal components remain the property of AppErgo.

For any other request, you can contact the webmaster.