Loona Automation logoLoona Text Tools
Home › Text Tools › Text to ASCII Converter

Text to ASCII Converter - The Codes Behind Your Characters

In short: the Text to ASCII Converter shows the numeric code of every character in your text - in decimal, hex, octal and binary - and converts lists of ASCII codes back into readable text.

Every character on your screen is stored as a number: "A" is 65, "a" is 97, and a space is 32. Programmers, students and puzzle-makers need those numbers all the time. Type text below to see its codes, or paste codes to read the text hidden inside them.

Private by design: everything in this tool happens 100% in your browser with JavaScript. Your text is never uploaded to a server, never stored and never seen by us - close the tab and everything is gone.

How to use the Text to ASCII Converter

  1. Type or paste plain text and click "Text to ASCII codes" to see every character's decimal, hex, octal and binary value in a table.
  2. The decimal codes are also listed in the result box, ready to copy.
  3. To decode instead, paste space-separated decimal codes (like 72 101 108 108 111) and click "ASCII codes to text".

How it works

ASCII (American Standard Code for Information Interchange) gives every common character a number from 0 to 127: digits 0-9 are codes 48-57, capital letters run 65-90, small letters 97-122, and common symbols fill the gaps. Characters beyond plain ASCII - accented letters, Urdu script, emoji - use the wider Unicode standard, and this tool reports those code points too, labelled as Unicode where they pass 127. Decoding simply looks each number up and joins the characters back together.

Worked example

Type "Hi!" and the table shows H = 72 (hex 48, binary 1001000), i = 105 (hex 69), ! = 33 (hex 21). Paste "72 105 33" into the decoder and you get "Hi!" straight back.

Frequently Asked Questions

Is this ASCII converter free?

Yes - completely free, with no sign-up and no limit.

What is the difference between ASCII and Unicode?

ASCII covers 128 characters - English letters, digits and common symbols. Unicode covers every writing system and emoji; its first 128 code points are exactly the ASCII ones, so ASCII text is valid Unicode.

Which codes does the decoder accept?

Decimal numbers separated by spaces, commas or new lines, from 0 up to 1114111 (the full Unicode range).

Is my text uploaded anywhere?

No. The conversion happens 100% in your browser - your text never leaves your device.

Why do capital and small letters have different codes?

They are different characters in the table - "A" is 65 and "a" is 97, exactly 32 apart, a quirk programmers have used for decades to flip case.

Related Text Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.