Workspace
Mode
Format
decoded text appears here
Letters to Numbers Logo

Letters to Numbers

Trusted Conversion Tools

ASCII Decoder and Encoder

Our free ASCII Decoder and Encoder converts numeric ASCII codes to readable text — or encodes any ASCII text back to numbers. Supports decimal, hexadecimal, binary, and octal formats with flexible separator options for the output. Invalid or out-of-range codes are flagged with descriptive error messages. An interactive ASCII reference table (characters 32–126) lets you click any row to instantly populate the input. Everything runs in your browser — no sign-up, no server uploads.

Who Is It For?

Developers & Programmers

Quickly decoding ASCII code dumps from logs, network captures, or debugging sessions to readable text without writing a script.

Students & Educators

Learning and teaching character encoding fundamentals — how letters map to numbers in decimal, hex, binary, and octal bases.

CTF & Puzzle Solvers

Decoding ASCII-encoded strings in Capture the Flag challenges, escape rooms, and cipher puzzles.

Security Analysts

Decoding obfuscated payloads or shellcode stored as ASCII decimal or hex sequences during malware analysis.

Hobbyist Coders

Exploring how computers represent text as numbers and experimenting with different numeric bases.

How It Works

Choose a mode (Decode or Encode) and a number format (Decimal, Hex, Binary, or Octal). In Decode mode, paste space- or comma-separated ASCII codes and the tool converts each code to the corresponding character. In Encode mode, type any ASCII text and the tool outputs the numeric codes in your chosen format with your preferred separator. Invalid codes and non-ASCII characters are flagged with descriptive error messages. Click any row in the ASCII reference table to insert that character or code directly into the input.

Features

  • Decode decimal, hex, binary, or octal ASCII codes to text
  • Encode any ASCII text to codes in any supported format
  • Handles space-, comma-, and newline-separated token input
  • Separator options for output: Space, Comma, Newline, or None
  • Descriptive error messages for invalid or out-of-range codes
  • Clickable ASCII reference table (characters 32–126)
  • Swap button to flip input and output instantly
  • Copy output to clipboard in one click
  • 100% browser-based — no data leaves your device

Your Privacy Matters

All processing happens in your browser. We never store, send, or log your data. Completely private and secure.