Binary Decoder
Last updated:
Decode binary code in multiple modes. Most commonly used to recover text from UTF-8 binary; can also decode binary to decimal numbers or hex for low-level inspection.
Binary Decoder
Three decoding modes
- Binary → Text: Decodes UTF-8 text. Most common use.
- Binary → Decimal: Treats the entire binary string as a single number (uses BigInt, handles arbitrary length).
- Binary → Hex: Useful for inspecting raw byte values.
Troubleshooting
If you see "Decoded bytes are not valid UTF-8", your binary represents non-text data. Switch to Binary → Hex to see the raw values.
How to use
- Pick a decoding mode: Binary → Text (most common), Binary → Decimal (treat all binary as one big number), or Binary → Hex (inspect raw bytes).
- Paste your binary code, or use 📁 Open File / drag a
.txtonto the input. - Output appears in real-time. If the text mode fails (UTF-8 error), try Decimal or Hex instead to inspect the values.
- Click Copy to grab the result. Nothing is uploaded — everything happens in your browser.
Frequently Asked Questions
What does it mean to "decode" binary?
Decoding means converting binary 0s and 1s back into their original form — typically readable text via UTF-8, or numeric values via decimal/hex interpretation.
Why does decoded binary sometimes look like garbage?
Garbage output usually means the binary wasn't UTF-8 text in the first place. It could be raw machine instructions, encrypted data, or a different encoding (Latin-1, Shift-JIS, etc.). Use Binary → Hex to inspect the raw bytes.
Can I decode binary numbers like 1010 to decimal?
Yes — use the Decimal → Binary tool in the opposite direction, or use the Binary → Decimal mode here for numeric decoding (not text).