ASCII Converter

Convert between ASCII and Text, Hex, Binary, Decimal, Base64, Octal, and String formats. All conversions run locally in your browser.

100% Client-Side Processing

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

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a character encoding standard that represents text as numbers. Classic ASCII uses values 0–127, and many tools also use 0–255 (“extended” ranges) depending on context.

This converter helps you switch between the character view (text) and numeric/encoded views (decimal, hex, binary, octal, Base64).

How the Converter Works

  • Select formats: Choose a From and To format.
  • Paste input: Enter text, numbers, or encoded values.
  • Instant output: The output updates automatically as you type.
  • Swap: Flip the conversion direction with one click.

All conversions run locally in your browser. Nothing is uploaded or stored.

Supported Formats & Examples

Text ↔ ASCII (decimal codes)

Example: Hello72 101 108 108 111

ASCII (text) ↔ Hex / Binary / Octal / Decimal

Example (A): hex 41, binary 01000001, octal 101, decimal 65

ASCII ↔ Base64

Example: HelloSGVsbG8=

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

Need a full reference? Use our ASCII Table to browse all characters with decimal, hex, octal, and binary values.

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

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.

Is my data sent to a server?

No. All conversion happens in your browser and works offline once loaded.

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.