ASCII to Decimal Converter

Convert text to ASCII decimal codes instantly (e.g., 'A' = 65). Free online ASCII to decimal codes converter for developers.

100% Client-Side Processing

Your data is converted entirely in your browser. No data is sent to any server.

What is Text ↔ ASCII (decimal) conversion?

This conversion maps text to decimal byte values (and back). It’s a quick way to see the raw bytes for a string or rebuild text from a byte dump.

This tool treats text as UTF-8 bytes for numeric formats (decimal/hex/binary/octal). Non-ASCII characters (like emoji) will convert to multiple bytes.

How it Works

  • Paste text or decimal byte values.
  • Convert instantly as you type.
  • Copy output.

Decoding accepts spaces, commas, or newlines between numbers.

Common Use Cases

When to use Text to ASCII (decimal)

  • Inspecting raw byte values in logs or files
  • Debugging network protocols (CR=13, LF=10, SP=32)
  • Validating/cleaning input with numeric character codes
  • Education: learning how bytes represent text

When to use ASCII (decimal) to Text

  • Decoding decimal dumps back into readable strings
  • Reconstructing payloads copied from debug output
  • Spotting hidden whitespace/control characters

Examples

Basic conversion

  • Input: Hello
  • Output: 72 101 108 108 111

Protocol debugging

  • Input: CRLF
  • Output: 67 82 76 70

CR = 13 and LF = 10 are separate control bytes.

Emoji (UTF-8 bytes)

  • Input: 👋
  • Output: 240 159 145 139

Want to look up a character code first? Check the ASCII Table for a complete reference.

Conversion Tips

Separators

Use spaces, commas, or new lines between byte values. Consistent separators make parsing easier.

Valid range

Decimal byte values must be in the range 0–255.

Frequently Asked Questions

Is this classic ASCII only (0–127)?

Classic ASCII is 0–127, but this tool works with UTF-8 bytes (0–255 per byte). Non-ASCII characters may become multiple bytes.

Is my data being sent anywhere?

No. All conversion happens locally in your browser.

Common ASCII values

  • Space: 20 (hex) / 32 (decimal)
  • 0-9: 30-39 (hex) / 48-57 (decimal)
  • A-Z: 41-5A (hex) / 65-90 (decimal)
  • a-z: 61-7A (hex) / 97-122 (decimal)

See the full ASCII Table for all character codes. ASCII Table.