Text to ASCII Converter

Convert any text into its ASCII codes in decimal or hexadecimal, for coding, debugging and learning. Free, fast and private.



Your result will appear here.

How to use Text to ASCII Converter

  1. Type or paste your text.
  2. Tick the hex box if you want hexadecimal codes instead of decimal.
  3. Click Convert to ASCII to see the codes.

Note: this tool runs in your browser. Nothing is uploaded.

Frequently Asked Questions

Is this tool free?

Yes, it is 100% free with no sign-up. Your data stays in your browser.

Do I need to install anything?

No. It works in any modern browser on phone, tablet or computer.

Is my data uploaded?

No. This tool runs entirely in your browser and your input is never uploaded to a server.

What is the ASCII code for a space?

32 in decimal (20 in hex). Letters A–Z are 65–90, a–z are 97–122, and digits 0–9 are 48–57.