ASCII Converter

Convert text to decimal, hex, binary, and octal ASCII codes as you type — or paste codes to decode them back into text.

This tool converts plain text into ASCII character codes and back again, entirely in your browser. Type or paste text on the left to see its decimal, hexadecimal, binary, and octal codes update instantly — no submit button, no page reload. Or flip it around: paste a hex, binary, or decimal code string on the right and get readable text back. Codes can be space- or comma-separated, or pasted as one continuous string (like 48656c6c6f for hex) — the format is auto-detected, with a manual override if it guesses wrong. For a static reference of every ASCII code, see the ASCII table.

Text → ASCII Codes

Codes → Text

ASCII conversion, answered

How do I convert hex to ASCII?

Paste your hex string into the "Codes → Text" box — with or without spaces, like "48 65 6C 6C 6F" or "48656C6C6F" — and it decodes each byte into a character automatically. Pick "Hexadecimal" from the Format menu if auto-detect guesses wrong.

How do I convert ASCII to hex?

Type or paste your text into the "Text → ASCII Codes" box. The Hexadecimal field updates instantly with each character's two-digit hex code, separated by spaces — click Copy to grab it.

How do I convert between ASCII and decimal?

Decimal is the plain number form of an ASCII code — "A" is 65. Type text into the left panel to see its Decimal codes, or paste decimal numbers separated by spaces or commas into the right panel (Auto-detect or the Decimal option both work) to translate them back into text.

How does binary to ASCII conversion work?

Each ASCII character is one byte, so its binary form is 8 digits — "H" is 01001000. Paste a binary string into the "Codes → Text" box, spaced or unspaced as long as the digit count is a multiple of 8, to decode it back into text.

What's the difference between ASCII and Unicode?

ASCII is a 128-character set (codes 0–127) covering English letters, digits, and basic punctuation. Unicode is a far larger standard covering every written language and emoji, and its first 128 code points are identical to ASCII — so plain ASCII text is always valid Unicode.

What happens with characters outside the ASCII range (0–127)?

Accented letters, most emoji, and non-Latin scripts fall outside ASCII. This converter still encodes and decodes them correctly using their full Unicode code point — for example "é" is 233 — and a note appears whenever your input includes non-ASCII characters.

Is this ASCII converter free, and does it store my text?

Yes, it's free with no signup required. Everything runs client-side in your browser with plain JavaScript — nothing you type is uploaded, logged, or stored anywhere.

Need stylized text instead?

UltraTextGen turns plain text into bold, italic, cursive, and 100+ other Unicode font styles — free and instant.

Open UltraTextGen →