Skip to content
MixTool

Text to ASCII converter

See the numeric code behind every character β€” in decimal, hex, binary or octal.

  • Runs entirely in your browser
  • Free Β· no sign-up
  • Works on phone and desktop
Loading tool…

Character codes made easy

Each character has a number: β€œA” is 65, β€œa” is 97, a space is 32. This converter lists those codes for any text, in decimal, hexadecimal, binary or octal, ready to copy into code, spreadsheets or homework.

ASCII covers the 128 basic English characters. For anything beyond β€” Γ©, β‚Ή, emoji, Hindi β€” the tool shows the character's Unicode code point, the modern extension of ASCII.

How to convert text to ASCII codes

  1. 1

    Type your text

    Any characters.

  2. 2

    Choose a number format

    Decimal, Hex, Binary or Octal.

  3. 3

    Copy the codes

    Space-separated and ready to use.

Key features

  • Four bases

    Decimal, hex, binary and octal.

  • Unicode aware

    Code points for emoji and other scripts.

  • Two-way

    Swap direction to decode codes.

  • Instant

    Updates as you type.

Common uses

  • Programming: Get character codes for comparisons and escapes.
  • Education: Learn how text is represented in computers.
  • Data cleaning: Spot hidden or unusual characters in text.

Handy ASCII values

CharacterDecimalHex
Space3220
04830
A6541
a9761
~1267E

Tips and good to know

  • Uppercase and lowercase letters differ by exactly 32 in ASCII (A = 65, a = 97).
  • For the actual bytes stored in a file, use Text to Binary, which shows UTF-8 bytes.

Frequently asked questions

What is the ASCII code of A?

65 in decimal, 41 in hexadecimal and 01000001 in binary.

What happens to emoji?

They're outside ASCII, so the tool shows their Unicode code point, for example 128075 for πŸ‘‹.

Is ASCII the same as Unicode?

The first 128 Unicode code points are exactly ASCII. Unicode extends the list to over a million characters.