CloudAlls Tools
Converters tool

Text to Hex, Binary and Decimal

Convert text to hex, binary and decimal bytes, and back.

✦ Browser-first
Why it is useful

About this tool

Convert text to hexadecimal, binary and decimal byte values using UTF-8, or paste bytes in any of those formats and read the text back. Handy for debugging encodings and protocols.

Quick guide

How to use the Text to Hex, Binary and Decimal

  1. Paste text, or choose hex, binary or decimal as the input type.
  2. Read the other representations instantly.
  3. Copy the format you need.

Common uses

  • Debugging encodings
  • Inspecting protocol payloads
  • Learning how text maps to bytes
FAQ

Text to Hex, Binary and Decimal questions

Which text encoding is used?

UTF-8, so non-English characters and emoji use several bytes.

Can I paste hex without spaces?

Yes, pairs of hex digits are split automatically.

Why does decoding say the bytes are not valid UTF-8?

The byte sequence does not form valid UTF-8 text, for example raw binary data.