Encoding & Decoding

Binary, Octal, Decimal, Hex Text Converter

Convert UTF-8 text to and from binary, octal, decimal, or hexadecimal byte representations, with optional spacing. Useful for inspecting encodings and restoring capture fragments. Conversion stays in the browser.

BinaryEncodingRadix

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Encode text as binary or hex byte strings
  • Restore text from captured byte sequences
  • Compare the same UTF-8 bytes across radices

How to use

  1. Enter text or an encoded byte string
  2. Choose Binary, Octal, Decimal, or Hex
  3. Toggle spacing if needed and copy the result

Example input and output

Text

A

Binary

01000001

FAQ

Can it display image binary files?

No. It converts UTF-8 text and its byte forms. Invalid UTF-8 sequences raise an error.

How does this relate to the dedicated octal and hex tools?

This tool switches among multiple radices. The octal and hex tools focus on a single format and their specific tolerance details.

Tools

Related tools

Continue with another translated tool for a nearby task.

Octal Text Converter

Octal and UTF-8 Text Converter

Available

Convert between UTF-8 text and octal byte sequences, with optional spacing. Useful for legacy encodings, log escapes, and puzzle workflows. Conversion stays in the browser.

Octal Encoding UTF-8

Hex to Text

Hex and Text Converter

Available

Convert between UTF-8 text and hexadecimal bytes. Accepts spaced, 0x, \x, or contiguous hex input with tolerant cleanup. Useful for restoring ASCII payloads from captures.

Encode Hex Data

UTF-8 Byte Viewer

UTF-8 Bytes and Code Point Viewer

Available

Inspect each character’s UTF-8 bytes, hex form, and code points. Useful for debugging emoji, multi-byte CJK, and length-limit issues. Analysis runs locally in the browser.

UTF-8 Bytes Unicode