Skip to main content

Binary to Text Converter

Turn binary code back into text

Decodes binary, hexadecimal, decimal bytes or Base64 back into readable text.

Runs in your browser. The file or text you give it is not uploaded. Free, no account.

How it works

You have a block of binary, hex, decimal bytes or Base64 and you need to know what it says. Paste it here. The format is detected for you, or you set it. Bytes are decoded as UTF-8, and any invalid sequence is reported with its position so you can find the fault.

  1. 1

    Paste the encoded data. The format is detected, or you can set it.

  2. 2

    Bytes are decoded as UTF-8. Invalid sequences are reported with their position instead of being shown as garbage.

  3. 3

    The decoded text appears as soon as the input is valid. To go the other way, use the text to binary converter.

What it does not do

  • If the bytes are not text (an image, for example), there is nothing readable to show.

  • The input has to be binary, hexadecimal, decimal bytes or Base64.

When a source is busy or a site does not answer, this tool says so. It never fills the gap with a guess.

Questions

Why does my binary string decode to nonsense characters?

Binary, hex and Base64 are three ways of writing the same bytes, so the tool decodes bytes either way. If the bytes are not text, an image or a compressed file for example, there is nothing readable to show. Check the format setting, and check that the data you pasted is complete.

Why does it report an invalid UTF-8 sequence instead of showing text?

UTF-8 has rules about which byte values may follow which. When a byte breaks those rules, decoding it would give you a wrong character, so the tool reports the position instead. That tells you the data is not valid UTF-8 text, or that your paste lost or gained a byte.

Can it decode a Base64 string into an image?

No. The tool turns bytes into text. A Base64 string that holds an image decodes to image bytes, not to characters, so there is nothing readable to show. Decoding the same string back to Base64 confirms the bytes are intact, but the tool will not render a picture.

This site is not a part of the Facebook website or Meta Platforms, Inc. Additionally, this site is not endorsed by Meta in any way. Facebook and Instagram are trademarks of Meta Platforms, Inc. This site is also not a part of Google LLC and is not endorsed by Google in any way. Google and YouTube are trademarks of Google LLC. Maitreya Labs runs this site and its offers on its own.