Text guide
How to convert text to ASCII codes
Text-to-ASCII conversion replaces each supported character with its decimal code from 0 through 127.
Open the Text to ASCII toolMap each character to its ASCII value
Standard ASCII assigns decimal values to English letters, digits, punctuation, and control characters. Uppercase A is 65, lowercase a is 97, and the space character is 32.
Worked example
Hi! becomes 72 105 33. H maps to 72, i to 105, and the exclamation mark to 33.
How to convert text to ASCII
- Paste plain ASCII-compatible text into the ToolPixels Text to ASCII tool.
- Select Show ASCII codes.
- Read the space-separated decimal values.
- Copy or download the result.
The converter includes whitespace and control characters. A normal space becomes 32, a tab becomes 9, and a line feed becomes 10.
Standard ASCII has a strict limit
ASCII cannot directly represent accented letters, most currency symbols, non-Latin scripts, or emoji. Values from 128 through 255 belong to various legacy code pages often called extended ASCII, but the character assigned to a value changes with the code page.
The ToolPixels converter rejects non-ASCII characters rather than inventing an uncertain mapping. Use Text to Binary when you need UTF-8 bytes for Unicode text.
Visible text can contain invisible codes
Line endings and tabs are characters even though they do not draw a visible glyph. Browsers normally normalize pasted line endings to LF, so a newline in the text is represented as decimal 10 in this tool.
If another system expects CRLF, it may require codes 13 and 10 for each line ending. Confirm the exact file format rather than assuming the display matches stored bytes.
Common questions
Is Unicode the same as ASCII?
No. Unicode covers a far larger character set. Its UTF-8 encoding preserves ASCII byte values for the first 128 characters but uses multiple bytes for many others.
How do I convert the codes back?
Use the ASCII to Text tool with decimal values separated by spaces, commas, tabs, or line breaks.