⚙️

Text Encoding Converter

Convert text to Binary, ASCII decimal codes, or Hexadecimal — and back. Three encoding modes in one tool, all running entirely in your browser.

Encoding Type
Binary: Each character is represented as 8-bit binary (e.g. 'A' = 01000001). Groups separated by spaces.

About Text Encoding Converter

This tool converts text between plain characters and three common numeric encodings: binary (base 2), ASCII decimal codes (base 10), and hexadecimal (base 16). All three represent the same underlying byte values — just in different number systems.

Encoding Types Explained

Binary — Each character is shown as 8 bits (e.g. 'H' = 01001000). Used in computer science education and low-level data representation. · ASCII Decimal — Each character is its decimal ASCII code (e.g. 'H' = 72). Used in programming when inspecting character values. · Hexadecimal — Each character is its hex byte (e.g. 'H' = 48). Used extensively in debugging, memory inspection, color codes, and network protocols.

Frequently Asked Questions

ASCII defines 128 characters (0–127) using 7 bits. Unicode is a superset supporting over 140,000 characters from all languages. This tool operates on UTF-8 bytes, so multi-byte Unicode characters (e.g. emoji, Chinese characters) will produce more than one byte group per character.
Paste space-separated 8-bit groups (e.g. "01001000 01101001"). Each group of 8 bits represents one byte/character. The tool will decode them back to text.
Enter space-separated 2-character hex pairs (e.g. "48 65 6C 6C 6F") or a continuous hex string (e.g. "48656C6C6F"). Both formats are accepted.
UTF-8 is the dominant text encoding on the web, fully backwards-compatible with ASCII for characters 0–127, and capable of encoding all Unicode characters. It is what browsers, servers, and modern programming languages use by default.