Enter a value in any field — all others update instantly.
Binary / Hex / ASCII — Convert between binary, hex, decimal, ASCII
Convert between binary, hex, decimal, ASCII. Runs in your browser.
What's included
Features
48 65 6C 6C 6F) to decode multiple bytes to ASCII text at onceAbout this tool
Convert Between Binary, Hexadecimal, Decimal, Octal, and ASCII Instantly
Working with low-level data, network protocols, memory addresses, color codes, or character encoding means constantly translating between binary, hexadecimal, decimal, and ASCII. Doing this in your head for multi-byte values is slow and error-prone. A dedicated converter handles the tedious part — enter a value in any format and all other representations update simultaneously, with no submit button and no page reload required.
This converter handles both single-value and multi-character text conversion. For individual numbers, enter a binary string, hex value, decimal number, or octal value and see all equivalent representations at once. For text strings, switch to Text mode and enter any ASCII or UTF-8 string to get the full byte-level breakdown: each character displayed as its decimal code point, hexadecimal byte, binary representation, and octal value side by side. This is essential when debugging encoding issues in file parsers, protocol implementations, or terminal output where invisible bytes cause unexpected behavior.
Common programming and networking uses. Color codes are written in hex (#FF5733) — convert to decimal RGB values (255, 87, 51) for use in code that expects integer color channels. Memory addresses are displayed in hex by debuggers and disassemblers — see the binary representation to understand which bits are set. ASCII encoding tables map printable characters to decimal codes — verify or look up any code point without memorizing the table. Network protocols use hex dumps in packet captures — paste space-separated hex bytes to decode the ASCII text they represent. Bit masks and flag values are written in binary or hex — convert to decimal to compare against integer literals in your code. The built-in ASCII reference table covers printable characters, digits, uppercase letters, lowercase letters, and common control codes — all organized by category.
Pairs well with Number Base Converter for multi-base arithmetic across bases 2 through 36, and Hash Generator for checksums and cryptographic digests.
Step by step
How to Use
- 1Enter a value in any fieldType a binary string (e.g. 01001000), hex value (e.g. 48), decimal number (e.g. 72), octal value (e.g. 110), or ASCII character (H). All other fields update instantly.
- 2Convert text stringsSwitch to Text mode and type any ASCII or UTF-8 string. The tool shows the full byte-by-byte breakdown — each character as decimal, hex, binary, and octal.
- 3Use the lookup tableBrowse the ASCII table below the converter to look up character codes by category: printable characters, digits, uppercase, lowercase, and control characters.
- 4Copy any representationClick the copy button next to any field to copy that format to the clipboard.
- 5Handle multi-byte hex stringsIn hex mode, enter a space-separated hex string like "48 65 6C 6C 6F" to decode multiple bytes to ASCII text at once.
Real-world uses
Common Use Cases
Got questions?
Frequently Asked Questions
Group the binary digits into nibbles (groups of 4) from right to left, then convert each nibble to its hex digit (0–F). This tool does that conversion automatically — enter a binary string and the hex equivalent appears instantly.
Each ASCII character has a decimal code point (e.g. A = 65). Convert that decimal to binary (65 = 01000001). This tool shows the binary, hex, decimal, and octal for any character or string.
Binary uses base 2 (digits 0–1). Hexadecimal uses base 16 (digits 0–9, A–F). One hex digit represents exactly 4 binary digits (one nibble). Two hex digits represent one byte (8 bits).
Switch to Text mode and type your string. Each character is converted to its ASCII/UTF-8 byte value, then shown as binary, hex, decimal, and octal.
A space is ASCII 32 (decimal), 20 (hex), 00100000 (binary), 40 (octal). Use the ASCII reference table in this tool to look up any printable character.
Yes. Enter space-separated hex bytes like "48 65 6C 6C 6F" in the hex field. The tool decodes each byte to its ASCII character and shows the text "Hello".