Free Text to ASCII Converter

Type or paste text, press Convert to ASCII and get one decimal code per character. Accents and emoji show as UTF-8 bytes. Free, no account needed.

Words Limit/Search : 100
Upto 1,000 Words Sign up free

Upload File

What Is a Text to ASCII Converter?

Quick answer: A text to ascii converter turns each character into its numeric code, so the word Hello becomes 72 101 108 108 111. Type or paste into the box above and press Convert to ASCII.

Try it with your own text as an ASCII value table for homework or a CTF challenge, not ASCII art, which this tool does not make.

How to Convert Text to ASCII With This Tool

  1. Add text. Type or paste into the Enter or paste Text to convert box, or press Upload File and pick a plain text file.
  2. Convert. Press Convert to ASCII.
  3. Check. Each byte gives one decimal value, space-separated, so a space is 32 and a line break 10. Edge blanks are trimmed. For hex or bits, see below.
  4. Keep it. Press Copy to Clipboard or Save as TXT.

Text to ASCII Examples

Each ASCII table row matched Python's ord() function, except the accented one, which follows str.encode('utf-8').

TextCodesNote
A65Printable characters
a9732 above A
048The digit
Hello, World72 101 108 108 111 44 32 87 111 114 108 10012 values
Line break (press Enter)10Control characters
Tab (press Tab)9Tab character
é195 169Two bytes

Compare in the box.

ASCII vs UTF-8: Why One Character Can Give Several Numbers

Plain ASCII, the character set defined in RFC 20, is a 7-bit character encoding with 128 codes, 0 to 127. Accents, emoji and other scripts have no ASCII code. They become how UTF-8 encodes characters in one to four bytes, so a US flag emoji gave 8 numbers: 240 159 135 186 240 159 135 184.

These are byte values, not code points: ord() says 233 for é, we print 195 169. A note under the result says so. For bits, use Text to Binary, then Binary to Decimal back.

Limits, Line Breaks and Uploads

Guests get 100 words and a free account 1,000. In our tests 101 words were refused, typed text included. The size cap is about 200,000 bytes, not characters, because accents take two.

A carriage return plus line feed becomes one 10, and a non-breaking space gives 194 160. Uploads must be .txt, typed text wins, and conversion happens on our server.

Related Converters

Decimals only here. See all binary converters.

Last updated

Frequently Asked Questions

Frequently Asked Questions (FAQs) is a list of common questions and answers provided to quickly address common concerns or inquiries.

What does text to ASCII mean?

It replaces each character with its numeric code, so A becomes 65. It prints each character code as a decimal number, one per byte, with single spaces. ASCII art is not what it does, because that draws pictures.

What is the ASCII code for a space, a letter and a line break?

A space is 32, capital A is 65, small a is 97, the digit 0 is 48, a line break is 10 and a tab is 9. Capital and small letters differ by exactly 32. Python's ord() agreed on every one.

Why do accents and emoji give more than one number?

ASCII covers only 0 to 127, so every other character is written as UTF-8 bytes, two to four numbers each. The letter é gives 195 169 here, while ord() prints its code point, 233. Both are correct.

Is ASCII the same as Unicode or UTF-8?

Not quite, but they overlap. ASCII is the first 128 codes, and UTF-8 keeps those unchanged before adding the rest, so English text gives matching numbers. For plain English text without accents, the numbers are identical in all three.

Is there a limit on how much text I can convert?

Yes. Guests can convert 100 words and a free account 1,000 words, for typed and uploaded text alike. The hard cap is about 200,000 bytes, which accented letters use up faster because each takes two.

Can I get the codes in hex or binary, or turn them back into text?

Not on this page, which prints decimal only. Decimal to Hex converts a code to hex and Text to Binary gives 8-bit groups. Binary to Text decodes bits, but no page on this site turns a list of decimal codes back into text, so keep your original text.
Share on Social Media: