Binary, Hex & Text Converter
Convert between text, binary, hexadecimal and decimal in one place — pick what your input is and see all the others at once, with full UTF-8 support.
🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.
This converter moves text between binary, hexadecimal and decimal — in every direction. Tell it what your input is, paste it in, and it shows all the other representations at once: the readable text, the 8-bit binary, the hex bytes and the decimal byte values, each with its own copy button. Convert text to binary, binary to text, text to hex or hex to text without switching tools or fiddling with settings.
It works on the actual bytes of your text using UTF-8, the encoding the web runs on. That means it's correct for more than plain ASCII: an emoji or an accented letter becomes the exact byte sequence a computer stores, and converting those bytes back reproduces the original character. Binary is shown as clean 8-bit groups and hex as two-digit bytes, so the output lines up with how data is really laid out in memory and files.
Formatting options keep the output tidy: toggle spacing between bytes for readability or pack it tight, and switch hex to uppercase. Invalid input — an odd number of hex digits, a stray character, a decimal value over 255 — gets a clear, specific error instead of a wrong answer. It's handy for programming, electronics and networking work, for learning how characters map to bytes, and for debugging encodings. Everything runs in your browser. For Base64 specifically, use the Base64 tool.
How to use
- Set “Input is” to match what you're pasting: text, binary, hex or decimal.
- Type or paste your input into the box.
- Read the conversions — text, binary, hex and decimal all update instantly.
- Toggle spacing between bytes or uppercase hex to match the format you need.
- Copy any representation with its Copy button.
Examples
“Hi” becomes “01001000 01101001” — one 8-bit group per character.
“Hello” becomes “48 65 6c 6c 6f”, the hex byte values you'd see in a hex editor.
Paste “01001000 01101001” with the input set to Binary to read “Hi” back out.
An emoji or accented letter shows its full multi-byte UTF-8 sequence in hex and binary, and converts back perfectly.