ASCII Text Converter

Free ASCII text converter. Convert text to ASCII decimal and hex codes, or convert a list of ASCII codes (decimal or hex) back to text, including Unicode code points.

AI-ready Use this tool with AI

This tool has a free JSON API. Copy a prompt or skill below to use it with ChatGPT, Claude, or any AI agent โ€” no API key needed.

API docs
โ€”
Enter text or ASCII codes above.

How ascii text converter works

Every character has a numeric code: A is 65, B is 66, the space is 32, and so on. ASCII defines codes 0-127 for English letters, digits, and symbols; Unicode extends this with code points for characters in every writing system. Converting between text and codes is useful for debugging, encoding puzzles, and understanding how text is stored.

This converter handles both directions. "To" maps each character to its code point (decimal) and reports the hex form too. "From" parses a list of codes โ€” decimal (like 72 73) or hex (like 0x48 0x49), separated by spaces or commas โ€” and joins them into text. It uses code points rather than just ASCII, so it handles characters above 127 as well.

Type text or paste codes, pick a direction, and the tool returns the converted result. Use it to inspect the numeric values of characters, decode a list of codes, or build strings from code points in scripting.

Frequently asked questions

What is an ASCII code?
A number from 0 to 127 representing a character: A is 65, a is 97, 0 is 48, space is 32. This converter uses Unicode code points, which extend ASCII to cover all characters.
How do I convert codes back to text?
Switch to "from" mode and paste the codes separated by spaces or commas. Decimal (72 73) and hex (0x48 0x49) are both accepted; the result is the joined text ("HI").
Does it handle non-ASCII characters?
Yes. It uses code points, so characters above 127 (like accented letters or emoji) get their full Unicode value and convert back correctly.
What separators can I use for codes?
Spaces or commas. The parser splits on both, so "72,73" and "72 73" both work, and a leading "0x" marks a hexadecimal code.